【问题标题】:Encrypt ApplicationServices ConnectionString加密应用程序服务连接字符串
【发布时间】:2010-02-22 21:28:19
【问题描述】:

有没有办法在后面的代码中设置 .NET ApplicationServices 连接字符串?而不是在我的 web.config 中有纯文本?或者我可以把加密的值放在那里然后解密并再次传递吗?

谢谢!

【问题讨论】:

    标签: .net security web-config asp.net-membership


    【解决方案1】:

    您可以在配置文件中加密设置。 Here is the article on MSDN on how.

    【讨论】:

      【解决方案2】:

      你可以create/implement/useProtectedConfigurationProvider透明解密配置设置。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-06-25
        • 1970-01-01
        • 2011-05-19
        • 1970-01-01
        • 2015-04-18
        • 1970-01-01
        • 1970-01-01
        • 2020-06-25
        相关资源
        最近更新 更多