473,320 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

password not reappearing, what's the best practice?

Hi,
I have an asp.net page where people can register. In this page, the user
must enter a password. Actually I user this form so the user can modify it's
data either... What is the best practice for making the password reappear? I
mean, the password is hashed, so I can't make it appear correctly, so I
suppose the text boxes contain dummy text? What should I do with this?

thanks

ThunderMusic
Sep 19 '06 #1
2 1314
You will have to capture the password prior to entering or move to some
other form of encryption with your provider. You can change in the
membership provider to encrypted instead of hashed. You will then have to
use the machine keys to pull the password back out. The only other option is
capturing the value of password prior to moving on, but this will only work
for this session, unless you store elsewhere, which defeats the purpose of
having ASP.NET security.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"ThunderMusic" <No*************************@NoSpAm.comwrote in message
news:O1**************@TK2MSFTNGP05.phx.gbl...
Hi,
I have an asp.net page where people can register. In this page, the user
must enter a password. Actually I user this form so the user can modify
it's data either... What is the best practice for making the password
reappear? I mean, the password is hashed, so I can't make it appear
correctly, so I suppose the text boxes contain dummy text? What should I
do with this?

thanks

ThunderMusic

Sep 19 '06 #2
thanks
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uC**************@TK2MSFTNGP02.phx.gbl...
You will have to capture the password prior to entering or move to some
other form of encryption with your provider. You can change in the
membership provider to encrypted instead of hashed. You will then have to
use the machine keys to pull the password back out. The only other option
is capturing the value of password prior to moving on, but this will only
work for this session, unless you store elsewhere, which defeats the
purpose of having ASP.NET security.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"ThunderMusic" <No*************************@NoSpAm.comwrote in message
news:O1**************@TK2MSFTNGP05.phx.gbl...
>Hi,
I have an asp.net page where people can register. In this page, the user
must enter a password. Actually I user this form so the user can modify
it's data either... What is the best practice for making the password
reappear? I mean, the password is hashed, so I can't make it appear
correctly, so I suppose the text boxes contain dummy text? What should I
do with this?

thanks

ThunderMusic


Sep 19 '06 #3

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

Similar topics

14
by: Todd Johnson | last post by:
I am creating a dialog in wxPython for log in purposes. Basically when the user clicks the ok button, the dialog box saves the user name and password as class attributes. Then as long as the...
8
by: JIMMIE WHITAKER | last post by:
Can someone help on this: I am just learning, and I'm connecting to the the northwindcs.mdf tables / open file is northwindcs.adp. This is the sample installed using msde, which is supposed to be...
1
by: francophone77 | last post by:
When I delete a relationship in relationship view. It seems to keep reappearing in a query. I've tried a "show all" in relationship view and even emptied out the whole relationship view to insure...
2
by: A.M | last post by:
Hi, We have a web server running ASP.NET app in DMZ zone provided by Cisco PIX firewall. The web application is sending user id and password to the database server. What is the best practice...
2
by: Mark | last post by:
We're going to use impersonation in our web.config file to connect via windows authentication to a SQL Server on the same domain. We'd like to hash the password rather than store it in plain text...
17
by: | last post by:
I have an app that retrieves data from an Access database. At the moment I have the SQL string as a Const in my app. I understand this is not best practice. I don't want the user to have access to...
2
by: J | last post by:
Hello. I apologize if this isn't the appropriate group for this question but I was wondering if it's possible to allow regular windows domain users to change their passwords through an .asp page? ...
7
by: dangerd | last post by:
Hello, Thought I'd try this forum as I got some useful help from here before. Anyway, this is the problem; I have a simple authorisation script (in PHP): ...
1
by: GiBo | last post by:
Hi, what's the best practice to securely prompt user for password on console in Python? IIRC some programs like SSH do a lot to ensure that the input comes from TTY and is not redirected from...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.