Page 1 of 1

Accessing protected folder

Posted: Tue Sep 12, 2006 12:53 am
by vivekjain
Hi,
We have a prtected folder on the server, and would like the users to be able to access the protected folder, on clicking of a link, and without having to enter the username and pwd. I guess its possible using PHP, can anyone please let me know how this can be done?

Thanks

Posted: Tue Sep 12, 2006 1:09 am
by Christopher
I am guessing that you mean that it is protected with HTTP authentication. The manual is of course the place to look for that:

http://www.php.net/manual/en/features.http-auth.php

Re: Accessing protected folder

Posted: Tue Sep 12, 2006 1:41 am
by s.dot
vivekjain wrote:without having to enter the username and pwd
Isn't the point of a protected folder to have it well.... protected? :P

Protected Folder

Posted: Tue Sep 12, 2006 2:39 am
by vivekjain
Yes, it is to have it protected to the general public, but to people whom I want to give access, instead of them entering an username and pwd, would want them to just click on a link and gives them access