Previous: , Up: Serving Private Content using CloudFront   [Index]


Choosing Between Signed URLs and Signed Cookies

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-choosing-signed-urls-cookies.html

CloudFront signed URLs and signed cookies provide the same basic functionality: they allow you to control who can access your content. If you want to serve private content through CloudFront and you’re trying to decide whether to use signed URLs or signed cookies, consider the following.

Use signed URLs in the following cases:

Use signed cookies in the following cases:

If you are not currently using signed URLs and if your URLs contain any of the following query string parameters, you cannot use either signed URLs or signed cookies:

CloudFront assumes that URLs that contain any of those query string parameters are signed URLs and therefore won’t look at signed cookies.