需要加密 Web 配置文件中的某些部分
我需要加密 Web 配置文件中的设置部分。我该怎么做?
这是我的配置文件,它的名称与 web.config 不同。
--configuration--
--settings--
--add key="conn-string" value="Dsn=XXXXXX;uid=sa;pwd=XXXXX--
--add key="provider" value="System.Data.Odbc"--
--add key="Timeout" value="300"--
--settings--
--configuration--
I need to encrypt the settings section in a web config file. How can I do this?
This is my config file and it has a different name than web.config.
--configuration--
--settings--
--add key="conn-string" value="Dsn=XXXXXX;uid=sa;pwd=XXXXX--
--add key="provider" value="System.Data.Odbc"--
--add key="Timeout" value="300"--
--settings--
--configuration--
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这可能对您有帮助:
加密Web.Config 或 App.Config 部分
问候
Maybe this may help you:
Encrypt sections of Web.Config or App.Config
Regards