I have a website which is password protected. The .htaccess looks like this:
AuthType Basic AuthName "Bitte einloggen" AuthUserFile /www/customer/xx