red5:我可以使共享对象在客户端只读吗?
我在聊天应用程序中使用共享对象,但我希望我的 red5 监视传入的每个字符串。我如何确保客户端无法修改共享对象?
就我而言,客户端是使用 adobe flash builder beta 2 (flex4) 编写的,
谢谢!
I'm using shared objects for a chat application, but i want my red5 to monitor every string that comes in. how can i make sure that the client side won't be able to modify the shared objects ?
In my case the client side is written using adobe flash builder beta 2 (flex4)
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎我需要使用
registerSharedObjectSecurity
http://dl.fancycode.com/red5/api/org/red5/server/adapter/MultiThreadedApplicationAdapter.html#registerSharedObjectSecurity%28org.red5.server .api.so.ISharedObjectSecurity%29
注册 ISharedObjectSecurity 类,并对我的共享对象进行限制。
http://dl.fancycode.com/red5 /api/org/red5/server/api/so/ISharedObjectSecurity.html
将在我测试它时发布完整的答案。
seems that i need to use
registerSharedObjectSecurity
http://dl.fancycode.com/red5/api/org/red5/server/adapter/MultiThreadedApplicationAdapter.html#registerSharedObjectSecurity%28org.red5.server.api.so.ISharedObjectSecurity%29
to register a ISharedObjectSecurity class with restrictions to my shared object.
http://dl.fancycode.com/red5/api/org/red5/server/api/so/ISharedObjectSecurity.html
gonna post a full answer while i'll test it.