Professional Web Applications Themes

Password appearing as blank - ASP.NET General

All When I retieve the users password into a textbox (password textmode) from the database nothing appears, am I doing something mad? Thanks...

  1. #1

    Default Password appearing as blank

    All

    When I retieve the users password into a textbox
    (password textmode) from the database nothing appears, am
    I doing something mad?

    Thanks
    yop Guest

  2. #2

    Default Re: Password appearing as blank

    This is done for security reasons. If you set the value of a textbox in
    password mode, it will not show anything.

    The reason is, it would have to appear in the plain text in the HTML - and
    this would be a security risk, as anyone could just look at it, or intercept
    it.

    "yop" <net> wrote in message
    news:0bed01c36bc8$b34439d0$gbl... 


    Marina Guest

  3. #3

    Default Re: Password appearing as blank

    How important that the actual password be in there? You could emit client
    side script to set the value there - except set it to a * for every actual
    letter. That will basically show the length. If the user tries to edit it -
    then blank the whole thing out.

    "Yop" <net> wrote in message
    news:056c01c36bd5$708a1710$gbl... 
    > of a textbox in 
    > in the HTML - and 
    > at it, or intercept [/ref]
    > am 
    > >
    > >
    > >.
    > >[/ref][/ref]


    Marina Guest

  4. #4

    Default Re: Password appearing as blank

    That is true, nah not overly important, just for a user
    admin screen for the administrator only

     
    could emit client 
    * for every actual 
    tries to edit it - [/ref][/ref]
    value [/ref][/ref]
    text [/ref][/ref]
    look [/ref][/ref]
    appears, [/ref]
    >
    >
    >.
    >[/ref]
    yop Guest

  5. #5

    Default Re: Password appearing as blank

    You really shouldn't be storing clear text passwords anyway.. you should
    create a message digest based on what they typed in and save that..

    Another plus, your admins would not be able to see a user password, only
    reset it to something else (which is ideal)..

    "yop" <net> wrote in message
    news:010101c36be3$daab6640$gbl... 
    > could emit client 
    > * for every actual 
    > tries to edit it - [/ref]
    > value [/ref]
    > text [/ref]
    > look [/ref]
    > appears, 
    > >
    > >
    > >.
    > >[/ref][/ref]


    Frank Guest

  6. #6

    Default Re: Password appearing as blank

    That is what I will do, should have coped that is what
    they are doing in Windows!

    Thanks all


     
    anyway.. you should 
    save that.. 
    user password, only [/ref][/ref]
    You [/ref][/ref]
    a [/ref][/ref]
    user 
    >> value 
    >> text 
    >> look 
    >> appears, [/ref]
    >
    >
    >.
    >[/ref]
    yop Guest

Similar Threads

  1. Design View Appearing Blank
    By LaSalleTroy in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: September 15th, 08:19 PM
  2. How to set an account with blank password
    By Patrice in forum Windows Server
    Replies: 2
    Last Post: August 26th, 12:08 PM
  3. mysql allows blank username and password
    By Phil W in forum PHP Development
    Replies: 2
    Last Post: September 7th, 12:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139