GetSimple Support Forum
Protection for the UPLOADS folder? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Protection for the UPLOADS folder? (/showthread.php?tid=806)



Protection for the UPLOADS folder? - otto909 - 2010-07-02

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:


Protection for the UPLOADS folder? - otto909 - 2010-07-02

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.