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://pandonia.canberra.edu.au)
jan@ise.canberra.edu.au
Last modified: Tue Sep 5 13:26:57 EST 2000
Copyright ©Jan Newmarch