Page 1 of 1

encrypt/decrypt fields/objects in appsettings.json

Posted: Thu Feb 01, 2018 5:12 pm
by mah2563

How to encrypt/decrypt fields/objects in appsettings.json (asp.net maker 2018)?
I want to encrypt the connection string in appsetings.json and decrypt before passing.


Re: encrypt/decrypt fields/objects in appsettings.json

Posted: Fri Feb 02, 2018 10:43 am
by Webmaster

Currently there is no simple way. You need to implement your own encrypt/decrypt logic. Modify the content of the generated appsettings.json and use the Database_Connecting server event to do the decryption.