有人可以发布一个格式良好的crossdomain.xml示例? [英] Can someone post a well formed crossdomain.xml sample?
本文介绍了有人可以发布一个格式良好的crossdomain.xml示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在阅读Adobe在Flash 9-10中使crossdomain.xml更严格,我想知道有人可以粘贴我知道的作品的副本。在Adobe网站上找到一个最近的示例时遇到了一些麻烦。
解决方案
这是我一直用于开发的内容:
<?xml version =1.0?>
<跨网域政策>
< allow-access-from domain =*/>
< / cross-domain-policy>
这是一个非常自由的方法,但对我的应用程序来说很好。 b
像其他人指出的那样,要小心这种风险。
I've been reading that Adobe has made crossdomain.xml stricter in flash 9-10 and I'm wondering of someone can paste me a copy of one that they know works. Having some trouble finding a recent sample on Adobe's site.
解决方案
This is what I've been using for development:
<?xml version="1.0" ?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
This is a very liberal approach, but is fine for my application.
As others have pointed out below, beware the risks of this.
这篇关于有人可以发布一个格式良好的crossdomain.xml示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文