Professional Web Applications Themes

Setting the text of a password box - ASP.NET General

I have a user details form with a textbox for a password on it (textmode=password). I want to be able to set the text in the textbox when retrieving user details. I will be filling the box with a dummy value such as '*****'. When I set the .text property and the form is run it returns as an empty value. Is there any way around this. Thanks....

  1. #1

    Default Setting the text of a password box

    I have a user details form with a textbox for a password on it
    (textmode=password). I want to be able to set the text in the textbox
    when retrieving user details. I will be filling the box with a dummy
    value such as '*****'. When I set the .text property and the form is
    run it returns as an empty value.

    Is there any way around this.

    Thanks.
    Ian Guest

  2. #2

    Default Re: Setting the text of a password box

    "Ian Walsh" <com> wrote in message
    news:google.com... 

    No. This is prohibited for security reasons.
    --
    John Saunders
    Internet Engineer
    com


    John Guest

  3. #3

    Default Re: Setting the text of a password box

    Does it mean that I can do "View Source" and read password?



    "Steve C. Orr, MCSD" <net> wrote in message
    news:phx.gbl... 
    >
    >[/ref]


    Ivan Guest

  4. #4

    Default Re: Setting the text of a password box

    Yup. If it's populated in the browser, and the HTML is plain text, well...

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    http://www.takempis.com
    The more I learn, the less I know.

    "Ivan Demkovitch" <id> wrote in message
    news:phx.gbl... [/ref]
    client 
    > >
    > >[/ref]
    >
    >[/ref]


    Kevin Guest

  5. #5

    Default Re: Setting the text of a password box

    Yes it does. That's why you've had this problem in the first place because
    this kind of thing is a bad idea from a security standpoint so the default
    security settings discourage it.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    http://Steve.Orr.net
    Hire top-notch developers at http://www.able-consulting.com



    "Ivan Demkovitch" <id> wrote in message
    news:phx.gbl... [/ref]
    client 
    > >
    > >[/ref]
    >
    >[/ref]


    Steve Guest

Similar Threads

  1. Setting Username/Password in Application.cfm
    By Explorer5 in forum Coldfusion Database Access
    Replies: 2
    Last Post: October 19th, 01:45 PM
  2. setting up a login/password for site
    By Blackrat999 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: July 17th, 08:52 AM
  3. Setting a password on a folder in Windows XP
    By Fiona in forum Windows Setup, Administration & Security
    Replies: 2
    Last Post: July 25th, 07:07 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