Jump to content

Archived

This topic is now archived and is closed to further replies.

brittny85

password protection and MySQL

Recommended Posts

I'm working on a website that I have set up a membership system for.  Right now all of my membership system is set up in PHP & MySQL and works beautifully.  However, I'm working on setting up a new directory which is going to contain documents that aren't .php (they'll mostly be .txt, .doc etc.).  I only want system admins be able to get to this directory, but I can't verify logins the same way I have up until now.  Is there a way that I can make it so that if someone is logged in as an admin they can have access to this directory, but they can't access it otherwise?  I found some things about .htaccess and .htpasswd but I couldn't figure out if I could make that work with the system I had without having to resort to having multiple passwords to get to this part of the site.

Thanks!
-Brittny

Share this post


Link to post
Share on other sites
Your going to have to modifey your sercirity settings and only allow adimans

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.