# Restrict unencrypted HTTP access to Cloud Storage

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

Restrict unencrypted HTTP access to Cloud Storage is a Google Cloud guardrail written in organization Policy Service. Explicitly denies HTTP (unencrypted) access to all storage resources. What it breaks: google documents that the Cloud Storage XML API allows unencrypted HTTP by default, so clients using it over HTTP are refused once the constraint is enforced.

```text
constraints/storage.secureHttpTransport
This boolean constraint, when enforced, explicitly denies HTTP (unencrypted) access to all storage resources. By default, the Cloud Storage XML API allows unencrypted HTTP access. Note that the Cloud Storage JSON API, gRPC, and Cloud console only allow encrypted HTTP access to Cloud Storage resources.
```

- **Blocks:** Explicitly denies HTTP (unencrypted) access to all storage resources. (legacy managed constraint, boolean.)
- **Breaks:** Google documents that the Cloud Storage XML API allows unencrypted HTTP by default, so clients using it over HTTP are refused once the constraint is enforced. ([source](https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints))
- **Test before applying:** As for every Organization Policy Service guardrail: [how to test before enforcing](/mechanisms/org-policy/)
- **Mechanism:** [Organization Policy Service (managed and legacy constraints)](/mechanisms/org-policy/): 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](https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints), provider documentation

## What the source says

"This boolean constraint, when enforced, explicitly denies HTTP (unencrypted) access to all storage resources." (read 10 Nov 2026).

On what it breaks: "By default, the Cloud Storage XML API allows unencrypted HTTP access."

## Related guardrails

- [Deny KMS key deletion](/guardrails/aws-scp-deny-kms-key-deletion/): AWS, Service control policies (SCPs), encryption and keys
- [Enforce a 30-day KMS key deletion window](/guardrails/aws-scp-kms-30-day-deletion-window/): AWS, Service control policies (SCPs), encryption and keys
- [Deny disabling default EBS encryption](/guardrails/aws-scp-deny-disable-ebs-default-encryption/): AWS, Service control policies (SCPs), encryption and keys
- [Restrict which services may create resources without CMEK](/guardrails/gcp-orgpolicy-restrict-non-cmek-services/): Google Cloud, Organization Policy Service (managed and legacy constraints), encryption and keys
- [Restrict key destruction to disabled key versions](/guardrails/gcp-orgpolicy-kms-disable-before-destroy/): Google Cloud, Organization Policy Service (managed and legacy constraints), encryption and keys

## Related pages

- [Restrict key destruction to disabled key versions (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-kms-disable-before-destroy/)
- [Resource location restriction (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-resource-locations/)
- [Restrict resource service usage (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-restrict-service-usage/)

## Sources

- Restrict unencrypted HTTP access to Cloud Storage: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints (read 10 Nov 2026)
- How to test it first: https://cloud.google.com/resource-manager/docs/organization-policy/dry-run-policy (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/gcp-orgpolicy-storage-secure-http-transport/
