We accelerate websites

15 days free trial Sign up

Media Acceleration Stream to the world

15 days free trial Sign up

Extensive Network Excellent world coverage

Setting a Wowza Secure Token - protect your CDN content

Introduction

The Wowza Secure and Wowza Secure Token options of CDN Video, CDN Video Push and CDN Live services allow you to protect your CDN RTMP stream from unwanted viewers.

Wowza Secure only works over RTMP protocol. It encrypts RTMP stream into RTMPE (the E at the end stands for encrypted). To play an RTMPE stream the corresponding Flash player needs a valid token to decrypt the stream. Please refer to Setting a Token Authentication - protect your CDN content for more advanced CDN stream protection.

How to enable Wowza Secure

Wowza Secure can be enabled during a CDN service creation (in advanced settings) or on the Services/Settings page.

Select "Enabled" from the Wowza Secure select box and generate a Wowza Secure Token as in the picture below.

Wowza Secure Token

How to enable Wowza Secure Token in a Flash player

To enable Wowza Secure Token in the JW Player (a Flash player) add a securetoken parameter to the JW Player configuration as in the code below.

<script type="text/javascript">
    $(document).ready(function(){        
        jwplayer("mediaplayer").setup({                                            
            'rtmp': 
                    {
                        'securetoken': "iLxijwhKUN7T3OS1"
                    }
        });

    });
</script>

Please note that if you put the above code into your HTML website source code then anyone can steal the token and decrypt the RTMPE stream by himself. You should avoid exposing the token on your front-end.

What next?

Read about token authentication.

 
 _    _     _____    _    _     ______  
| || | ||  |  ___|| | \  / ||  /_   _// 
| || | ||  | ||__   |  \/  ||   -| ||-  
| \\_/ ||  | ||__   | .  . ||   _| ||_  
 \____//   |_____|| |_|\/|_||  /_____// 
  `---`    `-----`  `-`  `-`   `-----`  
                                        
Europe
  • Amsterdam
  • Athens
  • Baku
  • Bucharest
  • Budapest
  • Chelyabinsk
  • Dublin
  • Frankfurt
  • Helsingborg
  • Helsinki
  • Istanbul
  • Karlskrona
  • Khabarovsk
  • Kharkov
  • Kiev
  • Kungalv
  • London
  • Lvov
  • Madrid
  • Milan
  • Moscow
  • Odessa
  • Polevskoy
  • Rostov-on-Don
  • Samara
  • Stockholm
  • Tel Aviv-Yafo
  • Trondheim
America
  • Arlington
  • Atlanta
  • Chicago
  • Dallas
  • Denver
  • Green Bay
  • Los Angeles
  • Miami
  • Montreal
  • New York
  • Phoenix
  • Portland
  • Provo
  • Queretaro
  • Reston
  • Sacramento
  • San Jose
  • Sao Paulo
  • Seattle
  • Toronto
  • Washington
Contact
  • e-mail: info@cdnsun.com
  • skype: cdnsun.com
  • phone: +1 844 300 9206
  • phone: +420 776 256 872
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest