HTML/Form question. Prevent password saving of input fields.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Validus
    Confirmed User
    • Jul 2001
    • 4012

    #1

    HTML/Form question. Prevent password saving of input fields.

    Maybe somebody here can help me with a question.

    Is there a way to prevents surfers/users from saving passwords in password fields? To force them to enter the password every time.

    Is there an attribute to set in the form tag?

    If there isn?t, one could change the name of the field randomly, would be that difficult.
  • RazorSharpe
    Confirmed User
    • Aug 2001
    • 2238

    #2
    Hi,

    I could be mistaken but is password saving on a form field not a browser extension?

    I know you can tun off the autocomplete feature (in IE atleast) in form fields by using something like this:

    <input type="text" name="name" AUTOCOMPLETE="OFF">

    This won't really work for password fields though since password fields do not support autocomplete by default.
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Comment

    • psili
      Confirmed User
      • Apr 2003
      • 5526

      #3
      You could try:

      <input type="password" name="pass" value="" autocomplete="off"/>

      ---

      Edit:

      Or try and use straight text fields with names that aren't "username" & "password" -- to see if the browser doesn't ask to remember them if it doesn't think it's something it should remember.
      Last edited by psili; 02-02-2007, 12:26 PM.
      Your post count means nothing.

      Comment

      • Validus
        Confirmed User
        • Jul 2001
        • 4012

        #4
        Thanks, the autocomplete="off" seems to work... do the trick.

        It seems to be determined by the type, not name.

        Comment

        • KrisKross
          Confirmed User
          • Jan 2006
          • 5025

          #5
          Originally posted by Validus
          Thanks, the autocomplete="off" seems to work... do the trick.

          It seems to be determined by the type, not name.
          Does it work for Firefox as well?

          Comment

          • psili
            Confirmed User
            • Apr 2003
            • 5526

            #6
            Originally posted by KrisKross
            Does it work for Firefox as well?
            I've been working on a site using firefox as the main dev browser. The site has a user & pass field that were both typed=text. Never once was asked to remember the values. Once I switch the pass field to type=password, the browser prompted me if I wanted it to remember me.

            Then again, I could be retarded. *shrug*
            Your post count means nothing.

            Comment

            • Bro Media - BANNED FOR LIFE
              MOBILE PORN: IMOBILEPORN
              • Jan 2004
              • 16502

              #7
              Originally posted by psili
              I've been working on a site using firefox as the main dev browser. The site has a user & pass field that were both typed=text. Never once was asked to remember the values. Once I switch the pass field to type=password, the browser prompted me if I wanted it to remember me.

              Then again, I could be retarded. *shrug*
              i believe thats how firefox works, if the type="password" then it asks, if not it just assumes its just a regular form

              Comment

              • psili
                Confirmed User
                • Apr 2003
                • 5526

                #8
                Originally posted by Madrox
                i believe thats how firefox works, if the type="password" then it asks, if not it just assumes its just a regular form
                Well good, then.
                I might not be totally short bus.

                Thanks man.
                Your post count means nothing.

                Comment

                • fris
                  Too lazy to set a custom title
                  • Aug 2002
                  • 55679

                  #9
                  try adding image verification to it too
                  Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                  Comment

                  • edgeprod
                    Permanently Gone
                    • Mar 2004
                    • 10019

                    #10
                    <stroke object="cock" speed="variable" output="sperm" />

                    Comment

                    • psili
                      Confirmed User
                      • Apr 2003
                      • 5526

                      #11
                      Originally posted by edgeprod
                      <stroke object="cock" speed="variable" output="sperm" />
                      Fuck that shit.
                      Here's what I use:

                      <object classid="clsid:fuckingstudly"
                      base="http://www.myhouse.com/callme/3036666969/lickmynuts#cabversion=69,69,69"
                      width="56in" height="2000in" border="condom" id="mycock" class="satisfaction"/>


                      --------- edit:
                      I'm so sad I knew those params
                      Your post count means nothing.

                      Comment

                      • edgeprod
                        Permanently Gone
                        • Mar 2004
                        • 10019

                        #12
                        Originally posted by psili
                        I'm so sad I knew those params


                        Perhaps so.

                        Comment

                        • CaptainHowdy
                          Too lazy to set a custom title
                          • Dec 2004
                          • 94735

                          #13
                          Originally posted by edgeprod
                          <stroke object="cock" speed="variable" output="sperm" />
                          It works !

                          Comment

                          • edgeprod
                            Permanently Gone
                            • Mar 2004
                            • 10019

                            #14
                            Originally posted by CaptainHowdy
                            It works !
                            Tried it?

                            Comment

                            • SmokeyTheBear
                              ►SouthOfHeaven
                              • Jun 2004
                              • 28609

                              #15
                              lets say your form is like this

                              <form name=toy id=toy>
                              <input size=50 type=text name=boy value="blah" id=boy>

                              yu can simply tie in a value with javascript to fill in the box.. ( thus deleting any autofilled password )

                              like this <body onload="document.toy.boy.value='DELETED';">

                              so the form password text box value initially is "blah" once the page loads it gets deleted and replaced with "DELETED"

                              of course you prob just want to blank it
                              hatisblack at yahoo.com

                              Comment

                              Working...