Public Buckets
A static website's images must be publicly readable, but the rest of the bucket must stay private. What is the safest approach?
Part of Cloud & Networking Foundations. Next step: Auto Scaling Signals
Choose one answer
A CDN (CloudFront) with origin access control, keeping the bucket itself private and blocked from public access.
Generate presigned URLs that stay valid for 7 days, paste them into the site's HTML, and regenerate them with a weekly scheduled job.
Turn off Block Public Access for the bucket and grant s3:GetObject on * to everyone.
s3:GetObject
*
Make every image object public with an ACL and leave the bucket policy unchanged.