Support » Plugin: Wordfence Security - Firewall & Malware Scan » Prevent directory browing setting?

  • I, for some reason, thought that Wordfence had the feature to disable directory browsing to prevent users from viewing files and folders (wp-content, wp-includes, etc, etc). Is this not a feature and best done via .htaccess?

Viewing 1 replies (of 1 total)
  • Plugin Support wfphil

    (@wfphil)

    Hello,

    You will notice that the wp-content directory already contains a very small index.php file that prevents browsing of the directory.

    If WordPress felt that it was necessary to have the same file for the wp-includes directory then they would have done so.

    You may find the WordPress article from the codex useful for more background information:

    Hardening WordPress

Viewing 1 replies (of 1 total)
  • The topic ‘Prevent directory browing setting?’ is closed to new replies.