# RTMP authentication, RTSP authentication =\> problem

**URL:** <https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [November 5, 2011, 2:48pm UTC](https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497 "2011-11-05T14:48:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_Vanhaute](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Nicolas\_Vanhaute](https://community.wowza.com/u/Nicolas_Vanhaute)\
**Post date:** [November 5, 2011, 2:48pm UTC](https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497/1 "2011-11-05T14:48:40Z")

</div>

hi,

I’m using wowza for live streaming. Stream comes from FMLE and is delivered by wowza in flash (via webpage) + in rtsp.

I wanted to authenticate the link between FMLE and Wowza with a username/password, so I installed MediaSecurity package. I changed application.xml and add user.pwd in .password file =\> all works fine

But now, I publish stream in rtsp and I need to get authentication from client =\> I changed again application.xml to do it but… we need to use same user/pwd already used to authenticate FMLE\<=\>Wowza ???

Question is : how to put user1/pwd1 for FMLE\<=\>Wowza and user2/pwd2 for rtsp access ?

Regards

Nicolas

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 8, 2011, 8:15pm UTC](https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497/2 "2011-11-08T20:15:16Z")

</div>

Nicolas,

They use the same password file already /conf/publish.password

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 9, 2011, 9:21am UTC](https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497/3 "2011-11-09T09:21:33Z")

</div>

Take a look at /conf/Authentication.xml, you can change the file name there.

And this might be useful:

[https://www.wowza.com/docs/how-to-use-a-per-application-publish-password-file](https://www.wowza.com/docs/how-to-use-a-per-application-publish-password-file)

Richard

---

<div class="post-metadata">

**Author:** ![Nicolas\_Vanhaute](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Nicolas\_Vanhaute](https://community.wowza.com/u/Nicolas_Vanhaute)\
**Post date:** [November 9, 2011, 8:20am UTC](https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497/4 "2011-11-09T08:20:39Z")

</div>

> Nicolas,
> 
> They use the same password file already /conf/publish.password
> 
> Richard

hi Richard,

Indeed, that’s why I asked how to specify to use an other password file

if it’s not possible that’s very strange because both things are not linked

Nicolas

---

<div class="post-metadata">

**Author:** ![Nicolas\_Vanhaute](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Nicolas\_Vanhaute](https://community.wowza.com/u/Nicolas_Vanhaute)\
**Post date:** [November 9, 2011, 11:01am UTC](https://community.wowza.com/t/rtmp-authentication-rtsp-authentication-problem/37497/5 "2011-11-09T11:01:57Z")

</div>

> Take a look at /conf/Authentication.xml, you can change the file name there.
> 
> And this might be useful:
> 
> [Use per-application password files](https://www.wowza.com/docs/how-to-use-a-per-application-publish-password-file)
> 
> Richard

Thanks, I succeeded to do what I wanted 🙂

if someone is interested :

- in authentication.xml I changed value for basic auth to point to an other pwd file

- created this new file and add user/pwd in it

now i have one user/pwd for the link between FMLE \<=\> Wowza

and an other for rtsp clients

Nicolas
