Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8265479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:49:08+00:00 2026-06-08T04:49:08+00:00

Is there a way to find out if anyone is calling the image located

  • 0

Is there a way to find out if anyone is calling the 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:49:10+00:00Added an answer on June 8, 2026 at 4:49 am

    Sure there are methods, some which can be trusted a little more than others.


    Using Referer-Header

    There is a HTTP-Header named Referer which most often contain a string representing the URL which a user visited to get access to the current request.

    You can see it as a “I came from here”-header.

    If it was guaranteed to always exists it would be a piece of cake to prevent people from leeching your bandwitdh, though since this is not the case it’s pretty much a gamble to just rely on this value (which might not exists at times).


    Using Cookies

    Another way of telling whether a user is a true visitor on your website is to use cookies, a user that hasn’t got a cookie and tries to get access to a specific resource (such as an image) could get a message saying “sorry, only real visitors of example.com get access to this image”.

    Too bad that nothing states that a client is forced to implement and handle cookies.


    Using links with a set expiration time [RECOMMENDED]

    This is probably the safest option, though it’s the hardest to implement.

    Using links that is only valid for N hours will make it impossible to leech your bandwidth without going into trouble of implementing some sort of crawler which regularly crawls your site and returns the current access token required to get access to a resource (such as an image).

    When a user visits the site a token generated N hours is applied to all resources available is appended to their path sent back to the visitor. This token is mandatory and only valid for N hours.

    If the user tries to access an image with an invalid/non-existent token you could send back either 404 or 401 as HTTP status code (preferably the later since it’s a Forbidden request).

    There are however some quirks worth mentioning:

    • Crawlers from *search-engine*s might not visit the whole site at a given moment inside the N hours, make sure that they can access the whole content of your site. Identify them by using the value of header User-Agent.

    • Don’t be tempted to lower the lifespan of your token to less than any reasonable time, remember that some users are on slow connections and that having a token of 5 seconds might sound cool – but real users can get flagged erroneously.

    • never put a token on a resource that people should be able to find from external point (search engines for one), such as the page containing the images you wish to protect.

      If you do this by accident you will mostly harm the reputation of your site.


    Additional thoughts…

    Please remember that any method implemented to make it impossible
    for leechers to hotlink your resources never should result in true
    visitors being flagged for bandwidth leech. You probably want to ease
    up on the restriction rather than making it stronger.

    I rather have 10 normal visitors and 2 leechers than no leechers but
    only 5 normal users (because I accidentally flagged 5 of the real
    visitors as leechers without thinking too much).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone please tell me if there is any way we can find out
Is there a way to find out when in a LAN anyone plugs in
Is there another way to find out the status of services on AppEngine other
Is there a way to find out which Javascript function is fired by click
Is there a way to find out programmatically what TestCategory is running in a
Is there any way to find out or store which app is accessing an
Is there a way to find out where a Python object was instantiated the
Is there a way to find out if a light is enabled in GLSL
Is there any way to find out diagonals of quadrilateral if I only know
Is there some way to find out when the text gets wrapped (WordWrap) inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.