Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Connection Strings app.config and encrypting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amy L. - 22 Sep 2007 19:42 GMT
I have a .Net 2.0 windows forms application where a user will supply a
connection string for their database server during initial
configuration.  I want to make sure this string is encrypted when its
stored in the app.config file or whatever xml based configuration file I
use.  I can encrypt the data using the built in crypto classes in .Net,
but the question comes in how can I securely store the keys used for
encryption.

Is there any best practices or advise on going about doing this?  Maybe
something even built into .Net for this?

Amy.
raylopez99 - 23 Sep 2007 10:56 GMT
> I have a .Net 2.0 windows forms application where a user will supply a
> connection string for their database server during initial
[quoted text clipped - 8 lines]
>
> Amy.

It's over my head.  Crypto stuff is pretty complicated but I noticed
reading some ads in Dr Dobbs Journal that a number of people have
crypto libraries that are cheap (less than $500) and easy (they say)
to use in VS.

If you're a professional programmer, I would just buy one of those.

RL

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.