Re: Directory level authentication?

From: Date: Wed, 24 May 2000 21:56:01 +0000
Subject: Re: Directory level authentication?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-486@lists.php.net to get a copy of this message
At 08:05 PM 5/24/00 +0000, slp@northcoast.com wrote:
Is there any way to get directory-level authentication with PHP? I've looked all over and I haven't found anything. Is it even possible?
Hello slp, I don't know of any clean, php-only way to do this. If you are running Apache, you could a <Location> directive to force any calls to a specified URI to be passed to a PHP authentication script. Your script could then handle making sure that the right content was passed to the browser if authentication succeeded. Chances are, it would be easier to use your web servers built-in authentication method. HTH, Zak

« previous php.general (#486) next »