RE: [PHP] Hiding files away from /public_html/

From: Date: Sat, 10 Jan 2004 00:04:08 +0000
Subject: RE: [PHP] Hiding files away from /public_html/
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174183@lists.php.net to get a copy of this message
Put them in a folder with .htaccess: RewriteEngine onRewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] ReWriteRule .*\.(gif|jpg)$ - [N,F,L] -----Original Message----- From: Philip J. Newman [mailto:NewmanPj@PhilipNZ.com] Sent: Friday, January 09, 2004 3:42 PM To: 'Php-general' Subject: [PHP] Hiding files away from /public_html/ Hi, just wanted to pick someones brain. I want to store some images outside the /public_html/ how ever my isp has decided that i'm not aloud to write files in that area. Would the next best solution that wold be as secure to maybe put them in a folder with a .htaccess file in it? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. info@PhilipNZ.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#174183) next »