Cloud security Public object storage 3 min read

Is this S3 bucket public?

A developer adds a wildcard principal to a bucket policy to share one file. What else might that policy expose?

  1. Policies and ACLs can grant access

    S3 checks the policies and access controls that apply to the bucket and object. A public policy can let unauthenticated internet users read objects, or—more dangerously—write and delete them.

    In short A broad bucket grant can expose more than the one file in mind.

  2. Block Public Access acts as a guardrail

    S3 Block Public Access can be applied at organization, account, access point, and bucket levels. The most restrictive effective settings prevent public policies or ACLs from granting access.

    With the applicable Block Public Access setting enabled, a public grant is blocked. Public grantBlock settingDenied

    In short Keep public-access guardrails on for private storage.

  3. Choose a narrow sharing method

    If one object must be shared temporarily, use a presigned URL with a short expiry and keep the bucket private. If a site needs public content, expose only the intended content through a designed delivery path.

    In short Share the smallest object for the shortest time.

What Block Public Access doesn’t do

It prevents public access grants; it does not fix overly broad access for authenticated roles or other AWS accounts. Review identity policies and resource policies as well.

Test changes against the application. A public-access block can break a workload that was relying on an unsafe public path.

Keep this

Treat public storage as a deliberate exception and verify the effective access path.

Keep Block Public Access enabled unless a verified use case needs public objects. For temporary sharing, prefer a short-lived presigned URL over making a whole bucket public.
Grant
Bucket policies and ACLs can grant public access.
Guardrail
Account and bucket Block Public Access settings can block public grants.
Verify
Review effective access and test the intended consumer path.

Sources

Last reviewed 20 November 2026.

Next byte · Cloud data protection How does cloud KMS encryption work?