Please wait while we load your page...
 

Announcements

Dictionary :: Definition :: Basic Authentication

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z





Results 1 to 1 of 1

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.

Last Revised: 2015-07-01

Live Chat Not Available