Apache-AuthenPasswd
view release on metacpan or search on metacpan
AuthenPasswd.pm view on Meta::CPAN
apache:
http://mod-auth-shadow.sourceforge.net/
*********************************************
This perl module is designed to work with mod_perl. It is a direct
adaptation (i.e. I modified the code) of Michael Parker's
(B<parker@austx.tandem.com>) Apache::AuthenSmb module.
The module uses getpwnam to retrieve the B<passwd> entry from the
B</etc/passwd> file, using the supplied username as the search key. It
then uses B<crypt()> to verify that the supplied password matches the
retrieved hashed password.
= head2 Apache::AuthenPasswd vs. Apache::AuthzPasswd
I've taken "authentication" to be meaningful only in terms of a user and
password combination, not group membership. This means that you can use
Apache::AuthenPasswd with the B<require user> and B<require valid-user>
directives. In the /etc/passwd and /etc/group context I consider B<require
group> to be an "authorization" concern. I.e., group authorization
consists of establishing whether the already authenticated user is a member
DESCRIPTION
This perl module is designed to work with mod_perl and the
Net::NIS module by Rik Haris (rik.harris@fulcrum.com.au).
It is a direct adaptation (i.e. I modified the code) of
Michael Parker's (parker@austx.tandem.com) Apache::AuthenSmb
module.
The module uses getpwnam to retrieve the passwd entry from
the /etc/passwd file, using the supplied username as the
search key. It then uses crypt() to verify that the
supplied password matches the retrieved hashed password.
Apache::AuthenPasswdApache::AuthzPasswd
I've taken "authentication" to be meaningful only in terms
of a user and password combination, not group membership.
This means that you can use Apache::AuthenPasswd with the
require user and require valid-user directives. In the
/etc/passwd and /etc/group context I consider require group
to be an "authorization" concern. I.e., group authorization
( run in 0.439 second using v1.01-cache-2.11-cpan-5467b0d2c73 )