Interview Prep/AWS/Storage and Databases

How do bucket policies, ACLs and Block Public Access interact?

IntermediateConceptStorage and Databases
Answer

Block Public Access (account and bucket level) overrides public grants from policies and ACLs, and is the master safety switch. Bucket policies are the main resource-based mechanism. ACLs are legacy and disabled by default on new buckets via Object Ownership = BucketOwnerEnforced, which makes the bucket owner own all objects.

The modern baseline: BPA on, ACLs disabled, access only via policies, and aws:SecureTransport deny.

aws All AWS questions Roadmap: AWS core services

More on Storage and Databases