如何在配置文件中隐藏/加密密码和用户名
问题描述:
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!