Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 uploaded an image to Amazon S3 storage. But how can I access this image by url? I have made the folder and file public but still get AccessDenied error if try to access it by url

share|improve this question
up vote 2 down vote accepted

S3 usually 'just works' - upload the file, set the permissions, and visit the URL. If it doesn't (and their service is functioning) the problem is usually either the wrong URL or the browser cache.

  1. Clear your browser cache and reload your pages using ctrl+F5 or ctrl+shift+R
  2. Verify the permissions (e.g. use a program (CloudBerry Explorer, Cloudbuddy, etc) or using the AWS Console)
  3. Try the alternate form of the path: https://<bucket>
  4. Try clicking the link directly from the AWS console; using 'open' the link includes your access keys, and will bypass the ACL settings - don't use that link for anything public, but ensure it works.

I would really suggest using a program (such as those above) and copying and pasting the URL for your tests - it greatly reduces the chance of the URL being incorrect. If the above don't help, you might need to provide a bit more information so that the problem can be diagnosed.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.