I'm new in ASP.NET and I'm making a WebSite that gets data from a database through an ODBC.
我是ASP.NET的新手,我正在创建一个通过ODBC从数据库获取数据的WebSite。
I've the connection string in the Web.Config and I don't like it. If someone gets the Web.Config they can get to the database.
我在Web.Config中有连接字符串,我不喜欢它。如果有人获得Web.Config,他们可以访问数据库。
Is it possible to encrypt this data?
是否可以加密这些数据?
1 个解决方案
#1
7
Read this article. It shows more information on how to protect your connectionstrings.
阅读这篇文章。它显示了有关如何保护连接线的更多信息。
#1
7
Read this article. It shows more information on how to protect your connectionstrings.
阅读这篇文章。它显示了有关如何保护连接线的更多信息。