473,466 Members | 1,296 Online
Bytes | Software Development & Data Engineering Community
Create 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 2198
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
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
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
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
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
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
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
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
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
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 =...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.