Re: Preventing Image Bandwidth Theft



Med schreef:
Hi,

Is there a way to detect in asp.net if images are hot-linked from another websites? I intend to create a default image and serve that image instead of the image requested from another website?

I can think of following techniques (but they're not 100% reliable)

- Check if a HTTP_REFERER header exists, and if it's value is an URL in your website.

- Check if a cookie is present (the cookie should be generated on all the pages in your website).


--
Tim Van Wassenhove <url:http://www.timvw.be/>
.