Encrypt password in the web.config file - How To

Issue:
Encrypt password in the web.config file

Solution:
Please find below guide detailing out “Encrypting Web.config Sections”

Also, further related information

I have implemented the steps in my system just to confirm the steps one by one.
Kindly follow the same.
Image_2019-04-03_18-58-48.png

Information retrieved from the IIS and config file. I have highlighted the same

Web.config file before encryption
Image_2019-04-03_19-02-16.png

Applied the values to the cmd for execution
Image_2019-04-03_19-03-11.png

Config file after encryption
Image_2019-04-03_19-04-10.png

1 Like