[nycphp-talk] user authentication
Chris Shiflett
shiflett at php.net
Sat Aug 28 23:09:31 EDT 2004
--- Susan Shemin <susan_shemin at yahoo.com> wrote:
> The code I'm trying to implement is via HTTP Authentication, and the
> book talks about configuring the Apache httpd.conf file which I do not
> have access to. (PHP Essentials by Julie C. Meloni)
Ahhh, OK. HTTP Basic Authentication can be done with PHP:
http://www.php.net/manual/en/features.http-auth.php
This is probably the easiest way to implement this, but if you want to
apply HTTP Basic Authentication to an entire directory, you can use a
.htaccess file. Just create a file by this name, and you can put Apache
configuration directives inside (just as if you were editing httpd.conf).
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/
More information about the talk
mailing list