faqts : Computers : Internet : Web Servers : Apache : Security

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 28 people (39%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

Can I use server-side code to log in a user without bringing up the login/password popup?

Sep 18th, 2004 20:00
H Thikey, Dave, Dan Wiebell,


It can be easily done with a simple PHP script that checks that the 
entered information is identical with the information in the script.
-----
The question is important as it allows the user, who are already logged 
into the application using say database authentication, to access the 
resources from a certain .htpasswd protected sub-directory. Is there no 
one in the PHP world who can tackle this? Or is the PHP dumb?