« My Windows Virtual Machine is Off by an Hour | Main | The RIAA and the Art of Not Getting It »

Foiling Graphics Leeching

My I Remember JFK site has lots of small graphical images on it which many folks love linking to to display on their own sites.

The problem is that what they are doing is costing me bandwidth.

I have a stated policy on the site that individuals can copy a graphic and use it on their site as long as they give irememberjfk.com credit.

But unfortunately, many choose instead to simply link directly to the image.

The powerful .htaccess file will put a stop to it. I'm listing mine here, for the benefit of any others who might have the same problem. Read on.

My own .htaccess file:

Options FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogamos\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?baseball\-fever\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?wikispaces\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?uncoverreality\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?freerepublic\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?redandwhitekop\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?frugalsquirrels\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?humaniplex\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?nynjsurf\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ebay\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?cpturbo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?absolutewritee\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?advrider\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?scout\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?wordpress\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?catholic\-convert\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?rivals\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} forum [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?sportsgi\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png|jpg)$ /graphics/visitme.jpe [L]

Note that NC makes things case insensitive, and OR must follow every site entry but the last one.

I add domains as they appear on my logs. Myspace.com is the worst. Note that I also eliminate any site that uses the term 'forum' in its url.

Some victims have gotten quite nasty about this. They might display a graphic that says "Stolen from mydomain.com" or the like.

Not me. I just serve up this friendly little blurb. So if you spot this on the web anywhere, know that yet another leech has been foiled! :-D

TrackBack

TrackBack URL for this entry:
http://www.baldguyweb.com/mt/mt-tb.cgi/687

Post a comment


Get emailed notifications of new articles!
NOTE: I will not sell any email addresses I receive, and will not send any unsolicited emails, either. If you sign up for new article notifications, that is ALL you will receive, and you can cancel at any time. You have my word.
--Ron Enderland

Enter your email address:

About

This page contains a single entry from the blog posted on April 4, 2009 8:17 AM.

The previous post in this blog was My Windows Virtual Machine is Off by an Hour.

The next post in this blog is The RIAA and the Art of Not Getting It.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 4.261