PHP-How to protect hypertext access?(.htaccess)
by barkkathulla[ Edit ] 2014-01-04 18:24:58
Place the below code in your .htaccess file
#Strong htaccess protection
<Files ~ "^.*.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</Files>
The above code will prevent access through any of the following requests:
1.htaccess
2.HTACCESS
3..hTaCcEsS
4.testFILE.htaccess
5.filename.HTACCESS
6.FILEROOT.hTaCcEsS