# User authentication using HTTP streaming

**URL:** <https://community.wowza.com/t/user-authentication-using-http-streaming/35612>\
**Category:** Wowza Streaming Engine\
**Created:** [November 6, 2010, 6:38pm UTC](https://community.wowza.com/t/user-authentication-using-http-streaming/35612 "2010-11-06T18:38:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephan\_Janssen](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Stephan\_Janssen](https://community.wowza.com/u/Stephan_Janssen)\
**Post date:** [November 6, 2010, 6:38pm UTC](https://community.wowza.com/t/user-authentication-using-http-streaming/35612/1 "2010-11-06T18:38:47Z")

</div>

Hey,

The article “User Authentication” at [https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database](https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database) explains how to use the Flash onConnect to do user authentication.

The above method is not triggered when doing HTML5 video streaming! So which method should I use for this… onStreamCreate?

Thanks in advance,

Stephan

---

<div class="post-metadata">

**Author:** ![Roger\_Littin](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Roger\_Littin](https://community.wowza.com/u/Roger_Littin)\
**Post date:** [November 6, 2010, 9:25pm UTC](https://community.wowza.com/t/user-authentication-using-http-streaming/35612/2 "2010-11-06T21:25:48Z")

</div>

For HTTP Streaming, you need to use the onHTTP\*StreamingSessionCreate methods.

You will be able to authenticate the session there and reject it if you need to.

---

<div class="post-metadata">

**Author:** ![Stephan\_Janssen](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Stephan\_Janssen](https://community.wowza.com/u/Stephan_Janssen)\
**Post date:** [November 7, 2010, 10:22am UTC](https://community.wowza.com/t/user-authentication-using-http-streaming/35612/3 "2010-11-07T10:22:19Z")

</div>

Indeed, thank you.

I’ve also received this link which works perfectly: [https://www.wowza.com/docs/how-to-control-access-to-apple-hls-streaming-cupertinostreaming](https://www.wowza.com/docs/how-to-control-access-to-apple-hls-streaming-cupertinostreaming)
