]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
as announced and with no objections:
authorAndre Malo <nd@apache.org>
Wed, 15 Jan 2003 22:08:54 +0000 (22:08 +0000)
committerAndre Malo <nd@apache.org>
Wed, 15 Jan 2003 22:08:54 +0000 (22:08 +0000)
commit983db3286fb6f0e1e53ca7feca990de4bdcc648d
tree04fbd7240e121a0c029c6fec995a6cd35ef4a77c
parented2941cd90dc7a4e35a6360f919e9ab507b9e156
as announced and with no objections:
mod_authz_owner: forward port of require file-owner/file-group functionality

The goal of the module is to do all the neccessary file system work to
figure out username and groupname. "Require file-owner" is completely
resolved within the module. "file-group" is only determined there and the
groupname will be extracted from the stat call and stored within the
r->notes. Done that, the module will decline, so that the group database
modules (mod_authz_groupfile, mod_authz_dbm) can verify the groupname with
their lists.
Thus every group module that supports the file-group requirement must be
hooked after mod_authz_owner. They have to recognize "file-group" and read
the groupname from r->notes. (If there's no name stored, the modules should
ignore the file-group requirement). The backstopper module will do its work
in worst case.

not solved yet:
- the module doesn't work as one could expect if the file doesn't exist in
  the first request round (consider MultiViews) (the 1.3 version has the
  same problem). I played around with some subrequest techniques, but got
  no helpful result. Is there any magic to recognize the actual resulting
  filename (if there is)?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98281 13f79535-47bb-0310-9956-ffa450edef68
modules/aaa/config.m4
modules/aaa/mod_auth.h
modules/aaa/mod_authz_owner.c [new file with mode: 0644]