View Single Post
Re: Prevent hotlinking
Old 11-27-2006, 04:20 PM   #3 (permalink)
dynamike
Biker by the Grace of God

 
dynamike's Avatar
 
Join Date: Nov 2002
Member GG#: 35237
Location: St Marys
Posts: 1,578
Comments: 0

dynamike is offline IP: 69.21.92.10
  Reply With Quote

Quote:
Originally Posted by R_Fredrick_Smith View Post
Yes, I've used one or more of these techniques for many years. I'm sure you already know that the last line you use costs you 7k of bandwidth each time an attempt is made to display one of the hotlinked images.

But for others, if you do have a substitute image, the bandwidth to display it comes from your bandwidth. So keep the graphic as small as possible in file size.

If using a Gif as in this example, then reduce the colors. For example the brain bucket graphic can be reduced by 3K just by changing the Gif setting to 4 colors.

Cheers,
rfs
Thanks for the heads up. However, anything less than the size I have it right now gives me undesirable results.

Just so everyone else knows, you can make your .htaccess file prevent certain sites from hotlinking your images, however, I prefer to allow certain sites instead. The example I have works wonders for me. It prevents lots of bandwidth theft and what bandwidth I do use in the replacement image is worth it when someone types in my URL into their browser.

Mike
__________________
  View Public Profile Send a private message to dynamike Visit dynamike's homepage! Find More Posts by dynamike