Adobe Socket 策略文件服务器问题 [英] Adobe Socket Policy File Server Problems
本文介绍了Adobe Socket 策略文件服务器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人能够成功地实现一个服务来为 FlashPlayer 提供所需的套接字策略文件?
Has anyone been able to successfully implement a service to serve the required socket policy file to FlashPlayer?
我在
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
并使用以下策略文件:
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
</cross-domain-policy>
并从 Flash 接收此消息:
and receiving this message from Flash:
[SecurityErrorEvent type="securityError" bubbles=false
cancelable=false eventPhase=2
text="Error #2048:
Security sandbox violation: http://www.mapopolis.com/family/Tree.swf
cannot load data from www.mapopolis.com:1900."]
谢谢.
推荐答案
现在有一个模块让 Apache 网络服务器可以服务与新的 Flash 9.whatever 和 Flash 10+ 兼容的套接字策略文件,这些文件需要提供套接字策略文件使用 Adobe 套接字协议.
There's now a module for the Apache webserver to server socket policy files compatible with the new Flash 9.whatever and Flash 10+ which require socket policy files to be served using the Adobe socket protocol.
http://www.beamartyr.net/articles/adobepolicyfileserver.html
这篇关于Adobe Socket 策略文件服务器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文