Results 1 to 4 of 4

Thread: Protecting a stream with AllowDomains

  1. #1
    Join Date
    Feb 2014
    Posts
    10

    Default Protecting a stream with AllowDomains

    Hi,

    I tried to protect a stream with <AllowDomains> in Application.xml. This works for RTMP streams, but it won't work the HLS / HTML5 streams. How can I protect a HLS stream?

    Regards, John

  2. #2
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi,
    Please see our Media security overview for your security options.

    Jason

  3. #3

    Default

    The only proper free, "built-in" way to protect HLS streams from Wowza is AES encryption:

    http://www.wowza.com/forums/content.php?60

    This does require you to set up a key server and add your own logic to verify the request

    Simplest way, when on your website someone opens the video player page, generate a random token and save it to a database table, along with the IP address of the user. Pass this token in the stream URL [http://myserver.com/live/stream/play...?token=xxxxxx] . Then, have your authentication script compare the token to the database, if the IP of the auth request matches, allow playback, otherwise reject it.

    You can make things fancier from there, the script sample on the page linked above are good starting point. But do keep in mind this system may not be compatible with some players (Android 4.0's video system for instance, you'll need 4.1 and above)

    Otherwise, there are third-party solutions which make this a bit easier, such as wmspanel.com which I highly recommend.

    Hope this helps!
    Last edited by eTiMaGo; 03-03-2014 at 08:03 PM.

  4. #4
    Join Date
    Feb 2014
    Posts
    10

    Default

    Thanks a lot! It does help a lot!

Similar Threads

  1. Best practice for protecting who can live stream to the wowza server
    By stevefink in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 09-09-2013, 03:33 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
  •