I’m stumped! I’m hoping that someone can help on this one.
I am trying to find a way to know what website has called an image from our server. For instance if website A placed an image from my server on a page, what is the url of that page?
I know that you can use ASP ServerVariables(“HTTP_REFERER”) as one method but I also know that this is unreliable as header information can be spoofed and if the image is called from a secure page (HTTPS) then there is no HTTP_REFERER information sent in the headers.
I know that there must be a way to do this but I don’t know what this is.
If what you’re doing is trying to prevent other sites from stealing your bandwidth by using images that you host, then there’s lots of scripts out there that you can copy from. Just look up “hotlinking” in Google and you’ll see lots of examples.