Any number of tags can be included in a policy file : cross domain policy « Development « Flash / Flex / ActionScript






Any number of tags can be included in a policy file

 

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
  SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="example1.com"/>
  <allow-access-from domain="example2.com"/>
  <allow-access-from domain="example3.com"/>
</cross-domain-policy>

        








Related examples in the same category

1.Adobe's official policy-file syntax is XML-based and has the following structure:
2.the * character authorizes all origins:
3.A policy file is an XML file that lists any domains that are allowed access to the code in the .swf.
4.To allow access to any and all domains
5.Explicitly deny access to any domain except the current one
6.The following policy file allows all domains to connect to ports 80 and 110 (standard HTTP and POP mail ports):