Re: image location hiding techniques

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux