title: How do I encrypt Video Files in Amazon S3 Storage for Video Streaming?
body: <p><strong>Possible Doing</strong></p>
  
  <p>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. </p>
  
  <p><strong>What I want to achieve</strong></p>
  
  <p>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.</p>
  
  <p>How myself can encrypt the video files and stream it with iframe for websites?</p>