XBAP 应用程序和远程处理 - 我应该使用 SSL 证书吗
我正在考虑将现有 WPF 应用程序部署为 XBAP 应用程序。 它目前使用 TCP 远程处理,我可能会更改为 HTTP 远程处理。 保护通信安全的最佳方法是什么?在远程服务器上使用 SSL 证书是否足够,或者在这种情况下是否需要采取进一步的步骤?
I am considering deploying an existing WPF application as an XBAP application. It currently uses TCP remoting which i would likely change to HTTP remoting. What is the best way to secure the communication - will using an SSL certificate on the remoting server be sufficient or are further steps necessary in such a scenario?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的问题实际上有两个问题:
关于第一个问题,请注意 您可以仅在完全信任模式下使用Remoting,而XBAP应用程序默认工作在部分信任模式下。 要启用完全信任 XBAP,您必须 经历颁发证书并将其安装到客户端计算机的痛苦过程(除非它们都在同一个域中,并且您可以在该域中创建受信任的站点)。
关于第二个问题,请看一下这篇文章。
希望能帮助到你。
There are 2 questions in your question actually:
With regards to the first question, note that you can only use Remoting under the full trust mode, while XBAP applications work under partial trust by default. To enable full trust XBAP you'll have to go through a painful way of issuing a certificate and installing it to the clients' machines (unless they are all in the same domain and you can create a trusted site in that domain).
With regards to the second question, take a look at this article.
Hope it helps.