Keeping config file settings safe.

I've created an application that is to be used on client sites.
The trouble is, the app uses a web service and some of the clients use a proxy.
I need the application to read the username and password credentials from a config file.

But having the proxy credentials readable in a config file doesn't seem to great to me.
Is there another way of keeping these credentials safe ?
LVL 10
Kinger247Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
shahprabalConnect With a Mentor Commented:
files with .config extensions are not accessible from anywhere other than the server as far as i know... you can use a simple encryption class to encrypt and decrypt values in the config file if you are not comfortable storing values in plain text...

here are some options for encrypt/decrypt classes :

http://www.codeproject.com/dotnet/Cryptor.asp
http://www.codeproject.com/managedcpp/EncDecExt.asp
http://www.codeproject.com/aspnet/encrypt.asp

0
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.