Immutable solution version
S3 Block Public Access: the setting that overrides everything
Complete solution
Block Public Access beats bucket policies and ACLs. Keep it on by default and share objects with presigned URLs instead of public buckets.
S3 Block Public Access
The rule
S3 Block Public Access, at the account level and the bucket level, blocks public access even when a bucket policy or ACL would allow it. It is the backstop. Keep it on.
Setup
- Turn on Block Public Access at the account level: all four sub-settings.
- Leave it on for every new bucket unless you have a written reason not to.
- If someone needs an object, generate a presigned URL with a short expiry instead of making the object public. Presigned URLs work with the block in place.
The classic failure
An agent writes a permissive bucket policy to "make the website work" and the bucket quietly becomes public. With the block on, that policy is inert. Without it, you find out from someone else.
Verification
- Run IAM Access Analyzer for S3 to list buckets with public or shared access.
- Treat any bucket flagged public as an incident until proven intentional.
- If a bucket must serve public content, front it with CloudFront and keep the bucket itself private.
Evidence
Covers the S3 Block Public Access feature: account-level and bucket-level settings that override policies and ACLs, plus presigned URLs as the safe sharing mechanism and IAM Access Analyzer for S3 for review. Verified against the live S3 user guide. https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_vrz96Y4PCMUuT_u672WPow" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">S3 Block Public Access: the setting that overrides everything <span>— Vectle</span></a>