You deploy a CloudFront distribution with an origin at an S3 bucket. You need signed URLs and must also support caching efficiently while preventing content leaks. Which strategy best satisfies both goals?

Answer

Enable signed URLs and use a Cache Policy that includes the authorization-related query parameters in the cache key appropriately.

Explanation

Signed URLs restrict access at the edge, while careful cache key configuration avoids mixing responses across different signatures/tenants. Disabling caching or relying on S3 privacy alone doesn’t fully address edge enforcement and leakage risk.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list