CloudFront Signed Cookie and Signed URL | HLS/DASH Live/VOD Stream Protection

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 33

  • @danubiomuller
    @danubiomuller 4 роки тому +5

    Thank you, Sir! Much love from Brazil! Saved my day!

  • @anoopkathait-t8o
    @anoopkathait-t8o 6 місяців тому +1

    Thanks for this knowledge sir

  • @ashishkumarmishra3570
    @ashishkumarmishra3570 4 роки тому +2

    Thanks for the explanation. It was really helpful.

  • @chandrachurmukherjeejucse5816
    @chandrachurmukherjeejucse5816 10 місяців тому +1

    Great explanation sir.

  • @김도형-g2i
    @김도형-g2i 3 роки тому +1

    awesome!! greatest explanation in youtube!

  • @faisalshaikh7994
    @faisalshaikh7994 4 роки тому +3

    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.

    • @DumbTutorials
      @DumbTutorials  4 роки тому +1

      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.

    • @faisalshaikh7994
      @faisalshaikh7994 3 роки тому

      @@DumbTutorials domain name is same that is why I am able to access image file.

  • @justinnathaniel4614
    @justinnathaniel4614 3 роки тому +1

    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.

    • @DumbTutorials
      @DumbTutorials  3 роки тому

      You follow this
      docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html

  • @duocnguyen6911
    @duocnguyen6911 4 роки тому +1

    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!

    • @DumbTutorials
      @DumbTutorials  3 роки тому

      Sure, I will create the video and update you here.

  • @eliottchampault8438
    @eliottchampault8438 2 роки тому

    How can you test such a solution locally on your machine? I keep on getting CORS errors....

    • @DumbTutorials
      @DumbTutorials  2 роки тому

      enable CORS disable addon on browser and test?

  • @MihirBiswal94
    @MihirBiswal94 3 роки тому +1

    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.

    • @DumbTutorials
      @DumbTutorials  3 роки тому

      Hi Mihir. Have you tried using Boto3?
      aws.amazon.com/sdk-for-python/

  • @ashokkumarpatel6162
    @ashokkumarpatel6162 3 роки тому

    Thank you for provide good information.

  • @RajneeshKumar-wj6xh
    @RajneeshKumar-wj6xh 3 роки тому

    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?

    • @DumbTutorials
      @DumbTutorials  3 роки тому

      Remember Cookie basics, setting cross domain cookies are not permitted. Use same domain name for setting cookie from where response is served.

  • @tkttamil7103
    @tkttamil7103 3 роки тому

    I sent one video link please help decrypt it

  • @algorithm-developer
    @algorithm-developer 2 роки тому +1

    Can you share full source code? If possible, please include it in nodejs and reactjs.

    • @DumbTutorials
      @DumbTutorials  Рік тому

      This might help you docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateCFSignatureCodeAndExamples.html

  • @DHAVAL518
    @DHAVAL518 2 роки тому

    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

    • @DumbTutorials
      @DumbTutorials  2 роки тому

      You are correct Dhawal. For CloudFront, manifest re-decoration will require Lambda@Edge logic for now.
      -Vivek

  • @tombstone5289
    @tombstone5289 3 роки тому

    Can I talk to you a little?
    Do you have a telegram or any other way I can talk to you?