How can I find out who is hotlinking my content?

946 Views Asked by At

I have lots of videos on my website, I am curious to know what websites are hotlinking to it.

I am using cpanel with awstats, I have google analytics too. The server is running Apache.

1

There are 1 best solutions below

8
On

Actually you can check Referer header.

If you want block all requests outside of your domain. Here is example for Apache server.

But this technique has 2 disadvantages:

  1. Very-very easy to send faked Referer header
  2. Some browsers in very rear case may not send Referer header at all

Most common way to prevent content from cross-linking is generate dynamic temporary links with limited session time.