Re: TextMode property set to "Password"
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Dec 2006 12:03:41 +0000 (UTC)
well - then you have to live with that - or assume that no password==no password change
-----
Dominick Baier (http://www.leastprivilege.com)
well since the page is about updating user details I am displaying the
existing password on the page, if the user wants he can change the
password or else the existing is retained.
"Dominick Baier" wrote:
Hi,
well - TextMode is only for the visualization - you shouldn't set the
password for the user.
-----
Dominick Baier (http://www.leastprivilege.com)
I have set an <asp:textbox> TextMode property to Password but also
populate it with characters(so the user doesn't have to re-enter
their password). I populate the textbox in Page_Load, using
following:
txtPassword.Attributes.Add("value", GetPassword().ToString())
But the problem I am facing is this:
if a user does a view source on the form, the password is visible as
plain
text and that is never good from a security standpoint. What is the
way to
make sure that the password is not visible as plain text in view
source.
.
- Follow-Ups:
- Re: TextMode property set to "Password"
- From: remi
- Re: TextMode property set to "Password"
- Prev by Date: Re: TextMode property set to "Password"
- Next by Date: Re: TextMode property set to "Password"
- Previous by thread: Re: TextMode property set to "Password"
- Next by thread: Re: TextMode property set to "Password"
- Index(es):
Relevant Pages
|
|