Skip to content
Cloud Governance Tools

Enforce public access prevention on Cloud Storage

Enforce public access prevention on Cloud Storage is a Google Cloud guardrail written in organization Policy Service. Blocks ACLs and IAM permissions that grant access to allUsers and allAuthenticatedUsers on Cloud Storage buckets and objects, for existing and future resources.

More public exposure guardrails ยท About Organization Policy Service

constraints/storage.publicAccessPrevention
Secure your Cloud Storage data from public exposure by enforcing public access prevention. This governance policy prevents existing and future resources from being accessed via the public internet by disabling and blocking ACLs and IAM permissions that grant access to allUsers and allAuthenticatedUsers . Enforce this policy on the entire organization (recommended), specific projects, or specific folders to ensure no data is publicly exposed.
This policy overrides existing public permissions. Public access will be revoked for existing buckets and objects after this policy is enabled. For more details on the effects of changing enforcement of this constraint on resources, please see: https://docs.cloud.google.com/storage/docs/public-access-prevention.
For more information, see Organization policy constraints for Cloud Storage .
Blocks
Blocks ACLs and IAM permissions that grant access to allUsers and allAuthenticatedUsers on Cloud Storage buckets and objects, for existing and future resources. (legacy managed constraint, boolean.)
Breaks
Google documents that it overrides existing public permissions and revokes public access for existing buckets and objects once enabled. (source)
Test before applying
As for every Organization Policy Service guardrail: how to test before enforcing
Mechanism
Organization Policy Service (managed and legacy constraints): Resources in the organization, folder or project where the policy is set and its descendants; Google says application of new policies is usually not retroactive.
Taken from
provider documentation, provider documentation

What the source says

"Secure your Cloud Storage data from public exposure by enforcing public access prevention." (read 10 Nov 2026).

On what it breaks: "This policy overrides existing public permissions. Public access will be revoked for existing buckets and objects after this policy is enabled."

Sources

  1. Enforce public access prevention on Cloud Storage, read 10 Nov 2026
  2. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.