.htaccess authentication from a php script to prevent a browser dialog box

Posted by digitalbart on Stack Overflow See other posts from Stack Overflow or by digitalbart
Published on 2010-04-22T21:35:15Z Indexed on 2010/04/22 21:43 UTC
Read the original article Hit count: 153

Filed under:
|
|
|
|

Using php I authenticate a user, then behind the scenes,they are then again authenticated a second time with a single .htaccess username & password. This would be the same for all users, but I would not want them to have to enter a username and password again and they would now be allowed to enter the password protected directory. I prefer not to use http://username@password:somedomain.com.

Any thoughts?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about authentication