Access Control

The htaccess file is commonly used to protect directories from unwelcome visitors who request a page or a directory that they should not have permission to view, or guess pages to.

AuthName "Secret Area"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from IPRANGE 1
allow from IPRANGE 2
allow from IPRANGE 3
allow from IP ADDRESS
</Limit>