To restrict access to a directory DIR lying in your webspace ~/public_html, you will
need to create a short file .htaccess, one in each DIR you wish
to restrict access to. The contents of .htaccess should be
AuthUserFile ~/.htpasswd
AuthName "...private web site..."
AuthType Basic
require user