Need an encrypted connection string and stmp information in the web.config file

I want to save the encrypted connection string and stmp information in the web.config file.

Can I store information about connection strings and SMTP in an encrypted web.config file and where do I just need to decrypt and use it?

OR

What is the point / event where I can encrypt the connection string and SMTP and save it in the web.config file? (and if changes happen in web.config that the existing session has expired?)

What is the best solution?

thanks

0
source share
1 answer

aspnet_regiis.exe - pe/pd/pef pdf. . . connectionStrings smtp.

DPAPI RSA , .

+1

All Articles