Satisfy any
order allow,deny
allow from all
apt-get install apache2-utils
htpasswd -c /var/www/html/.htpasswd [USER_NAME]
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
AuthUserFile /var/www/html/.htpasswd
# AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow