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:[EMAIL PROTECTED] 
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.
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to