AuthType Basic AuthName "Restricted Files" AuthUserFile /etc/apache2/user.pwd Require user foo Order deny,allow Deny from all Allow from localhost Satisfy any