『Basic認証 or IPアドレス制限』どちらかがOKならば認証を通するには
AuthUserFile /home/hogehoge/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
Satisfy any
order deny,allow
allow from 123.456.789.123
deny from all
Apache .htaccess で Basic認証 or IPアドレス制限