User Name and Password in Config file

  • Thread starter Thread starter probashi
  • Start date Start date
P

probashi

I need to store username and password in my windows application
app.config file, from my application I am communicating to an external
system (CICS).

I believe, one of my options is to encrypt this in config file and
decrypt this inside my application using SymmetricAlgorithm
(System.Security.Cryptography).

My question is where should I store the key for encryption and
decryption. My application needs to know this for decryption and the
operation guys need to know this for encrypting user/pass (when there
is changes ).

I would like know the best practice regarding this.
 
Back
Top