mod_auth_basicOverviewmod_auth_basic module enables support of HTTP Basic Authentication to restrict access by looking up users in the given providers. This module should usually be used together with at least one authentication module such as mod_authn_file and one authorization module such as mod_authz_user. Quick startSample mod_basic configuration in .htaccess
Related articles and topics
Enviroment variables
By default mod_auth_basic does not create ASP.NET context user. If you want it to be created, put the following line into the corresponding config:
Directives
AuthBasicAuthoritative
Normally, each authorization module listed in AuthBasicProvider
will attempt to verify the user, and if the user is not found in any provider,
access will be denied with "401 Authorization Required" response.
Setting Syntax
AuthBasicProviderAuthBasicProvider directive sets which provider is used for user authentication. The default provider is mod_authn_file module. Syntax
Default
Example
|