A
Aneesh P
Hi All,
I need to encrypt some fields esp password key values in configuration
file while installting the application using .Net installer project
and decrypt those values from my solution(windows service). Is there
any built in method in.Net that I can use. The flow would be like
this:
Accept username/password from .Net installer dialog
V
Encrypt the value for password while writing into config file
V
Decrypt the value for password in windows service code
I tried Googling but most of the links provide information on
encryptiing the complete <appSettings> sections. I would want to
encrypt only the value for Password key in appsettings.Would
appreciate if anybody could give any inputs on this.
Thanks in advance,
Aneesh
I need to encrypt some fields esp password key values in configuration
file while installting the application using .Net installer project
and decrypt those values from my solution(windows service). Is there
any built in method in.Net that I can use. The flow would be like
this:
Accept username/password from .Net installer dialog
V
Encrypt the value for password while writing into config file
V
Decrypt the value for password in windows service code
I tried Googling but most of the links provide information on
encryptiing the complete <appSettings> sections. I would want to
encrypt only the value for Password key in appsettings.Would
appreciate if anybody could give any inputs on this.
Thanks in advance,
Aneesh