View Single Post
Old 2003-09-22, 12:03 AM   #9
RawAlex
Took the hint.
 
Join Date: Mar 2003
Posts: 5,597
Send a message via AIM to RawAlex
Another good way to do passwords is to use auth_MySQL instead of htpass files. This means that your users are in a mysql database (with passwords encoded) - really easy to add or remove users without the whole process of re-writing the htpass file each time. Easy to maintain with simple PHP coding, or by using something like phpMyAdmin.

Coding is very similar in the htaccess file, and you can use the same database for multiple locations (great for allowing user access to multiple pay sites, as an example, or for using the same admin user/password on all your areas, which let's you update it in one shot).

Alex
RawAlex is offline   Reply With Quote