# How do I require the secure token for rtmp publishing?

**URL:** https://community.wowza.com/t/how-do-i-require-the-secure-token-for-rtmp-publishing/34713
**Category:** Wowza Streaming Engine
**Created:** [January 19, 2012, 11:26pm UTC](https://community.wowza.com/t/how-do-i-require-the-secure-token-for-rtmp-publishing/34713 "2012-01-19T23:26:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jeremy\_Pollard](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@Jeremy\_Pollard](https://community.wowza.com/u/Jeremy_Pollard)
#### Post date: [January 19, 2012, 11:26pm UTC](https://community.wowza.com/t/how-do-i-require-the-secure-token-for-rtmp-publishing/34713/1 "2012-01-19T23:26:09Z")

</div>

I would like to restrict rtmp publishers to only those that use a token on the end of their streamname. I can’t use username/password because a lot of my users are publishing to both a CDN and the Wowza servers at the same time from FMLE. If they put the username/password in, it drops the CDN stream, if they don’t put the username/password in, anyone can stream to their accounts.

I don’t need to use the token for the player, only publishing.

I’ve tried utilizing the RTMP Authenticate module but have had no success.

Jeremy

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [January 20, 2012, 11:23am UTC](https://community.wowza.com/t/how-do-i-require-the-secure-token-for-rtmp-publishing/34713/2 "2012-01-20T11:23:10Z")

</div>

Hi

I found some links that will help you out here,

[https://www.wowza.com/docs/media-security-overview](https://www.wowza.com/docs/media-security-overview)

and here,

[https://www.wowza.com/docs/how-to-secure-publishing-from-an-rtmp-encoder-that-does-not-support-authentication-modulesecureurlparams](https://www.wowza.com/docs/how-to-secure-publishing-from-an-rtmp-encoder-that-does-not-support-authentication-modulesecureurlparams)

That should get you on track

Jason

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [January 20, 2012, 2:27pm UTC](https://community.wowza.com/t/how-do-i-require-the-secure-token-for-rtmp-publishing/34713/3 "2012-01-20T14:27:12Z")

</div>

Use the 2nd link Jason showed in your case: ModuleSecureURLParams

Richard
