Forum Moderators: phranque

Message Too Old, No Replies

how do i make the htpasswd non-case sensitive?

login help

         

slygrrl22

7:44 pm on Jun 23, 2004 (gmt 0)

10+ Year Member



Id like to make the login so that the username & password are NOT case sensitive. Can anyone help me with this?

jdMorgan

2:15 pm on Jun 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



slygrrl22,

Welcome to WebmasterWorld [webmasterworld.com]!

Using Apache basic authorization, I'm afraid you can't make it case-insensitive. Apache mod_auth is intentionally case-sensitive, because treating usernames and passwords as case-insensitive makes systems much easier to hack into using a dictionary attack or sequential-guessing approach.

If you really want to use case-insensitive passwords, I think you'll need to write or buy a custom script to handle your authorization.

Jim

slygrrl22

9:38 pm on Jun 24, 2004 (gmt 0)

10+ Year Member



i heard that there is a PHP code to get around this problem. would you be able to tell me / or show me where i can read more about it?

jdMorgan

11:40 pm on Jun 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, try over in our PHP forum [webmasterworld.com] for PHP-specific recommendations.

Jim

slygrrl22

12:43 am on Jun 25, 2004 (gmt 0)

10+ Year Member



K THANKS!