# WebRTC playback with some restricts

**URL:** <https://community.wowza.com/t/webrtc-playback-with-some-restricts/93736>\
**Category:** Wowza Video (Formerly Streaming Cloud)\
**Tags:** webrtc\
**Created:** [August 24, 2021, 10:45am UTC](https://community.wowza.com/t/webrtc-playback-with-some-restricts/93736 "2021-08-24T10:45:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Huang](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@Kevin\_Huang](https://community.wowza.com/u/Kevin_Huang)\
**Post date:** [August 24, 2021, 10:45am UTC](https://community.wowza.com/t/webrtc-playback-with-some-restricts/93736/1 "2021-08-24T10:45:38Z")

</div>

Hello,

I’ve successfully created two webpages to publish and play my stream, but I have no idea how to set authentications to restrict the users.

my current solution is using the sdpUrl, applicationName and streamName to show the stream, is it possible to prohibit the connections other than my origin?

Thanks.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 24, 2021, 4:44pm UTC](https://community.wowza.com/t/webrtc-playback-with-some-restricts/93736/2 "2021-08-24T16:44:27Z")

</div>

_ **Wowza Cloud cannot:** _

- Provide authenticated WebRTC publisher or connection restriction.

  

Your options would be to use Streaming Engine instead for your WebRTC workflow where you’d have more security control for both publishing and playback:

[https://www.wowza.com/docs/control-access-to-webrtc-publishing-and-playback#enhance-webrtc-publishing-and-playback-security-with-a-custom-http-provider](https://www.wowza.com/docs/control-access-to-webrtc-publishing-and-playback#enhance-webrtc-publishing-and-playback-security-with-a-custom-http-provider)

As far as Cloud, we don’t yet offer that level of security for WebRTC publishing, but Cloud does provide encryption at playback.
