mod_authn_anon

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.

 

mod_authn_anon directives

Anonymous

Description: Specifies userIDs that are allowed access without password verification
Syntax: Anonymous user [user] ...
Context: directory, .htaccess
Module: mod_authn_anon

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.

Note! Comparison is case insensitive.

It's strongly recommended that 'anonymous' is always one of allowed userIDs.

Example:

Anonymous anonymous "Not Registered" "Whatever" 

It is also possible to specify the userID as "*". This will allow any userID to be accepted.

Anonymous_LogEmail

Description: Sets whether the password entered will be logged in the error lo
Syntax: Anonymous_LogEmail On|Off
Default: Anonymous_LogEmail On
Context: directory, .htaccess
Module: mod_authn_anon

When Anonymous_LogEmail is set to on, the 'password' entered (which is normally an email address) is logged into the error log.

Anonymous_MustGiveEmail

Description: Specifies whether blank passwords are allowed
Syntax: Anonymous_MustGiveEmail On|Off
Default: Anonymous_MustGiveEmail On
Context: directory, .htaccess
Module: mod_authn_anon

Anonymous_MustGiveEmail directive indicates whether the user must specify an email address as a password. This directive allows to prohibit blank passwords.

Anonymous_NoUserID

Description: Sets whether the userID field may be empty
Syntax: Anonymous_NoUserID On|Off
Default: Anonymous_NoUserID Off
Context: directory, .htaccess
Module: mod_authn_anon

When Anonymous_NoUserID is on, users may leave userID field empty.

Anonymous_VerifyEmail

Description: Sets whether to check the password field for a correctly formatted email address
Syntax: Anonymous_VerifyEmail On|Off
Default: Anonymous_VerifyEmail Off
Context: directory, .htaccess
Module: mod_authn_anon

When Anonymous_VerifyEmail is on, entered 'password' is verified for presence of at least one '@' and a '.' to prevent invalid email addresses.