mod_authn_fileOverviewmod_authn_file module provides user authentication by searching their credentials in plain text file. Quick startSample mod_auth_basic & mod_authn_file configuration in .htaccess
Related articles and topics
Directives
AuthUserFile
Syntax
Example
Each line of password file contains a username, colon and encrypted user password.
If the same username occurs several times, Passwords can be easily generated directly from the Helicon Ape Manager. Having opened
the Manager, create new file ( To apply this module to, for example, mod_auth_basic
or mod_auth_digest, it should
be defined in AuthBasicProvider
or AuthDigestProvider
respectively with That is the most usable authentication method as it is the simplest. Moreover, the password file may be edited manually. The shortcoming of this method is that it becomes very sluggish when the number of users grows up. Security note! Don't locate passwords file inside the directory that it protects and inside web-server document tree. Otherwise, clients will have a chance to download it. |