mkdir Test <RETURN>
chmod 755 Test <RETURN>
AuthUserFile /u/fac/rahe/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic
<Limit GET>
require user maury
</Limit>
This allows user maury to access the directory, if he has the password.
chmod 744 .htaccess <RETURN>
htpasswd -c .htpasswd maury <RETURN>
(The -c is only used the first time, to create the file.) It will then ask for the password and a retype of the invisible password. The new user then has access to the the directory.
Try it: the user is sue and the password is sue Password Protected Directory