Adobe's official policy-file syntax is XML-based and has the following structure: : cross domain policy « Development « Flash / Flex / ActionScript






Adobe's official policy-file syntax is XML-based and has the following structure:

 

<?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="domainOrIP"/>
</cross-domain-policy>

        








Related examples in the same category

1.Any number of tags can be included in a policy file
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):