Apache2-UserDirAuthz

 view release on metacpan or  search on metacpan

debian/control  view on Meta::CPAN

Standards-Version: 3.9.2
Homepage: http://search.cpan.org/dist/Apache2-UserDirAuthz/

Package: libapache2-userdirauthz-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: simple one directory per username access control
 When used as a PerlAuthzHandler with Apache+mod_perl, Apache2::UserdirAuthz
 will perform simple access control, where each user has access to the part of
 the hierarchy named after their username. For example, a user "tom" will have
 access to all locations under /tom/, such as /tom/index.html, /tom/logo.png,
 and so on.

lib/Apache2/UserDirAuthz.pm  view on Meta::CPAN

        Require valid-user
        PerlAuthzHandler Apache2::UserDirAuthz
    </Location>

=head1 DESCRIPTION

When used as a PerlAuthzHandler with Apache+mod_perl, Apache2::UserdirAuthz
will perform simple access control, where each user has access to the
part of the hierarchy named after their username.  For example, a
user "tom" will have access to all locations under C</tom/>, such as
C</tom/index.html>, C</tom/logo.png>, and so on.

If the username contains an @, the part after the @ can be conditionally
stripped off by setting C<userdirrealms> with C<PerlSetVar>.  This is
useful when using with Kerberos, where usernames are of the form
C<user@realm>.  To set realm stripping for multiple realms, separate
with commas, as demonstrated in the SYNOPSIS.

Any requests for paths outside the user's own prefix result in a 401
response (the handler returns C<Apache2::Const::HTTP_UNAUTHORIZED>).



( run in 1.242 second using v1.01-cache-2.11-cpan-df04353d9ac )