• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

How Do I block external links to images - Myspace is hammering my site

T

tobtob

Guest
One of my customers sites is being hammered by MySpace. They have some animal print images that people on MySpace are using as background images and it's using all of their monthly bandwidth in a single day.
How can I block external linking of these images?
Thanks in advance for any help.
--
Tom
 
One quick way is to rename the image files or path and his internal links to those files. His error log may get somewhat bloated, though, and not a permanent solution.
 
There are too many images to rename and changing the directory isn't an option because they are part of a shopping cart program. There has to be a way to do this. I've stated googling around and seeing things about blocking external image links through the use of htaccess and mod_rewrite but I don't fully understand it yet.

Any other suggestions ?
 
Probably the fastest way is to use a .htaccess file..

goggle this: .htaccess block remote linking of files

First hit:
http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft/
 
Back
Top