User Name and Password in Config file



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

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.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question