SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

libapache2-mod-auth-plain for Debian

USAGE

An example .htaccess file:

-----BEGIN-----
Deny from all
AuthType basic
AuthName "Plain htpasswd"
AuthPlainUserFile .htpasswd
Require valid-user
Satisfy any
-----END-----

Note that AuthPlainUserFile can be relative to the directory which contains .htaccess file.

SECURITY

The .htpasswd file shouldn't be readable by WWW. Be sure you use something like:

<Files ~ "^\.ht">

      Order allow,deny
      Deny from all

</Files>

The passwords are sent by net as clear text. You should use SSL to protect them.

-- Piotr Roszatycki <dexter@debian.org> Thu, 30 Oct 2003 14:49:47 +0100


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.