# Stream auth user based, disconnect specific users

**URL:** <https://community.wowza.com/t/stream-auth-user-based-disconnect-specific-users/46668>\
**Category:** Wowza Streaming Engine\
**Created:** [March 8, 2016, 2:49pm UTC](https://community.wowza.com/t/stream-auth-user-based-disconnect-specific-users/46668 "2016-03-08T14:49:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 8, 2016, 2:49pm UTC](https://community.wowza.com/t/stream-auth-user-based-disconnect-specific-users/46668/1 "2016-03-08T14:49:08Z")

</div>

He all,

Im building a webcam chat like [chaturbate.com](http://chaturbate.com)

i got my broadcaster and subscriber working but i need a phew things in it.

1. i need to be able to show the user when a streamer goes private (some sort of user based check?)

2. i want to validate each user before they get to see a stream , for example when they try to use the rtmp or other view url

How can i best do this?

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [March 8, 2016, 9:29am UTC](https://community.wowza.com/t/stream-auth-user-based-disconnect-specific-users/46668/2 "2016-03-08T09:29:06Z")

</div>

Hello there and welcome to the Wowza support forum.

For your second question you could use this module:

[How to modify or control a stream by overriding playback](https://www.wowza.com/docs/how-to-override-play-to-control-access)

Not sure about your first question(don’t quite understand the question).

I might suggest you post a request to the[find a consultant forum](http://community.wowza.com/c/-/7) if you find yourself needing assistance setting this all up.

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [March 10, 2016, 4:54pm UTC](https://community.wowza.com/t/stream-auth-user-based-disconnect-specific-users/46668/3 "2016-03-10T16:54:48Z")

</div>

Hi,

With regards to RTMP source security and passing credentials via query parameters, I have responded to your other forum post on this [here](http://community.wowza.com/t/-/46669;p=162446#post162446).

Paul

---

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 8, 2016, 6:54pm UTC](https://community.wowza.com/t/stream-auth-user-based-disconnect-specific-users/46668/4 "2016-03-08T18:54:57Z")

</div>

what would the rtmp url become when i use the wowza source security

rtmpEndpoint = “rtmp://” + streamHost + “/red5prolive?doPublish=passhere”;

this didnt work
