By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 2,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

How to encrypt password string in my .config xml file (and .ini fi

P: n/a
Hi,

In my project I have a need for encrypting the password portion (only
password, not the whole file) of my database connection string, so the
password doesn't show as plain text. So, basicly, what I need are two pieces:
a piece of code (can be ran seperately as utility) that encypt the password,
and code that, at application run-time, read and decrypt the password.

How do I do that?

Please help!

Thanks

Feng
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Feng wrote:
Hi,

In my project I have a need for encrypting the password portion (only
password, not the whole file) of my database connection string, so the
password doesn't show as plain text. So, basicly, what I need are two pieces:
a piece of code (can be ran seperately as utility) that encypt the password,
and code that, at application run-time, read and decrypt the password.

How do I do that?

Please help!

Thanks

Feng


This article talks about .Net encryption and has a section on string
encryption.

http://www.devarticles.com/c/a/VB.Ne...al-Basic-.NET/

Chris
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.