微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

flash 安全策略文件

<?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>

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐