RE: htpasswd security
by "Robert Clendaniel" <robert(at)biznetsys.com>
|
| Date: |
Wed, 7 Jul 2004 15:24:19 -0400 |
| To: |
<hwg-techniques(at)hwg.org> |
| In-Reply-To: |
ksbe |
| |
todo: View
Thread,
Original
|
|
> IIRC, you need to have them in the directory
> that you want password protected. If you put
> it in the root of your site, then I'd think
> it would apply to the whole site ...
Yes, this is how it works on servers I'm familiar with: put an
.htaccess file in any directory and that directory, and all others
under it, are protected. The password file the .htaccess file
refers to can be located anywhere, and for safety's sake, it's best
to put it outside of the web root (i.e., the directory to which the
domain name points).
Robert
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.