Results 1 to 3 of 3

Thread: Encrypt video files stored on disk

  1. #1

    Default Encrypt video files stored on disk

    Dear Wowza forum,

    I'm looking for third party comments and help on a specific use case - I'm directly in contact with Wowza on the subject -.

    I need to encrypt recorded video files stored on disk. The use of an encrypted filesystem is not good enough for my use case.
    Moreover, these encrypted files must be available for streaming.

    So I think I need to customize reader/writer in Wowza to implement this strategy.

    Is there a way to do this in Wowza ?


    Last edited by christophema; 09-02-2015 at 07:40 AM.

  2. #2


    Hi Christophe,

    The simple way to have your files encrypted on disk is to create an encrypted filesysytem, such as TrueCrypt and other similar options. This is transparent to Wowza as it happens at the OS level.

    Alternatively another simple option may be to apply a hash to the recorded assets thus making them un-streamable unless you unhashed the files with your secret key.

    You mention that you don't require that these files are made available for streaming, and so a simple extension to the above is to move them out of the streaming directory that Wowza uses. We provide example frameworks for this to move the recordings outside of the StorageDir content directory which will prevent them ever being able to be streamed, encrypted or not.

    These are tools outside of Wowza that can be used for many purposes, but if it is to create unplayable streams, then unless they are decrypted (and optionally moved to the StorageDir content directory) then they should be quite safe.


  3. #3


    Hi Paul,

    The use of an encrypted disk is not good enough for us: we really need to have a business control of the video file encryption on disk and so, control it directly in our code.
    Moreover, these encrypted files must be streamable by Wowza Media server. Our encryption will be normally done by aes encryption.

    Please note that the use of an ecrypted filesystem is not good enough because administrators users can have an access to the unencrypted video file when logged; that's why we required encryption management by our business code.

    I think that the best solution for us would to have the possibility to provide custom FileInputStreams/FileOutputStrams to the media readers/writers in Wowza. In this way, we can control how the file is read or write on the filesystem independently of file media formats (mp4/flv/dvr formats).

    Per example, provide a FileOutputStream to ILiveStreamRecord object insteadof a filepath. In the same way, provide a FileInputStream for reading.


Similar Threads

  1. Replies: 3
    Last Post: 07-10-2013, 12:52 PM
  2. encrypt the files using AES-128 encryption
    By bobmane in forum Video On Demand Streaming Discussion
    Replies: 5
    Last Post: 05-30-2012, 03:45 PM
  3. is there a way to keep FLV video files encrypted on disk?
    By peterweinstein in forum General Forum
    Replies: 2
    Last Post: 03-04-2012, 02:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts