Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I host my image website to Amazon S3, and want keep direct access for everyone. When i upload new file to my S3 bucket, i must change the files acl manual. Is any idea to change the default acl for a bucket?

ps. i used the S3Fox tools under MacOSX.

share|improve this question

1 Answer 1

It is not possible to change the default ACL, which has been the first access control mechanism available for S3.

However, nowadays you can (and probably should for anything except the simplest use cases) use IAM Policies and/or Bucket Policies instead of or in addition to ACL's, see Using IAM Policies for a comparison of all three mechanisms. Please ensure you are aware of the effects of using IAM and Bucket Policies as well as ACLs and Bucket Policies together though.

A good summary is provided in Amazon S3 Bucket Public Access Considerations, with a specific section Hosting Website from Amazon S3 and Bucket Permissions addressing your use case.

share|improve this answer

Your Answer

 
discard

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.