You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew <an...@aaaaaaaa.demon.co.uk> on 1996/03/07 16:30:07 UTC

Re: [Fwd: "Satisfy" directory protection]

> Hmmmm... if I understand what "satisfy" does correctly, it could
> be handled by modifying the code in http_request.c which invokes
> the auth and access control checks, to allow successful completion
> of *either* phase to allow the request to proceed, rather than
> requiring both (conditionally on a new core per-directory config
> field, of course).  As Mark has pointed out, it cannot be done
> in a module.

Mmm, I think it can.  However it'd require two modules to share
information on the success/failure of phases of the request.

A rethink of 'access' and 'authentication' modules, which combines
their gate-keeper faculties into a single module (with sub-modules
to implement authentication in a chosen way, flatfile/dbm/sql)
might be the way to go.  But then that *is* just like hacking the
core.

> rst

Ay.