# how to enable RTMP publishing with require password authentication with REST API.?

**URL:** <https://community.wowza.com/t/how-to-enable-rtmp-publishing-with-require-password-authentication-with-rest-api/54599>\
**Category:** Wowza Developer Dojo\
**Created:** [February 6, 2020, 7:54am UTC](https://community.wowza.com/t/how-to-enable-rtmp-publishing-with-require-password-authentication-with-rest-api/54599 "2020-02-06T07:54:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer\_goplaybook](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@developer\_goplaybook](https://community.wowza.com/u/developer_goplaybook)\
**Post date:** [February 6, 2020, 7:54am UTC](https://community.wowza.com/t/how-to-enable-rtmp-publishing-with-require-password-authentication-with-rest-api/54599/1 "2020-02-06T07:54:01Z")

</div>

Missing title. Missing body.

---

<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:** [February 6, 2020, 8:07pm UTC](https://community.wowza.com/t/how-to-enable-rtmp-publishing-with-require-password-authentication-with-rest-api/54599/2 "2020-02-06T20:07:01Z")

</div>

For you as admin:

You can update username and password credentials for your API calls here.

[https://www.wowza.com/docs/how-to-query-wowza-rest-api](https://www.wowza.com/docs/how-to-query-wowza-rest-api)

These are the same credentials that you use to login to the Manager UI.

You can change the authentication method as well:  
[https://www.wowza.com/docs/how-to-change-the-authentication-method-for-the-wowza-streaming-engine-rest-api](https://www.wowza.com/docs/how-to-change-the-authentication-method-for-the-wowza-streaming-engine-rest-api)

Although do note that this affects your login with the Manager UI as well, as the Manager uses the same RESTInterface.

**OR**

Are you asking about authenticating users so they can upload an RTMP stream to an application?

You may be able to achieve this by passing the credential name/password as a custom parameter in the publisher URL.

Here is a post discussing how this can be done via Java API for an RTMP source:  
[https://www.wowza.com/forums/showthread.php?13140-Custom-validation-of-Flash-Media-Live-Encoder-username-password-per-stream](https://www.wowza.com/forums/showthread.php?13140-Custom-validation-of-Flash-Media-Live-Encoder-username-password-per-stream)

Or, alternatively, you can look into the following module: [https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2)

Does this help you?

---

<div class="post-metadata">

**Author:** ![developer\_goplaybook](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@developer\_goplaybook](https://community.wowza.com/u/developer_goplaybook)\
**Post date:** [February 7, 2020, 5:49am UTC](https://community.wowza.com/t/how-to-enable-rtmp-publishing-with-require-password-authentication-with-rest-api/54599/3 "2020-02-07T05:49:49Z")

</div>

I have created an application with rest api. Going through wowza ui interface in can see in

" **Application–\> source security --\> RTMP Sources"** value was by default set as "

**RTMP publishing not allowed**" . I want to make this option set as **"Require password authentication**".

I can do this by going through wowza engine ui interface. but i want to set this value by rest api while application creation or may be by another rest api .

Hope this declaration can make my query clear to you.

@Rose Power-Wowza Community Manager

---

<div class="post-metadata">

**Author:** ![developer\_goplaybook](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@developer\_goplaybook](https://community.wowza.com/u/developer_goplaybook)\
**Post date:** [February 10, 2020, 7:46am UTC](https://community.wowza.com/t/how-to-enable-rtmp-publishing-with-require-password-authentication-with-rest-api/54599/4 "2020-02-10T07:46:54Z")

</div>

I have created an application with rest api. Going through wowza ui interface in can see in

" **Application–\> source security --\> RTMP Sources"** value was by default set as "

**RTMP publishing not allowed**" . I want to make this option set as **"Require password authentication**".

I can do this by going through wowza engine ui interface. but i want to set this value by rest api while application creation or may be by another rest api .

Hope this declaration can make my query clear to you.

@Rose Power-Wowza Community Manager
