Disable directory listing

Protection Requirement:

OPTIONAL

Skills/Resources:

>Edit system files>Text editor

THE THREAT

Directory listing is on by default on many systems potentially exposing system files to Hackers.

THE OBJECTIVE

Disable directory listing.

PROPOSED SOLUTION

Directory browsing is enabled by default on many systems, which means that a hacker can access directories such as the wp-includes folder, exposing system files, some of which might be vulnerable to being hacked.

Editing .htaccess in the root of your website and you need to add the following single line of code:

Options -Indexes

This will restrict the ability for anyone and everyone from being able to list the contents of your website, making it that much harder to find vulnerable files.

MORE ADVANCED

None

NEED HELP?

If you need help implementing this and other security measures then Virtual Webmaster Services can help. Visit Virtual Webmaster Services