Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Image Hosting Site that is using Amazon S3 as a main source for bandwith and storage.

I have a few option here to prevent other sources from stealing my bandwith, but I am hoping there are more or other alternatives.

  1. Query String Authentication
  2. Url Rewrite

Are there better ways to prevent thieves from hot-linking to my Amazon S3 files and using it on their site?

share|improve this question

migrated from Oct 6 '12 at 21:08

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

The best way to prevent hot linking is to use new Amazon S3 bucket policy feature. See our blog post on the example of such a policy

share|improve this answer
if you use a IP's as a referrer policy will it DNS query domains against IP? I am thinking of a scenario where you may have many domains and it would be easier to list server IP's. – digitalgnome Dec 23 '11 at 13:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.