Tell me, if someone connects directly to my HTTP resources?

Is there any way to find out if anyone is invoking an image located on my website directly on their website?

I have a website and I just want to make sure no one is using my bandwidth.

+5
source share
1 answer

Of course, there are methods, some of which can be trusted a little more than others.


Using the Referer-Header Header

There is an HTTP header with a name Refererthat most often contains a string representing the URL that the user visited in order to access the current request.

You can see it as "I came from here" - the head.

, , , , , , , ( ).


cookie

, , , , cookie (, ), ", example.com ".

, , cookie.


[]

, , , .

, N , , - , , (, ).

, , N , , , . N .

/ , 404 401 HTTP ( , ).

, :

  • * search-engine * s N , , . , User-Agent.

  • , , , 5 - .

  • , ( ), , , .

    , .


...

, , , , leechers hotlink . , , .

, , 10 2 , , 5 ( 5 , ).

+3

All Articles