<Files .htaccess>
order allow,deny
deny from all
</Files>

<Limit GET>
    Order Deny,Allow
    Deny from all
    Allow from 999.999 **** (enter your ISP's address space to limit access to this directory)
</Limit>

SSLRequireSSL
AuthUserFile /full/path/to/your/<username>/auth/.htpasswd/.htpasswd
AuthGroupFile /full/path/to/your/<username>/auth/.htgroups/.htgroups
AuthName "Password Protected Area"
AuthType Basic
Require group MyAdmins
ErrorDocument 403 https://mydomain.com/gpg/index.php 


<limit GET POST>
require valid-user
</limit>



