View Full Version : htaccess passwords

07-12-2007, 08:23 PM
Anyone know a php form I can use to manage .htaccess user names?

UserNamer :______________
Old Password:_______________
New Password:_______________
New Password:_______________

Ok Cancel

07-12-2007, 08:44 PM
This is a tricky issue, because having a PHP script that can
alter .htaccess creates a whole new set of security issues.

Not knowing exactly what you're goal is, I can only suggest that
you look into a MySQL type of membership script and use sessions
instead of .htaccess

07-18-2007, 04:05 PM
I just have a little intranet setup wherby people can access different reports and information, based on there login htaccess that allows them access to these different web directories.

Or is it possible to synchronize htaccess passwords with the normal linux system user database?
I guess this is turning more into an htaccess post than a PHP one if you can reset passwords.

07-18-2007, 04:30 PM
You might find something here:


There are some examples of using PHP to alter .htaccess