Solution skill
S3 Block Public Access: the setting that overrides everything
Complete solution
Shows how to fix s3 Block Public Access: the setting that overrides everything. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Run IAM Access Analyzer for S3 to list buckets with public or shared access. If someone needs an object, generate a presigned URL with a short expiry instead of making the object public.
Steps
- 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.
- 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.
When to use
You are seeing this: 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. Use this skill when you run into "S3 Block Public Access: the setting that overrides everything".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
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 2 · Exact version
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>