Search code examples
amazon-s3encryptionvideo-streamingprivacy

How do I encrypt Video Files in Amazon S3 Storage for Video Streaming?


Possible Doing

While Netflix uses Amazon S3 for Video Streaming, they tend to use encrypted video files and stream it as it is. How we can encrypt video files so it is secured against video piracy and others.

What I want to achieve

Most of the content is stored in a compressed and encrypted format and streamed as is. They are compressed using a lossy audio/video codec such as MPEG or H. 264. The compressed data is encrypted using a Digital Rights Management system.

How myself can encrypt the video files and stream it with iframe for websites?


Solution

  • There are many possible ways that a person can stream videos and secure.

    • Origin blocking (Origin, CORS, Referrer)
    • Embed busting
    • Tokenized URLs
    • Generic token
    • Advanced user specific tokens
    • Login/Paywall
    • Stream encryption
    • DRM (Digital Rights Management)

    There are Modern Techniques like.