You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/10/24 08:32:56 UTC
interesting mod_auth, mod_auth_dbm differences
I was just comparing mod_auth:check_user_access and
mod_auth_dbm:dbm_check_auth.
mod_auth doesn't handle it's authoritative setting correctly if there is a
"require group" setting and it can't open its group file. It will let
things continue on. This is a security problem.
mod_auth_dbm does a lot of needless reopening and reading of the group
file if there are multiple groups.
There are other tiny differences.
Naturally the correct solution is beyond the scope of 1.3. The correct
solution is to abstract the database lookup and have a single auth module
and multiple db modules.
Dean