Protecting the /inc directory. 01-08-2014, 12:21 AM
#1
This is honestly extremely easy and quick, it can also save you a lot of time and protect your forum.
Create a .htaccess file in /inc/ I use filezilla.
Now add this code to the file and save it.
Now try going to /inc, you should get a 403 error.
POC: http://talkcode.net/inc/
Create a .htaccess file in /inc/ I use filezilla.
Now add this code to the file and save it.
Code:
deny from allNow try going to /inc, you should get a 403 error.
POC: http://talkcode.net/inc/





![[+]](https://sinister.li/images/modern/collapse_collapsed.png)




![[Image: 7yW1UHU.jpg]](http://i.imgur.com/7yW1UHU.jpg)