?
Solved

Keeping config file settings safe.

Posted on 2006-10-31
2
Medium Priority
?
171 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
2 Comments
 
LVL 14

Accepted Solution

by:
shahprabal earned 1000 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 1000 total points
ID: 17843726
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Loops Section Overview
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses

569 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