Using ASPNet_Regiis to encrypt custom configuration section - can you do it?

前端 未结 5 2040
南旧
南旧 2020-12-23 17:18

I have a web application with a custom configuration section. That section contains information I\'ld like to encrypt (was hoping to use ASPNet_RegIIS rather than do it mys

5条回答
  •  萌比男神i
    2020-12-23 17:27

    I am using a workaround whereby I temporarly comment out the contents of the configSections element:

    
        
    
    

    You can then run the encryption using aspnet_regiis -pef as usual. After this has run just uncomment the section and your site is ready to run.

提交回复
热议问题