Protecting my plugin from entry? (2 posts)

  1. matthewordie
    Posted 3 years ago #

    What can I do to protect my plugin folder? If I go to the directory via the browser I can see all my files right there. I know I could add a blank index.html file but that doesn't seem like enough. Any better suggestions?

    Is there any snippet of code I could put in my plugin files to make sure they aren't accessible without the user being logged in or viewing on the site?


  2. MickeyRoush
    Posted 3 years ago #

    At the top of your .htaccess file in the root of your theme and the following:

    Options -Indexes

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.