Jump to content


password protection and MySQL

  • Please log in to reply
1 reply to this topic

#1 brittny85

  • Members
  • PipPip
  • Member
  • 23 posts
  • LocationUtah

Posted 08 August 2006 - 10:43 PM

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.


#2 oldmanice

  • Members
  • PipPipPip
  • Advanced Member
  • 134 posts
  • LocationIn Your Garden At Night

Posted 09 August 2006 - 06:28 PM

Your going to have to modifey your sercirity settings and only allow adimans
Join my Froums www.phpbbplanet.com/darkwinter

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users