brittny85 Posted August 8, 2006 Share Posted August 8, 2006 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 Quote Link to comment Share on other sites More sharing options...
oldmanice Posted August 9, 2006 Share Posted August 9, 2006 Your going to have to modifey your sercirity settings and only allow adimans Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.