数据通信 - 通过互联网升级到数据库 [英] Data communications - Winforms to database over the internet

查看:80
本文介绍了数据通信 - 通过互联网升级到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我对从winforms到SQL server数据库的数据通信感到困惑。



以下是场景:



我正在开发一个Windows应用程序,我将通过ClickOnce发布技术。

因此,客户端驻留在用户PC上,数据将被传送到互联网上的SQL服务器数据库。



我担心从用户PC传输到数据库的数据的数据安全性。



任何人都可以了解如何保护数据。



FYI:我可以实现一个具有SQL服务器连接字符串的数据层。如果需要,我也可以实施网络服务等。

我对所有建议持开放态度。



谢谢。



问候,

Nayan

Dear all,

I have puzzled myself over data communications from winforms to the SQL server database.

Here is the scenario:

I am developing a windows application which I will be publishing via ClickOnce technology.
Therefore, the client resides on user PC and the data will be communicated to a SQL server database on the internet somewhere.

I am concerned for the data security of the data transmitted from the user PC to the database.

Can anyone shed some light on how to secure the data.

FYI: I can implement a data layer which has the connection string to the SQL server. If required, I can also implement web services, etc etc.
I am open to all suggestions.

Thanks.

Regards,
Nayan

推荐答案

我建​​议您研究WCF和Web服务。
I suggest that you look into WCF and Web Services.


WCF可能是一个不错的选择。您可以利用WS-Security提供的属性 - 它描述了如何处理SOAP消息中的安全问题。 WS-Security将签名和加密信息以及安全性令牌分配给SOAP消息。除了提供传统的HTTP / HTTPS身份验证之外,它还在SOAP消息的标头中包含额外的安全功能,在应用程序层中工作。



有关WS-Security的更多信息,您可以访问此MSDN站点:http://msdn.microsoft.com/en-us/library/ms977327.aspx



祝你好运!
WCF might be a good option for you. You can take advantage of the attributes that WS-Security provides – it describes how to handle security issues within the SOAP messages. WS-Security assigns the signature and encryption information as well as the security tokens to the SOAP messages. Besides offering the traditional HTTP/HTTPS authentications, it also incorporates extra security features in the header of the SOAP message, working in the application layer.

For more information on WS-Security, you can visit this MSDN site: http://msdn.microsoft.com/en-us/library/ms977327.aspx

Good luck!


谢谢大家的解决方案......

这肯定开了我的方向..

再次感谢..



干杯,

Nayan
Thanks everyone for the solutions...
This has certainly opened up my direction..
Thanks again..

Cheers,
Nayan


这篇关于数据通信 - 通过互联网升级到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆