.htaccess file
.htaccess file example to use your .htpasswd data to control access to directories:
AuthUserFile /path/.htpasswd AuthGroupFile /dev/null AuthName "Restricted Access" AuthType Basic <Limit GET POST> Require valid-user or Require user UserName </Limit>