Re: How do I prevent remote loading of jpegs from my site

From: Date: Sun, 28 Oct 2001 17:43:57 +0000
Subject: Re: How do I prevent remote loading of jpegs from my site
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72628@lists.php.net to get a copy of this message
On Sunday 28 October 2001 10:26 am, you wrote: > So, the question is, how do I prevent this remoting loading from > happening. Well, since the users are linking directly to your image, then you can't use PHP commands to prevent it. (since that would requuire the user loading a PHP page that then loaded the image) However, Apache has features built in that allow you to filter out all calls to a certain directory (such as /images) that don't come from the local machine. Check out the apache docs for more info (httpd.apache.org) hth --kurt

« previous php.general (#72628) next »