Htaccess File

jordyvl/jordyvl.github.io/master/backup-dir/secure/.htaccess

GET, POST
AuthUserFile /secure/.htpasswd
 AuthGroupFile /dev/null
 AuthName "Password Required"
 AuthType Basic
 <Limit GET POST>
 require valid-user
 </Limit> 
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
Options Indexes
AuthUserFile /secure/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user 
ErrorDocument 403 /403.html
order deny,allow
Exit mobile version