# SecureToken protection in Wowza Streaming Engine - HLS example

**URL:** https://community.wowza.com/t/securetoken-protection-in-wowza-streaming-engine-hls-example/47255
**Category:** Wowza Streaming Engine
**Created:** [July 6, 2016, 3:16pm UTC](https://community.wowza.com/t/securetoken-protection-in-wowza-streaming-engine-hls-example/47255 "2016-07-06T15:16:02Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Snezana\_Juric](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Snezana\_Juric](https://community.wowza.com/u/Snezana_Juric)
#### Post date: [July 6, 2016, 3:16pm UTC](https://community.wowza.com/t/securetoken-protection-in-wowza-streaming-engine-hls-example/47255/1 "2016-07-06T15:16:02Z")

</div>

Hi all,

We are trying to implement SecureToken protection in Wowza Streaming Engine.

The way we understood is that we should do something like this:

- sha256(“vod/sample.mp4?mySharedSecret&myTokenPrefixCustomParameter=abcdef&myTokenPrefixendtime=1467904640&myTokenPrefixstarttime=1467804640”)

- The result would be: b70c922b74dee5a94bb1f66e72dc5f6672e8924e9b9eebc38d9c068ae8944007

- Then, we do base64(b70c922b74dee5a94bb1f66e72dc5f6672e8924e9b9eebc38d9c068ae8944007)

- And we use the result of base64 as value for “myTokenPrefixhash” parameter.

---

_[View the full topic](https://community.wowza.com/t/securetoken-protection-in-wowza-streaming-engine-hls-example/47255)._
