httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] how do I prevent sites from hijacking my images?
Date Wed, 06 Nov 2002 03:18:11 GMT

Hi Dale,
I think what you want to do is prevent people from directly linking to the
images files.

All you have to do is check for the referer VARIABLE.

--- Server Level:
If you want to do it on the server level, you will have to use
"mod_rewrite" module and HTTP_REFERER variable. There is a good example @  under the section
titled "Blocked Inline-Images". You will have slightly modify it to match
your file types.

In Peace,
Saqib Ali

"I fear, if I rebel against my Lord, the retribution of an Awful Day (The
Day of Resurrection)" Al-Quran 6:15

               (Embedded image moved to file: pic25547.jpg)

                    stuff"               To:                  
                    <stuff@colony        cc:                                          
                    .net>                Subject:     [users@httpd] how do I prevent sites
from hijacking my images?            
                    No Phone Info                                                        
                    07:06 PM                                                             
                    respond to                                                           


I was just processing my logs and have found that once again some scum are
stealing some images from my site and linking directly to them.

I am running apache 1.3.2x on RH Linux 7.1. I would like to be able to
serve a different image to these scum to get the point across that they
t be stealing my images -kind of like what angelfire and so forth do.

any suggestions?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message