Simon Cozens > Apache-AuthzUnix-0.02 > Apache::AuthzUnix

Download:
Apache-AuthzUnix-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Apache::AuthzUnix - Apache/Apache2 authorization handler for Unix permissions

SYNOPSIS ^

  PerlModule Apache::AuthzUnix;
  <Location ...>
    AuthName auth
    AuthType Basic
    AuthBasicProvider ldap
    PerlAuthzHandler Apache::AuthzUnix::authz
    # Don't need a "requires" line
  </Location>

DESCRIPTION ^

This module was written to provide authorization for DAV access to home directories, but probably has other uses in the UserDir space.

Assuming that Apache has authenticated a user, this module helps to determine whether or not that user can read (or write) a file on the filesystem. It applies standard Unix user and group tests on the file's permissions to determine read access and, in the case of PUT and DELETE methods, write access. If the file does not exist, then the containing directory is tested, as one would expect.

This module is designed work on both mod_perl versions 1 and 2.

AUTHOR ^

Simon Cozens, <simon@simon-cozens.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by Simon Cozens

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: