| unity |
Unity Technote 00003: Configuring Unity to serve a socket master policy file
This technote describes how to configure Unity Multiuser Server to serve a socket master policy file in order to address Flash Player security restrictions introduced by Adobe in April 2008.
Note: on Unix and Linux-based systems, the following procedure typically requires root-level system access. Customers that do not have root access should serve regular socket policy files instead of a master policy file.
policy.xml.policy.xml with the following code. Change example.com to the domain on which Unity Multiuser Server is running. Change 9100,9101 to your desired list of authorized ports. Note:
<allow-access-from> tags.all to master-only.<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*.example.com" to-ports="9100,9101" />
</cross-domain-policy>
uconfig.xml.<SERVICE> tag containing the <ID>PolicyFileService</ID> tag. Inside that <SERVICE> tag, change <PORT>9102</PORT> to <PORT>843</PORT>. For example:
<SERVICE>
<ID>PolicyFileService</ID>
<CLASSNAME>org.moock.unity.opt.policyserver.PolicyServer</CLASSNAME>
<ATTRIBUTES>
<PORT>843</PORT>
<POLICY_FILE>policy.xml</POLICY_FILE>
</ATTRIBUTES>
</SERVICE>
Revision history
April 5, 2008: Posted