# How to generate playback security token

**URL:** <https://community.wowza.com/t/how-to-generate-playback-security-token/43719>\
**Category:** Wowza Streaming Engine\
**Created:** [June 20, 2016, 5:36pm UTC](https://community.wowza.com/t/how-to-generate-playback-security-token/43719 "2016-06-20T17:36:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kazim\_abbas](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kazim\_abbas](https://community.wowza.com/u/kazim_abbas)\
**Post date:** [June 20, 2016, 5:36pm UTC](https://community.wowza.com/t/how-to-generate-playback-security-token/43719/1 "2016-06-20T17:36:05Z")

</div>

Hi,

We are using wowza streaming engine to stream our content on our iptv setup i want to enable playback security i also set all the setting i wowza with the help of wowza forums but i am not able to find any php script to generate toke to test the stream can any one share the script so i generate the token and test it.

screen shot of wowza playback security setting has been attached.

![](https://www.dropbox.com/s/25rspgeme0ygmp9/playback%20setting.JPG?dl=0)

---

<div class="post-metadata">

**Author:** ![Jason\_Hatchett](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hatchett/32/391_2.png) [@Jason\_Hatchett](https://community.wowza.com/u/Jason_Hatchett)\
**Post date:** [July 6, 2016, 3:10am UTC](https://community.wowza.com/t/how-to-generate-playback-security-token/43719/2 "2016-07-06T03:10:54Z")

</div>

Hello,

You can review the following forum post and see if this contribution may suit your needs:

> [@PHP Generator SecureToken](http://community.wowza.com/t/-/44720):
>
> Hi, Recently, I created a library to create SecureToken in PHP I posted on Github & packagist for using with composer. It’s the first version, you can fork it and create merge request if you think I forgot fonctionnalities. [https://github.com/remiheens/WowzaSecureToken](https://github.com/remiheens/WowzaSecureToken) Hope you like it & use it. Rémi

Please let me know if this does not suit your needs and if you can provide more detail about your particular use case.

Regards,

Jason Hatchett
