Re: image location hiding techniques
| From: | David Dorward | Date: | Wed, 08 Feb 2006 08:16:33 +0000 |
| Subject: | Re: image location hiding techniques | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230070@lists.php.net to get a copy of this message | ||
hbeaumont hbeaumont wrote:
> I have a site with images that I want people to download but not have
> the direct path to. ie. I do not want them to be able to just view the
> source, find the dir and then download everything or direct link to
> them.
Turn off directory indexes or put an index.html file in there.
Use mod_rewrite to reject requests from referers starting with http but not
being your site.
> P.S. I also realize I could use .htaccess to stop direct linking and
> turn off directory indexes. Still I think there might be some other
> problems with .htaccess
Problems like what?
--
David Dorward <http://blog.dorward.me.uk/>
<http://dorward.me.uk/>
Home is where the ~/.bashrc is