cross domain policy « Development « Flash / Flex / ActionScript






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