By default, Wowza Streaming Engine uses one password file for all RTSP/RTP stream logins: [install-dir]/conf/publish.password. Every application on the server shares this file. If you want each application to have its own password file instead, follow the steps below.
Recommended for advanced users only. This requires editing an Authentication.xml file extracted from wms-server.jar, which require manual maintenance.
- Navigate to your WSE server's [install-dir]/lib directory.
- Extract Authentication.xml from wms-server.jar and copy it to [install-dir]/conf.
- Edit Authentication.xml and change the passwordFile property for the basic and digest authentication methods as follows:
From:
${com.wowza.wms.context.VHostConfigHome}/conf/publish.password
To:
${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/publish.password
- Each time you set up an application, create the file [install-dir]/conf/[application]/publish.password file to store the username and passwords for that application.
- For RTMP authentication, add this property to the <Properties> level container at the bottom of [install-dir]/conf/[application]/Application.xml. (Be sure to locate the correct <Properties> container; there are several in the file.)
<Property>
<Name>rtmpEncoderAuthenticateFile</Name>
<Value>${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/publish.password</Value>
</Property>




