Click to See Complete Forum and Search --> : Preventing hotlinking of images


Brollachan
11-03-2005, 05:59 AM
I'm sure I've seen something in the past, but it is there a script to prevent someone hotlinking images (ie. using them on their site whilst the src points to your site)? I'm guessing it would be done via a .htaccess file but haven't a clue how to do so.

Cheers,
:)

Kevey
11-03-2005, 06:17 AM
A good article on this subject is here:
http://www.devpapers.com/article/242

They show you the .htaccess info you need to stop leeching, plus another option that shows you how to configure the file so your server sends an embarassing picture to the leech site, instead of the one they think they're getting. This option won't reduce your bandwidth, but will make them look dumb.

Hope this helps.

Brollachan
11-03-2005, 06:39 AM
Ah excellant, a very useful reference page.