mod_auth_anon.c
file and
is compiled in by default. It is only available in Apache 1.1 and
later.
It does access control in a manner similar to anonymous-ftp sites; i.e. have a 'magic' user id 'anonymous' and the email address as a password. These email addresses can be logged.
Combined with other (database) access control methods, this allows for effective user tracking and customization according to a user profile while still keeping the site open for 'unregistered' users. One advantage of using Auth-based user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it is completely browser independent and it allows users to share URLs.
Full description / Example / Compile time options / RevisionHistory / Person to blame / Sourcecode
-
Anonymous < Space separated list >
Please note that the comparison is case-IN-sensitive.
I strongly suggest that the magic username 'anonymous
'
is always one of the allowed userIDs.
Example:
Anonymous: anonymous "Not Registered" 'I don\'t know'
This would allow the user to enter without password verification by using the userId's 'anonymous', 'AnonyMous','Not Registered' and 'I Don't Know'.
-
Anonymous_LogEmail < on | off >
-
Anonymous_VerifyEmail < on | off >
Auth_LogEmail
.
-
Anonymous_NoUserID < on | off >
-
Anonymous_Authoritative < on | off >
Anonymous
directive, access is denied.
Be sure you know what you are doing when you decide to switch it on. And remember that it is the linking order of the modules (in the Configuration / Make file) which details the order in which the Authorization modules are queried.
Anonymous_NoUserId
)
Anonymous_MustGiveEmail
)
Anonymous_VerifyEmail
)
anonymous guest www test welcome
and comparison is not case sensitive.
<directory /web/docs/public>
Anonymous_LogEmail
)
Excerpt of access.conf:
Anonymous anonymous guest www test welcome
Anonymous_MustGiveEmail on
Anonymous_VerifyEmail on
Anonymous_NoUserId off
Anonymous_LogEmail on
AuthName Use 'anonymous' & Email address for guest entry
AuthType basic
<limit get post head>
order deny,allow
allow from all
require valid-user
<limit>
Dirk.vanGulik@jrc.it
>.
Feel free to contact me if you have any problems, ice-creams or bugs. This
documentation, courtesy of Nick Himba,
<himba@cs.utwente.nl>
.
http://www.apache.org
. A snapshot of a development version
usually resides at
http://me-www.jrc.it/~dirkx/mod_auth_anon.c
. Please make sure
that you always quote the version you use when filing a bug report.