MyBB Community Forums

Full Version: How do i secure the inc directory?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
According to http://docs.mybb.com/1.8/administration/...-directory
you should protect the inc folder.

Quote:Protect the inc Directory
The inc directory in your MyBB installation should not be accessible to the end user at all. It contains sensitive information such as your database details (inc/config.php). Even though it is almost impossible for hackers to access that data, it's always a good idea to have an extra layer of protection. The inc directory doesn't need to be publicly available, so protect it completely by disallowing access to the inc directory.

However the last link isn't working, so how do i disallow access to the inc directory?