<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://try-as400.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Security_considerations_with_DDM</id>
	<title>Security considerations with DDM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://try-as400.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Security_considerations_with_DDM"/>
	<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Security_considerations_with_DDM&amp;action=history"/>
	<updated>2026-04-23T16:07:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>http://try-as400.pocnet.net/index.php?title=Security_considerations_with_DDM&amp;diff=1163&amp;oldid=prev</id>
		<title>PoC: New</title>
		<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Security_considerations_with_DDM&amp;diff=1163&amp;oldid=prev"/>
		<updated>2022-07-23T21:34:38Z</updated>

		<summary type="html">&lt;p&gt;New&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;[https://en.wikipedia.org/wiki/Distributed_Data_Management_Architecture DDM]&amp;#039;&amp;#039;&amp;#039; uses the &amp;#039;&amp;#039;&amp;#039;QUSER&amp;#039;&amp;#039;&amp;#039; profile by default, when another machine accesses files. This might pose a possible &amp;#039;&amp;#039;&amp;#039;security issue&amp;#039;&amp;#039;&amp;#039;, because data can be read and written by an anonymous user.&lt;br /&gt;
&lt;br /&gt;
On the AS/400 DDM can be used by creating a DDM file with the &amp;lt;code&amp;gt;CRTDDMF&amp;lt;/code&amp;gt; command, and using the &amp;lt;code&amp;gt;RMTFILE&amp;lt;/code&amp;gt; parameter fields to point to a valid file on the remote server.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;RMTLOCNAME&amp;lt;/code&amp;gt; parameter can either point to a SNA/APPN node, or to an IP host name.&lt;br /&gt;
* APPN/APPC is enabled by default on OS/400. As soon as an APPN adjacency has been configured between any two machines, DDM can be used. It&amp;#039;s an APPC service which is started on demand by a requesting APPC client. Given the usually limited reach of SNA networks today, and the necessity of former APPN configuration steps, the chance of a really anonymous attacker abusing this capability is low.&lt;br /&gt;
* If you don&amp;#039;t need DDM functionality over TCP/IP transport, simply &amp;lt;code&amp;gt;ENDTCPSVR SERVER(*DDM)&amp;lt;/code&amp;gt;, and make sure you disable autostart (&amp;lt;code&amp;gt;CHGDDMTCPA AUTOSTART(*NO)&amp;lt;/code&amp;gt;).&lt;br /&gt;
* If you need DDM functionality over TCP/IP transport, make sure you set &amp;lt;code&amp;gt;PWDRQD&amp;lt;/code&amp;gt; at least to &amp;lt;code&amp;gt;*YES&amp;lt;/code&amp;gt;, better to &amp;lt;code&amp;gt;*ENCRYPTED&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
* [https://www.ibm.com/support/pages/changing-ddm-jobs-using-quser-user-profile Changing DDM Jobs from Using the QUSER User Profile], IBM&lt;br /&gt;
* [https://www.itjungle.com/2004/05/26/security-and-ddm-files/ Security and DDM Files], IT Jungle&lt;br /&gt;
&lt;br /&gt;
[[Category: Software Configuration Guide]]&lt;br /&gt;
[[Category: System Administration]]&lt;br /&gt;
[[Category: Security]]&lt;/div&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
</feed>