HTTP User Authentication

Browser

Server

Apache setup

Password file

AuthConfig

Sample .htaccess (1)


AuthName "my restricted area"
AuthType Basic
AuthUserFile /home/jan/web_passwds

require valid-user

Sample .htaccess (2)

Limit to certain users

AuthName "my restricted area"
AuthType Basic
AuthUserFile /home/jan/web_passwds

require user jan john bill

Sample .htaccess (3)

Limit to domain

AuthName "my restricted area"
AuthType Basic
AuthUserFile /home/jan/web_passwds

<Limit GET>
oder deny,allow
deny from all
all from .canberra.edu.au
</Limit>

What authorisation isn't


Jan Newmarch (http://jan.newmarch.name)
[email protected]
Last modified: Tue Sep 5 13:26:57 EST 2000
Copyright ©Jan Newmarch
Creative Commons License Copyright © Jan Newmarch under the terms of the Creative Commons Attribution 2.1 Australia License.