PDA

View Full Version : HTTP Authentication (htaccess + htpasswd)


alexillsley
16th February 2007, 22:11
Hi,
Is there anyway to use HTTP Authentication (htaccess + htpasswd) with MD5encrypted passwords?
Thanks,
Alex

falko
17th February 2007, 19:03
Take a look at man htpasswd:
htpasswd encrypts passwords using either a version of MD5 modified for
Apache, the system's crypt(3) routine (the default), or SHA encryption.
Files managed by htpasswd may contain all types of passwords e.g. some
user records may have MD5-encrypted passwords while others in the same
file have passwords encrypted with crypt(3).

alexillsley
18th February 2007, 11:38
I added an MD5 password to my htpasswd apears not work:confused:

Any ideas?

am i suppose to change the AuthTYPE from basic to md5 or something:confused: