XBAP 应用程序和远程处理 - 我应该使用 SSL 证书吗

发布于 2024-08-01 14:02:22 字数 132 浏览 3 评论 0原文

我正在考虑将现有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨夜星沙 2024-08-08 14:02:22

您的问题实际上有两个问题:

  1. 我可以将我的远程应用程序切换到 XBAP 吗?
  2. 如何使用 SSL 保护我的远程会话?

关于第一个问题,请注意 您可以仅在完全信任模式下使用Remoting,而XBAP应用程序默认工作在部分信任模式下。 要启用完全信任 XBAP,您必须 经历颁发证书并将其安装到客户端计算机的痛苦过程(除非它们都在同一个域中,并且您可以在该域中创建受信任的站点)。

关于第二个问题,请看一下这篇文章

希望能帮助到你。

There are 2 questions in your question actually:

  1. Can I switch my Remoting app to XBAP?
  2. How can I secure my Remoting sessions with SSL?

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文