Security

S3 Block Public Access

Centralized account- and bucket-level settings that override ACLs and policies to prevent public access.

How it works

S3 Block Public Access provides four settings that restrict public access granted through S3 resource ACLs and policies. You can configure them at the bucket, access point, or account level; S3 applies the most restrictive effective combination. Depending on the settings, S3 rejects new public ACLs or policies, ignores public ACLs, or restricts access through public policies.

When to use it

Choose it when the requirement is enforce a security baseline that blocks all public access to S3 objects and buckets.

Real-world example

A company enables all four settings at the account level for its private buckets. When an engineer tries to apply a new public bucket policy, S3 rejects the policy, reducing the risk of accidental data exposure.

Key facts

  • Can be applied at the individual bucket level or across the entire AWS account.
  • Blocks new public ACLs and bucket policies, and ignores existing public permissions.
  • Recommended by AWS as a default security baseline for all private data buckets.

Common pitfall

A website serving public content directly from an S3 website endpoint can fail if the settings block the required access. Check both account-level and bucket-level configuration before making changes.

Often confused with

Bucket policies, which explicitly define access rules rather than acting as a centralized override switch.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Keywords you will see in SAA-C03 questions

  • prevent public data leakage
  • block public ACLs and policies
  • account-wide S3 security blanket

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning