Encrypting connectionStrings section - utility for app.config

前端 未结 4 1978
不知归路
不知归路 2020-11-30 05:58

Is there a utility that will encrypt a named configuration section (or just the connectionStrings section) in an app.config file in a similar manne

4条回答
  •  鱼传尺愫
    2020-11-30 06:35

    You can try the following:

    https://magenic.com/thinking/encrypting-configuration-sections-in-net

    In short - rename the app.config file to web.config - the schema is identical, so aspnet_regiis works. Rename back to app.config when finished.

提交回复
热议问题