如何在配置文件中隐藏/加密密码和用户名 [英] How Do I Hide/Encrypt Password And Username In A Config File

查看:466
本文介绍了如何在配置文件中隐藏/加密密码和用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述









i想要隐藏我的密码和用户名详细信息任何人打开我使用ssis创建的配置文件。任何人都可以帮我提出你的意见和建议..







谢谢和最好的问候,

Durga。





i want to hide my password and username details which will be seen when any people open my config file created using ssis. Can any one help me with your suggestions and ideas please..



thanks & best regards,
Durga.

推荐答案

假设您的意思是连接字符串的用户名和密码,请参阅此处:MSDN:如何在使用数据源控件时保护连接字符串 [ ^ ]



如果你想在web.config中存储每个用户的实际用户信息,那么这是一个非常非常糟糕的想法,你应该重新考虑整个用户识别系统!
Assuming you mean the username and password for your connections strings, see here: MSDN: How to Secure Connection Strings When Using Data Source Controls[^]

If you mean to store actual user information for each user in web.config, then that is a very, very poor idea, and you should rethink your whole user identification system!


这篇关于如何在配置文件中隐藏/加密密码和用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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