仅连接到受信任设备的 Web 服务

发布于 2024-08-17 03:08:15 字数 308 浏览 5 评论 0原文

我正在进行一个使用 Web 服务与手持设备(运行 Windows Mobile 5 的符号 MC70s)进行通信的项目。

我们需要确保互联网上的其他人无法连​​接到网络服务并开始发送信息。

我已经制作了一个证书,以便手持设备只能连接到我的服务,但我不知道如何确保我的服务只连接到我的手持设备。

我的应用程序是在 .NET Compact Framework 中编码的,我使用的是 Visual Studio 2008 SP1。我的服务托管在 IIS 中,并使用 C# (.NET 3.5 sp1) 中的 WCF 进行编码。

有什么想法吗?

I am on a project that uses web services to communicate with hand held devices (Symbol MC70s running windows mobile 5).

We need to make sure that others on the internet can't connect to the web services and start sending info.

I have made a certificate so that the hand held will only connect to my services, but I don't know how to make sure that my services will only connect to my hand held devices.

My app is coded in the .NET Compact Framework and I am using Visual Studio 2008 SP1. My services are hosted in IIS and are coded with WCF in C# (.NET 3.5 sp1).

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

所有深爱都是秘密 2024-08-24 03:08:15

使用密码保护服务。或者,通过客户端 SSL 证书对客户端进行身份验证并将其颁发给您的用户。

无法锁定对特定设备的访问。设备很容易被欺骗。

Password-protect the services. Alternatively, authenticate the client by the client SSL certificate and issue those to your users.

No way to lock access down to a specific device. A device can be spoofed fairly easily.

恍梦境° 2024-08-24 03:08:15

当您说您已经“...制作了一个证书,以便手持设备只能连接到我的服务”时,您是说该设备使用 https 来连接网络服务,还是该设备是否被锁定为仅连接到 Web 服务 http URL?

无论如何,如果您担心从网络服务中提取的数据,您可以使用设备已知的密钥对其进行加密。

When you say that you've "... made a certificate so that the hand held will only connect to my services", are you saying that the device uses https to the web service or that the device is locked down to only connect to the web service http URL?

Anyway, if you are concerned about the data pulled from the web service, you could encrypt it with a key known to your device.

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