PHP-How to protect hypertext access?(.htaccess)

by barkkathulla 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

1004
like
0
dislike
0
mail
flag

You must LOGIN to add comments