Ensure that Cloud CDN origins are configured to authenticate access to the content available at backend (backend buckets or backend services) using signed cookies and signed URLs. Signed cookies and URLs are designed to prevent unauthorized users from bypassing the authentication process and accessing sensitive information.
Utilizing signed cookies and signed URLs for authentication with Google Cloud CDN provides a robust and reliable method to verify the identity of users and safeguard your website's resources against unauthorized access. These authentication methods allow you to restrict access to authorized viewers by providing them with a time-limited URL or cookie that grants access for its duration. Viewers who otherwise try to access the content receive an HTTP 403 (unauthorized) error.
Audit
To determine if your Cloud CDN origins are authenticating access to the cached content, perform the following operations:
Remediation / Resolution
To ensure that your Cloud CDN origins are authenticating access to your cached content, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Authenticate content
- Use signed URLs
- Use signed cookies
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud compute backend-services list
- gcloud compute backend-services describe
- gcloud compute backend-buckets list
- gcloud compute backend-buckets describe
- gcloud compute backend-services add-signed-url-key
- gcloud compute backend-services update
- gcloud compute backend-buckets add-signed-url-key
- gcloud compute backend-buckets update