<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE cross-domain-policy SYstem "/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <!-- <site-control permitted-cross-domain-policies="master-only"/> --> <!--<allow-access-from domain="*" secure="false"/>--> <allow-access-from domain="*" to-ports="*" /> <!-- flash播放器版本更新成9.0.124之后 --> <allow-http-request-headers-from domain="*" headers="*"/> </cross-domain-policy>
另一个版本:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE cross-domain-policy SYstem "/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <!--<allow-access-from domain="*" secure="false"/>--> <allow-access-from domain="*" to-ports="*" secure="false"/> <!-- flash播放器版本更新成9.0.124之后 --> <allow-http-request-headers-from domain="*" headers="*" secure="true"/> </cross-domain-policy>
<cross-domain-policy> <allow-access-from domain="*" to-ports="507" /> <allow-access-from domain="*.mysite.com" to-ports="507,516" /> <allow-access-from domain="*.myothersite.com" to-ports="516-523" /> <allow-access-from domain="www.myothersite.com" to-ports="507,516-523" /> <allow-access-from domain="www.mysite.com" to-ports="*" /> <allow-access-from domain="flash.mysite.com" to-ports="*" /> </cross-domain-policy>