Something wrong on your site?

by Volker Weber

I just made a small change that prevents people from loading images from this server if they are not contained in pages from my site. So, in case you have used IMG tags to refer to images from vowe.net your page may look all fck'd up now.

Comments

Very interesting! I didn't know that was possible.

It would be great if you shared how you did it, so I can do it too?

Background: Unfortunately, my site is the number 3 listing when you search for Eminem images on Google image search. Lots of kids have thus decided to use my image on their private little homepage. :-)

Stefan Smalla, 2004-01-12

einmal über .htaccess:
http://www.webmasterworld.com/forum10/1809.htm

"SetEnvIf Referer ^$ local
SetEnvIfNoCase Referer ^(http://www\.多ttp://)yourdomain\.com local


order deny,allow
deny from all
allow from env=local
"

und einmal mit PHP etwas komplexer:
http://www.thesitewizard.com/archive/protectimages.shtml

Robert Basic, 2004-01-12

MT comment function deleted above the tags in the .htaccess entry, so once again (replace "[" / "]" with ">" and "<"):

SetEnvIf Referer ^$ local
SetEnvIfNoCase Referer ^(http://www\.多ttp://)yourdomain\.com local
[Files ~ "\.(gif夸pg如ng圭ss夸s)$"]
order deny,allow
deny from all
allow from env=local
[/Files]

Robert Basic, 2004-01-12

and another link:
http://www.trafficklau.de/htaccess.html
(via WFLamme http://www.sns1.de/partner/flamme/wflamme.nsf/ )

Robert Basic, 2004-01-12

Cool, thanks, Robert!

Stefan Smalla, 2004-01-12

Stefan, as well as using the .htaccess method, you can also stop Google image search from displaying your images:

Just put a file called 'robots.txt' in your web server root directory, with these contents:

User-agent: Googlebot-Image
Disallow: /

It works for me!

Peter Marquis-Kyle, 2004-01-13

Peter: Thanks for the tip, but I actually don't want to exclude Google from my images via the robots.txt.

I think it's quite cool that Google indexes my images, and I have no issues with thousands of people coming to my site for it. These people are of no "use" to me of course, but I guess it's kind of nice to be able to give something back. After all, I rely on Google image search for other stuff as well.

I only don't like if people display the images on their own site, but host them on mine.

Stefan Smalla, 2004-01-13

Old vowe.net archive pages

I explain difficult concepts in simple ways. For free, and for money. Clue procurement and bullshit detection.

vowe

Paypal vowe