Encrypting appSettings in web.config

前端 未结 4 1649
夕颜
夕颜 2020-11-28 10:19

I am developing a web app which requires a username and password to be stored in the web.Config, it also refers to some URLs which will be requested by the web app itself an

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 10:46

    1. Publish your project
    2. Open Developer command Prompt as Administrator
    3. use this command asp_rigiis -pef "appSettings" "C:\yourPublishPath" -prov "DataProtectionConfigurationProvider"

提交回复
热议问题