首选套接字策略文件服务器实施?
我试图让我的 Flash 应用程序通过套接字连接到我的服务器,因此我需要设置一个套接字策略文件服务器。似乎有各种自行实现的实现,但是是否有任何类型的标准或最佳实践来使用什么?一些谷歌搜索没有结果,所以我很想知道其他人尝试过的优点和缺点。
顺便说一句,Adobe 强加了这一限制,但却没有提供任何可用的东西来支持它,这似乎很奇怪。
I'm trying to get my Flash application to connect via socket to my server, so I need to set up a socket policy file server. It seems like there are various roll-your-own implementations floating around out there, but is there any kind of standard or best practice with what to use? Some google searches turned up nothing, so I'd be curious to hear the pros and cons of what other people have tried.
As an aside, it seems strange that Adobe imposes this restriction but doesn't make something readily available to support it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我开发了它,所以我有偏见,但你可以看看 http://socketpolicyserver.com
该软件打包为 Debian 软件包,方便在 Debian 系统上安装、升级、删除或清除。
该软件被编写为 Apache 模块,并使用任何使用 Apache 的人都相对熟悉的配置文件。
该软件使用了跨平台的Apache Portable Runtime库,使得代码相对简单,并且易于审计。
该软件使用了
该软件有详细记录,包括日志记录功能和工作配置文件。
这些是我在设计和打包软件时使用的一些最佳实践。这里有一个警告:
我知道这并不是您所要求的全部 - 只是几个优点和一个软件包的警告。
I developed it, so I'm biased, but you might look at http://socketpolicyserver.com
The software is packaged as a Debian package, making it easy to install, upgrade, delete, or purge on Debian systems.
The software is written as an Apache module and uses configuration files that are relatively familiar to anyone using Apache.
The software uses the cross-platform Apache Portable Runtime library, allowing the code to be relatively simple and easy to audit.
The software is well-documented and includes logging capabilites and working configuration files.
Those are some of the best practices I used when designing and packaging the software. And here is a caveat:
I know this isn't everything you asked - simply several pros and a caveat for one package.
Adobe 在此处提供了一些详细建议:
策略文件更改Flash Player 9 和 Flash Player 10
本文涵盖一系列主题,包括:
另请参阅此 stackoverflow 问题。
Adobe has some detailed advice here:
Policy file changes in Flash Player 9 and Flash Player 10
The article covers a range of topics, including:
See also this stackoverflow question.