Protect folder via .htaccess

Sometimes you want to protect a certain folder from being accessed via Apache. You can achieve this with the following entries in your .htaccess file:

Calls via shell are possible anyway.

2 thoughts on “Protect folder via .htaccess

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.