Apache HTTP Server Version 2.4
Description: | Allows "anonymous" user access to authenticated areas |
---|---|
Status: | Extension |
Module Identifier: | authn_anon_module |
Source File: | mod_authn_anon.c |
Compatibility: | Available in Apache 2.1 and later |
This module provides authentication front-ends such as
mod_auth_basic
to authenticate users 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.
When using mod_auth_basic
, this module is invoked
via the AuthBasicProvider
directive with the anon
value.
The example below is combined with "normal" htpasswd-file based authentication and allows users in additionally as 'guests' with the following properties:
Anonymous_NoUserID
)Anonymous_MustGiveEmail
)Anonymous_VerifyEmail
)anonymous guest www test
welcome
and comparison is not case
sensitive. (Anonymous
)Anonymous_LogEmail
)<Directory "/var/www/html/private"> AuthName "Use 'anonymous' & Email address for guest entry" AuthType Basic AuthBasicProvider file anon AuthUserFile "/path/to/your/.htpasswd" Anonymous_NoUserID off Anonymous_MustGiveEmail on Anonymous_VerifyEmail on Anonymous_LogEmail on Anonymous anonymous guest www test welcome Require valid-user </Directory>
Description: | Specifies userIDs that are allowed access without password verification |
---|---|
Syntax: | Anonymous user [user] ... |