### password protection for a specific domain name: AuthName "Staff Only" AuthType Basic AuthUserFile /home/example/www/.htpasswd Require valid-user ### if you want to allow a specific folder to be public, put these two lines (uncommented) in a .htaccess file at folder's root: #Allow from all #Satisfy any