Solved

Keeping config file settings safe.

Posted on 2006-10-31
2
167 Views
Last Modified: 2010-04-23
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 ?
0
Comment
Question by:Kinger247
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
shahprabal earned 250 total points
ID: 17841866
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
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 17843726
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question