GetSimple Support Forum

Full Version: Protection for the UPLOADS folder?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i would like to offer some downloads which i first upload into the upload folder. Then i create a page and have to put the complete path for download the file that way:
Okay, meanwhile i've tried for my own. Perhaps i got a working solution by script and .htaccess, which should be like this:

Code:
<Files *>
deny from all
</Files>

<Files *.jpg>
allow from all
</Files>

The script operates essentially via HTTP_REFERER.