保护您的连接字符串 [英] Securing your connection string
本文介绍了保护您的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您认为我最好的方法是在共享服务器上编码或保护您的数据库连接字符串?
What i sthe best way, in you opinion, to encode or protect your database connection strings on a shared server?
推荐答案
您好,
您可以使用Microsoft加密类对配置文件或存储连接字符串的文件进行加密.
http://msdn.microsoft.com/zh-CN/library/system.io.file.encrypt.aspx
如果有帮助,请回复.
谢谢
Vaibhav J
Hi,
You can encrypt your config file or the file in which you stored connection string using microsoft encryption class.
http://msdn.microsoft.com/en-us/library/system.io.file.encrypt.aspx
Reply if helpful.
Thanks
Vaibhav J
这篇关于保护您的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文