Encrypting config files for deployment .NET

前端 未结 2 1189
囚心锁ツ
囚心锁ツ 2021-01-16 21:38

I have a windows service that reads from app.config

I want some settings to be encrypted, however, I don\'t want to use the ProtectedConfigurationProvider classes pr

2条回答
  •  长发绾君心
    2021-01-16 21:42

    You can use user-level RSA keys and export them to each machine. then the config file can be encrypted ahead of time, and the target machines already have the key.

提交回复
热议问题