I am trying to protect a folder with an htaccess file which pulls the username and passwords out of a db but I cant get it to work Can someone have a look at the code below from the htaccess file. TIA george AuthName "Admins Only" AuthType Basic require valid-user Auth_MySQL_Host Auth_MySQL_DB Auth_MySQL_Password_Table users Auth_MySQL_Username_Field user Auth_MySQL_Password_Field password Auth_MySQL_Empty_Passwords off Auth_MySQL_Encryption_Types MySQ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]