Results 1 to 6 of 6
  1. #1
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    How is a password field recognised? (Firefox 2)

    It's probably a very naive question, but if you ask Firefox to remember a password, how does it know into which field to insert it in a different webpage from the one in which it was created?
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  2. #2
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How is a password field recognised? (Firefox 2

    Whew, I'm probably the least qualified, programming knowledge-wise John, but based on what I see in the Fx Options passwords window, it remembers a three-fold entity - URL, username and password. I'm judging that from the fact that my son and I both use this computer for some common purposes such as ISP's webmail, sports game logons, etc. and the password window shows the URLs, username (his or mine) and the password (if you ask it to show same). That's all I can "guesstimate."

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: How is a password field recognised? (Firefox 2)

    I think part of the information is in the "Cookie".

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  4. #4
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How is a password field recognised? (Firefox 2

    Perhaps I had better explain further:

    On a particular webpage I sign on with a username and a password.
    On a completely different webpage called Preferences, I have the option to change the password, plus quite a lot of other things, and I find that the password field on this page has been filled in (presumably) and now appears as asterisks. There are several other fields, as well as New Password and Confirm New Password.

    I don't follow how the password field in the preferences web page gets filled in (I have Autofill set to Off in the Google Tolbar, by the way, but I have Remember Passwords ticked in Firefox -> Tools -> Options -> Security tab). In other words, how does Firefox know that the password typed into one field on one page should be filled in in a specific field on the other page?
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: How is a password field recognised? (Firefox 2

    I don't use this feature but I turned it on and saved a login to see what I could see.

    My guess is that the field names are the same. In other words, on both pages I would expect to see the same values here:

    <code>Username: <input type="text" name="uname" value="">
    Password: <input type="password" name="pword" value=""></code>

    In looking at signons2.txt in my profile, I can't tell whether Firefox is storing the field names, but unless it is, I can't think of any other way to even reasonably securely manage the information.

  6. #6
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How is a password field recognised? (Firefox 2

    In the Logon page I find in the source:<pre> <td class=folderNav>
    Password:

    <input type="password"
    name="password"
    size="16"
    maxlength="16">
    </td></pre>

    and in the Preferences page:<pre><td class=tableLabel>
    <nobr>
    1. Enter Your Current Password:
    </nobr>
    </td>
    <td>

    <input type="password"
    name="password"
    size="16"
    maxlength="16"
    value=""
    onchange="java script: need_save(); return true;"
    onkeydown="java script: need_save(); return true;"
    tabindex="3">
    </td></pre>

    So certainly it is using the same name in both web pages, which is presumably being saved by Firefox from the Logon page and plugged into the current password field on the Preferences page...

    Thanks!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

Posting Permissions

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