Please wait while we load your page...

PasswordSentry

Latest Version [8.00202403031] Last Updated [Mar-03-2024]

PasswordSentry Highly Recommends NETbilling
Home




Basic Authentication



Basic Authentication is a widely used protocol for simple username/password authentication. For example, when your web browser prompts you for credentials to login for access. This type authentication is typically implemented per .htaccess file (located in the folder that is being password protected). For example:

AuthUserFile /location/of/.htpasswd
AuthName "Members"
AuthType Basic

<limit GET PUT POST>
require valid-user
</limit>


You can store passwords in a MySQL database instead of a file (.htpasswd):

AuthMySQLEnable On
AuthMySQLHost localhost
AuthMySQLUser sqlusername
AuthMySQLPassword sqlpassword
AuthMySQLDB sqldatabasename
AuthMySQLUserTable sqltablename
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLNoPasswd Off
AuthMySQLPwEncryption md5
AuthMySQLAuthoritative On
AuthBasicAuthoritative Off
AuthName "Members"
AuthType Basic

<limit GET PUT POST>
require valid-user
</limit>


We provide a tool, PassProtector, to generate all the necessary codes needed to password protect a directory via .htaccess.
Live Chat Offline