Google Cloud: Object storage permissions: separate public assets and private data
Product imagery being readable in a browser does not mean the entire bucket should be public. Classify public static assets, user uploads, internal files and backups before choosing access policies and delivery domains.

Product imagery being readable in a browser does not mean the entire bucket should be public. Classify public static assets, user uploads, internal files and backups before choosing access policies and delivery domains.
Checks specific to Google Cloud
Uniform bucket-level access and Public access prevention solve different problems. Review IAM before signed URLs and CORS and avoid toggling public exposure merely to troubleshoot.
Define actors and operations
An uploader may need write access to one prefix; visitors may only need reads of selected public objects. A backup task rarely needs unrestricted deletion. Scope permissions to identities and resource paths. Listing a bucket and reading one object are separate permissions.
Temporary access and browser requests
For private objects, use short-lived signed URLs or controlled backend downloads where appropriate. A signed URL can be forwarded while valid, so keep it out of public logs. CORS controls browser cross-origin behavior; it does not replace authentication or automatically make a private object public.
Test as an anonymous visitor
Test anonymous reads, anonymous writes, signed reads and backend uploads, including operations expected to fail. Review access logs, versioning and lifecycle rules. Save the previous policy before changes so accidental exposure or broken delivery can be reversed.
Official references · checked 2026-12-01
Contact us TG @yunshuguoji
