.Net 是否有任何内置控件来确保消息完整性?

发布于 2024-10-30 06:04:29 字数 344 浏览 1 评论 0原文

我知道我可以去阅读框架的源代码,但是为了节省时间并从社区获取一些东西,有谁知道是否有任何 .Net 类专门确保消息正确传递,或者协议本身是否处理这。

例如,我想确保以下场景:

  • 我编写的 SQL 语句在服务器上被接收,并且返回的结果与服务器发送的结果完全相同
  • 我的 Web 服务调用发送和接收的内容与预期完全一致
  • 我的 .Net 远程调用发送和接收的内容与预期的一致
  • WCF 相同

这是为了检查数据包是否未被篡改,网络中断并不意味着某些数据已丢失等。

这特别与 ISO 27001 有关,A12.2.3。

提前致谢。

I know I could go and read the source code of the Framework, but in the interests of saving time and getting something back fro mthe community, does anyone know if any .Net classes specifically ensure messages are delivered correctly, or if the protocols themselves handle this.

For example, I want to make sure of the following scenarios:

  • My SQL statement is received at the server as I wrote it, and the results that arrive back are exactly as the server sent them
  • My web service calls send and receive exactly what is expected
  • My .Net remoting calls send and receive exactly what is expected
  • Same for WCF

This is to check that the packets haven't been tampered with, that a network outage doesn't mean some data has been lost etc.

This specifically relates to ISO 27001, A12.2.3.

Thanks in advance.

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

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

发布评论

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

评论(1

无语# 2024-11-06 06:04:29

WCF TCP 绑定具有可靠消息传递的概念,这将确保您的数据契约可靠地交付。还有加密/签名功能,您可以在此处了解更多信息。

WCF TCP Binding has a notion of reliable messaging, which will ensure your data contracts are reliably delivered. There's also encryption/signing feature you can read more about here.

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