# How to limit HLS stream

**URL:** <https://community.wowza.com/t/how-to-limit-hls-stream/102503>\
**Category:** Wowza Developer Dojo\
**Created:** [December 26, 2024, 9:22am UTC](https://community.wowza.com/t/how-to-limit-hls-stream/102503 "2024-12-26T09:22:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zarko\_Tomasevic](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@Zarko\_Tomasevic](https://community.wowza.com/u/Zarko_Tomasevic)\
**Post date:** [December 26, 2024, 9:22am UTC](https://community.wowza.com/t/how-to-limit-hls-stream/102503/1 "2024-12-26T09:22:32Z")

</div>

Hi, is there any possibilty to limit one stream per client in http session in HLS ?

---

<div class="post-metadata">

**Author:** ![Scott\_Kellicker2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/scott_kellicker2/32/1337_2.png) [@Scott\_Kellicker2](https://community.wowza.com/u/Scott_Kellicker2)\
**Post date:** [December 28, 2024, 3:47pm UTC](https://community.wowza.com/t/how-to-limit-hls-stream/102503/2 "2024-12-28T15:47:59Z")

</div>

Can you elaborate… what do you mean by “one stream per client”?

---

<div class="post-metadata">

**Author:** ![Zarko\_Tomasevic](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@Zarko\_Tomasevic](https://community.wowza.com/u/Zarko_Tomasevic)\
**Post date:** [December 29, 2024, 12:29am UTC](https://community.wowza.com/t/how-to-limit-hls-stream/102503/3 "2024-12-29T00:29:39Z")

</div>

I mean, when some client get connected over http to hls, and it gets his session id, i want to limit that client to get only one stream from wowza, and nobody else can take his chunklist\_w-sessionid.m3u8 and play in other player ie. VLC…to elaborate - one sessionID can play only his chunklist playlist and it cannot be shared among other people.

---

<div class="post-metadata">

**Author:** ![Scott\_Kellicker2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/scott_kellicker2/32/1337_2.png) [@Scott\_Kellicker2](https://community.wowza.com/u/Scott_Kellicker2)\
**Post date:** [January 2, 2025, 4:11pm UTC](https://community.wowza.com/t/how-to-limit-hls-stream/102503/4 "2025-01-02T16:11:11Z")

</div>

I would check out articles on ModuleCoreSecurity and secureToken. You could implement some combo of secure tokena and username/password and verify these on the Wowza side. It will require a Wowza Module and some custom Java code.

Happy to chat about a custom implementation if you are interested

Scott Kellicker  
Streaming Video Consultant  
scott@blankcanvas.video

---

<div class="post-metadata">

**Author:** ![Zarko\_Tomasevic](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@Zarko\_Tomasevic](https://community.wowza.com/u/Zarko_Tomasevic)\
**Post date:** [January 2, 2025, 4:49pm UTC](https://community.wowza.com/t/how-to-limit-hls-stream/102503/5 "2025-01-02T16:49:57Z")

</div>

In meanwhile, we tested secureToken module feature, and i think it will do job for us.Thanks for replying Scott.
