Hello, thank you for the explanation. I have followed your instructions and docs and able to create cookies in browser but I noticed that cookies are not get send in header while requesting for playlist (.m3u8) file. However if I try to access image file using cloud front then cookies do send in header. Can you please tell me what could be the issue. Thanx in advance. Also I have created only 1 origin and 1 behaviour, is it necessarily to create those origins and behaviours. Please explain.
Please check if you are using same domain for setting cookie and delivering your media files. If the domain name is different, the client will not send cross domain cookie.
Great vid Sir! Question; how do I add my IAM/Cloudfront key Pair into this file for authentication? I need to develop signed cookies to a group of video files within a S3 bucket.
Hi, can you please make a video explain in detail how you set up your S3 bucket and cloudfront config? I keep getting error "x-cache: error from cloudfront". Thank you!
Thanks Vivek for this video. Any idea on how to generate the signed cookies in python3? Not able to find many materials online, seems a little obscure. I am trying to solve the same problem statement for HLS streaming.
Great Video, Thank you for the information. But I get an error while setting cookie. Unable to set cookie for coudfront domain from serverapp domain. Can you help for this?
Have some questions here, 1) Presigned URL is equivalent to Cookieless token authentication 2) Presigned Cookie is equivalent to Cookbased token authentication ? Please correct me here 3) Presigned URL also has option to generate token in each subsequent requests for child playlist and ts chunks.Akamai has this functionality
Thank you, Sir! Much love from Brazil! Saved my day!
Glad I was of some help.
Thanks for this knowledge sir
Most welcome
Thanks for the explanation. It was really helpful.
Thank you.
Great explanation sir.
Thanks for liking
awesome!! greatest explanation in youtube!
Thank you :)
Hello, thank you for the explanation. I have followed your instructions and docs and able to create cookies in browser but I noticed that cookies are not get send in header while requesting for playlist (.m3u8) file. However if I try to access image file using cloud front then cookies do send in header.
Can you please tell me what could be the issue. Thanx in advance.
Also I have created only 1 origin and 1 behaviour, is it necessarily to create those origins and behaviours. Please explain.
Please check if you are using same domain for setting cookie and delivering your media files. If the domain name is different, the client will not send cross domain cookie.
@@DumbTutorials domain name is same that is why I am able to access image file.
Great vid Sir! Question; how do I add my IAM/Cloudfront key Pair into this file for authentication? I need to develop signed cookies to a group of video files within a S3 bucket.
You follow this
docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html
Hi, can you please make a video explain in detail how you set up your S3 bucket and cloudfront config? I keep getting error "x-cache: error from cloudfront". Thank you!
Sure, I will create the video and update you here.
How can you test such a solution locally on your machine? I keep on getting CORS errors....
enable CORS disable addon on browser and test?
Thanks Vivek for this video. Any idea on how to generate the signed cookies in python3? Not able to find many materials online, seems a little obscure. I am trying to solve the same problem statement for HLS streaming.
Hi Mihir. Have you tried using Boto3?
aws.amazon.com/sdk-for-python/
Thank you for provide good information.
You are welcome
Great Video, Thank you for the information. But I get an error while setting cookie. Unable to set cookie for coudfront domain from serverapp domain. Can you help for this?
Remember Cookie basics, setting cross domain cookies are not permitted. Use same domain name for setting cookie from where response is served.
I sent one video link please help decrypt it
Can you share full source code? If possible, please include it in nodejs and reactjs.
This might help you docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateCFSignatureCodeAndExamples.html
Have some questions here,
1) Presigned URL is equivalent to Cookieless token authentication
2) Presigned Cookie is equivalent to Cookbased token authentication ? Please correct me here
3) Presigned URL also has option to generate token in each subsequent requests for child playlist and ts chunks.Akamai has this functionality
You are correct Dhawal. For CloudFront, manifest re-decoration will require Lambda@Edge logic for now.
-Vivek
Can I talk to you a little?
Do you have a telegram or any other way I can talk to you?