NAME
Apache::AuthenFile - Authentication with a "password" file
SYNOPSIS
# Authentication in .htaccess/httpd.conf
AuthName "User Authentication"
AuthType Basic
# authenticate using a password file
PerlAuthenHandler Apache::AuthenFile
PerlSetVar AuthenFile /some/file
# constraints
require valid-user
# require user larry moe curly
DESCRIPTION
This Perl module allows authentication against a "password" file -- each line in the file consists of a "userid:cipher" where the cipher is a standard Unix crypt of the user's password. The module scans the file sequentially to search for a match.
The AuthenFile parameter specifies the password file that should be searched.
BEWARE
The search of the password file is sequential. Performance is an issue for large password files -- use the AuthenDBMFile method instead.
SEE ALSO
Apache, mod_perl, AuthenDBMFile
AUTHOR
Reg Quinton <reggers@ist.uwaterloo.ca>, 18-Oct-2002.
COPYRIGHT
The Apache::AuthenFile module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.