Try it now and let us know what you think. Switch to the new look >>
You can return to the original look by selecting English in the language selector above.
Serving Private Content with Signed URLs and Signed Cookies
Many companies that distribute content over the internet want to restrict access to documents, business data, media streams, or content that is intended for selected users, for example, users who have paid a fee. To securely serve this private content by using CloudFront, you can do the following:
-
Require that your users access your private content by using special CloudFront signed URLs or signed cookies.
-
Require that your users access your content by using CloudFront URLs, not URLs that access content directly on the origin server (for example, Amazon S3 or a private HTTP server). Requiring CloudFront URLs isn't necessary, but we recommend it to prevent users from bypassing the restrictions that you specify in signed URLs or signed cookies.
Topics
- Overview of Serving Private Content
- Task List: Serving Private Content
- Specifying the AWS Accounts That Can Create Signed URLs and Signed Cookies (Trusted Signers)
- Choosing Between Signed URLs and Signed Cookies
- Using Signed URLs
- Using Signed Cookies
- Using a Linux Command and OpenSSL for Base64-Encoding and Encryption
- Code Examples for Creating a Signature for a Signed URL


