- Overview
- Installation & Uninstallation
- Local and remote management using IIS 7
- Context and processing order
- Apache compatibility
- Modules
- core functions
- mod_antibot
- mod_asis
- mod_auth_basic
- mod_auth_digest
- mod_authn_anon
- mod_authn_dbd
- mod_authn_default
- mod_authn_file
- mod_authz_default
- mod_authz_groupfile
- mod_authz_host
- mod_authz_user
- mod_cache
- mod_dbd
- mod_deflate
- mod_developer
- mod_dir
- mod_disk_cache
- mod_env
- mod_evasive
- mod_expires
- mod_filter
- mod_gzip
- mod_headers
- mod_hotlink
- mod_linkfreeze
- mod_log_config
- mod_logio
- mod_mem_cache
- mod_mime
- mod_proxy
- mod_replace
- mod_rewrite
- mod_seo
- mod_setenvif
- mod_so
- mod_speling
- mod_usertrack
- mod_xsendfile
- Articles
- Release history
- Troubleshooting
- License agreement
mod_authn_anon
overview
mod_authn_anon
module allows user to be authenticated with
userID
anonymous
and a password being his email address. Email addresses
may be logged.
Quick start
Sample configuration to enable anonymous authentication for valid users with email verification and logging turned on:
AuthType Basic
AuthName anonymous-area
AuthBasicProvider anon
Require valid-user
Anonymous john
Anonymous_LogEmail On
Anonymous_MustGiveEmail On
Anonymous_NoUserID Off
Anonymous_VerifyEmail On
Related articles and topics
- HTTP Authentication and Authorization
- Enabling site authentication not using Windows users
- mod_auth_digest
- mod_auth_digest
- mod_authn_dbd
- mod_authn_file
- mod_authz_groupfile
- mod_authz_host
- mod_authz_user
Directives
Name | Context | Description |
---|---|---|
Anonymous | S V D .h | specifies userIDs that are allowed access without password verification |
Anonymous_LogEmail | S V D .h | sets whether the password entered will be logged in the error log |
Anonymous_MustGiveEmail | S V D .h | specifies whether blank passwords are allowed |
Anonymous_NoUserID | S V D .h | specifies whether the userID field may be empty |
Anonymous_VerifyEmail | S V D .h | specifies whether to check the password field for a correctly formatted email address |
Anonymous
Anonymous
directive allows to specify the list of one or
more userIDs which are allowed access without password verification. The userIDs
are space separated. It is allowed to use single or double quotation marks to
enter userIDs with spaces.
It's recommended that
anonymous
is always one of allowed userIDs.
It is also possible to specify the userID as " * ". This will allow any userID to be accepted.
Syntax
Anonymous user [user] [...]
Note! Comparison is case insensitive.
Example
Anonymous anonymous "Not Registered" "Whatever"
Anonymous_LogEmail
When
Anonymous_LogEmail
is set to
On
,
the 'password' entered (which is normally an email address) is logged into the error log.
Syntax
Anonymous_LogEmail On|Off
Default
Anonymous_LogEmail On
Anonymous_MustGiveEmail
Anonymous_MustGiveEmail
directive indicates whether the user
must specify an email address as a password. This directive allows to prohibit
blank passwords.
Syntax
Anonymous_MustGiveEmail On|Off
Default
Anonymous_MustGiveEmail On
Anonymous_NoUserID
When
Anonymous_NoUserID
is
On
, users may leave userID field empty.
Syntax
Anonymous_NoUserID On|Off
Default
Anonymous_NoUserID Off
Anonymous_VerifyEmail
When
Anonymous_VerifyEmail
is
On
,
entered 'password' is verified for presence of at least one '@' and a '.' to
prevent invalid email addresses.
Syntax
Anonymous_VerifyEmail On|Off
Default
Anonymous_VerifyEmail Off