Forum Moderators: open
Maybe I should've been a bit more specific.
In other words the only thing that an .htpasswd file can contain is a list of usernames and encrypted passwords e.g.
username1:encryptedpw1
username2:encryptedpw2
username3:encryptedpw3
username3:encryptedpw3
Thanks for clarifying that for me.
I'm glad you have said that, I'm in the middle of writing a php script that will do something similar to what you mentioned and i didn't want it to be a waste of time.
Thanks once again.
Seamless
AuthName "Please enter a password to my site:"
AuthType Basic
Auth_MYSQLdatabase <DB NAME>
Auth_MYSQLpwd_table <USERNAME AND PASSWORD TABLE NAME>
Auth_MYSQLgrp_table <GROUP TABLE NAME>
Auth_MYSQL_nopasswd On
Auth_MYSQLpwd_field <PASSWORD FIELD NAME>
Auth_MYSQLuid_field <USERNAME FIELD NAME>
Auth_MYSQLgrp_field <GROUP FIELD NAME>
Auth_MYSQL_EncryptedPasswords on
order deny,allow
allow from all
require group Group1 Group2 Group3
Any comments on the workability of this? I haven't tested it myself.