- Newest
- Most votes
- Most comments
Thanks for the note on improving our documentation, we'll look into adding more examples for website hosting permissions.
To restrict write permissions to the bucket, your bucket policy already does so. To ensure your bucket ACL limits write permission, you could consider enabling three of the four S3 Block Public Access settings. These would be BlockPublicAcls, IgnorePublicAcls, and BlockPublicPolicy. The two ACL settings will block new public ACLs from being applied and will block public access permitted by current ACLs. The BlockPublicPolicy setting will leave your existing bucket policy in place but block the addition of a new bucket policy permitting public access. This would be useful if you do not intend to change your existing policy and want to block changes. Here's a link with more info: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago