Friday, 15 August 2014

javascript - Advanced image hotlinking protection -


I want to preserve some advanced hotlinking for images on my site. And I want to suffer the thieves so that I want any user to go to the thieves site who is trying to heat my image to upload my site again.

Assuming that I have an image on the imagedomain thief takes my image and on stealerdomain.net it simply puts

    & lt; Img src = 'http: //imagedomain.com/harmless.png'>  

And that's stolen my image. I know how to prevent it from happening, I already have the HTXus code which prevents images from being hotlinked:

  Rewrite% {HTTP_REFERER}! ^ $ Rewrite% {HTTP_REFERER}! ^ Http (s)? : //imagedomain.com [NC] Rewritable. (Jpg | jpeg | png | gif) $ http://imagedomain.com [NC, R, L]  

This good code prevents thieves from displaying my images on my site It's good but I really want that when some thieves along with src to point to my image so if anyone & lt; IMG through your browser & gt; Tags will be redirected to my site (as a penalty for me who should not receive traffic for the content of that image, not a thief).

Is anyone to do this?


No comments:

Post a Comment