Not sure if this is the right stackexchange site to post this question, but I wanted to know if it is possible to get a list of all websites which are hot linking to images on my website, and how to stop them from hot linking.
I have a redhat server and am using apache.
-
Hmm, try a
link:yoursite.com
search on google, this shows all indexed sites linking to your domain. Maybe there's an API to fetch these results so you can filter by images.From weeheavy -
Yes....
You could start logging mime types and referer (sic) (using mod_log_config, %{Content-Type}i, %{Referer}i) and see which requests don't originate from your site for image content.
There are lots of ways to prevent people from hot-linking - google will list a few. But the easiest is to ensure that the user has a current session - but this requires some smarts on your webserver, and usually that the user allows cookies.
From symcbean -
See http://wiki.apache.org/httpd/RewriteImageTheft
From PP
0 comments:
Post a Comment