473,499 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web.config and Passwords

Is there a better way to store data base passwords in web.config file rather
then having them on clear

Jay
Nov 17 '05 #1
4 2200
Staffing,

Here's a great article on how to use hashed passwords in the web.config
file:

http://www.15seconds.com/issue/020305.htm

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Staffing" <jj******@yahoo.com> wrote in message
news:vk************@news.supernews.com...
Is there a better way to store data base passwords in web.config file rather then having them on clear

Jay

Nov 17 '05 #2
Staffing,

Here's a great article on how to use hashed passwords in the web.config
file:

http://www.15seconds.com/issue/020305.htm

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Staffing" <jj******@yahoo.com> wrote in message
news:vk************@news.supernews.com...
Is there a better way to store data base passwords in web.config file rather then having them on clear

Jay

Nov 17 '05 #3
Its a lot safer to hash passwords. The only time you can't do it is if you
need to be able to get the password clear text at one point or another, then
you have to encrypt.

Jerry

"Somchai U." <so*****@no-email.com> wrote in message
news:uY*************@tk2msftngp13.phx.gbl...
You can encrypt them.

Somchai

"Staffing" <jj******@yahoo.com> wrote in message
news:vk************@news.supernews.com...
Is there a better way to store data base passwords in web.config file

rather
then having them on clear

Jay


Nov 17 '05 #4
So I have to write the Encryption / Decryption code ? Or is it a built in
function in .NET. Where do I store the key ? Do I hard code that into the
code ?. Should I just use a 3DES encryption ?

Thanks

Jay

"Ravikanth[MVP]" <dv*********@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Hi

you can put encrypted password in web.config file.
Ravikanth[MVP]

-----Original Message-----
Is there a better way to store data base passwords in

web.config file rather
then having them on clear

Jay
.

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4585
by: will taubin | last post by:
i would like my program to have a config.php with passwords and other stuff. i would like to have a functions.php to hold all my functions. i would like the functions.php to include/require...
11
4267
by: Florian Lindner | last post by:
Hello, I've a scripts that allows limited manipulation of a database to users. This script of course needs to save a password for the database connection. The users, on the other hand need read...
0
276
by: Staffing | last post by:
Is there a better way to store data base passwords in web.config file rather then having them on clear Jay
3
16535
by: John Buchmann | last post by:
In my web.config, I have a section that has a name and password: <credentials passwordFormat="Clear"> <user name="aaa" password="bbb" /> </credentials> Is this secure? What is to stop...
2
2268
by: Chris Dunaway | last post by:
I have a web service that references a data class library which performs SQL Server access. Since the web service is also a class library, there is no App.Config, only Web.config. Is Web.Config...
5
3664
by: Jason Chan | last post by:
I have a subfolder in a webapp How can the aspx in the subfolder access the web.config in the webapp. I.e. I stored the connectionstring in the \webapp\web.config how the...
4
1218
by: Joshua Kendall | last post by:
This is the code that I currently Have for one password how do I specify multiple ones? There is no "or" statement! What do I do? Private Sub LoginBTN_Click(ByVal sender As System.Object, ByVal...
6
4365
by: Bob | last post by:
Hi, i was wondering whether i would use global.asax or web.config for the connectionstring to the database. I put this in global.asax. Sub Application_Start Application("Connect") =...
5
2845
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a app that uses several membership/role providers. I can list these Providers with the code: Dim rootWebConfig1 As Configuration rootWebConfig1 =...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4602
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.