# RTMP Sources RTMP publishing not allowed

**URL:** <https://community.wowza.com/t/rtmp-sources-rtmp-publishing-not-allowed/49189>\
**Category:** Wowza Streaming Engine\
**Created:** [July 14, 2017, 3:00pm UTC](https://community.wowza.com/t/rtmp-sources-rtmp-publishing-not-allowed/49189 "2017-07-14T15:00:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Bednar1](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@Peter\_Bednar1](https://community.wowza.com/u/Peter_Bednar1)\
**Post date:** [July 14, 2017, 3:00pm UTC](https://community.wowza.com/t/rtmp-sources-rtmp-publishing-not-allowed/49189/1 "2017-07-14T15:00:59Z")

</div>

Hi

I am trying to set up ansible script to deploy and maintain application. I am deploying new application using default XML file and changing lines according to requirements, but my application has in WSEM “Source Security” - “Sources RTMP publishing not allowed” and I am unable to connect from encoder.

How can I set rtmp Source Security to “Require password authentication” from XML

thanks

---

<div class="post-metadata">

**Author:** ![Alex\_C](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Alex\_C](https://community.wowza.com/u/Alex_C)\
**Post date:** [July 22, 2017, 5:06am UTC](https://community.wowza.com/t/rtmp-sources-rtmp-publishing-not-allowed/49189/2 "2017-07-22T05:06:55Z")

</div>

Hello Peter,

When the application is set to not allow access for RTMP encoders then the is left blank, to allow RTMP encoders to publish either with or without authentication you must put a \* \*

```auto
<Client>
	<IdleFrequency>-1</IdleFrequency>
	<Access>
		<StreamReadAccess>*</StreamReadAccess>
		<StreamWriteAccess></StreamWriteAccess>
		<StreamAudioSampleAccess></StreamAudioSampleAccess>
		<StreamVideoSampleAccess></StreamVideoSampleAccess>
		<SharedObjectReadAccess>*</SharedObjectReadAccess>
		<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
	</Access>
</Client>

```

To set the application to require authentication you must add a property to the section at the end of the .xml file:

```auto
<Property>
	<Name>securityPublishRequirePassword</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

```

Hope this helps you with creating a script to deploy your applications.

Regards,

Alex C.
