hi,
ich bin sicher, diese frage kann dir google viel detaillierter beantworten als ich.
z.B.:
http://webdesign.about.com/gi/dynami...q%2Faccess.htm
HTAccess allows password protection on HTML files and server directories. It prompts the browser to enter a password to access any file that has a .htaccess file in its directory.
To use this, you must first create the .htaccess file in the directory that you want to protect. To create the password file, you must use the file /web/support/htpasswd. The NCSA Instructions explain how to set up HTAccess in detail.
die datei kann tatsächlich ".htaccess" heißen - jeder andere name ist jedoch ebenfalls erlaubt.
der "." am anfang kennzeichnet unter linux hidden files.
siehe auch:
http://www.trash.net/faq/htaccess.shtml
fg
-hannes