在vb.net中的app.conifg中提供安全性 [英] provide secuirity in app.conifg in vb.net

查看:92
本文介绍了在vb.net中的app.conifg中提供安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发vb.net窗口应用程序,其中我已将app.config文件中的sql服务器的连接字符串设置为

i am devloping on vb.net window aplication where i have set the connection string to sql server in app.config file as

<appSettings>
    <add key="ConnectionString1" value="Server=MyServer;User ID=sa;Password=123456;Database=practice"/>
  </appSettings>



密码可见的服务器是我想删除的东西,所以有什么解决办法可以保护它..



where the password ,server are visible i want to remove this things so is there any solution to protect the same..

推荐答案

加密您的连接字符串
加密应用程序.配置连接字符串
Encypt your connection string
Encrypt or Decrypt Connection Strings in web.config file using ASP.NET[^]
Encrypt and Decrypt ConnectionString in app.config and/or web.config![^]
encrypt app.config connection strings


这篇关于在vb.net中的app.conifg中提供安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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