Authentication
| From: | Sergey Zorchenko | Date: | Fri, 19 Oct 2001 14:02:08 +0000 |
| Subject: | Authentication | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13538@lists.php.net to get a copy of this message | ||
Hi all.
I'm trying to find a way to use apache authentication trough php/mysql.
I mean that users/passwords need will be stored in mysql database but Apache
will athomatically request authentication for any access to protected folder
_and its subfolders_.
For not to make something like "access.php" that will send "HTTP/1.0 401
Unauthorized" header and check login/pass.. This method requires include of
"access.php" to _all_ scripts in _all_ subdirectiries, that doesn't look
"fine" :).
Can anyone give me an idea?