Limiting access to (some) files in uploads dir


All you need to do is add a .htaccess file with the following content in your uploads dir:

If you want to limit just any file from being accessed from anyone, just use “./*” instead of the regular expression.

Spread the love
,

Leave a Reply

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