Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What is the possible logic here?

What is the possible logic here?

Scheduled Pinned Locked Moved The Lounge
questiondesigncollaboration
74 Posts 28 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Philippe Mori

    There is no point to have a Confirm password box if you can copy and paste the main password box... as an error in the first one would be duplicated in the second one. The purpose of the Confirm box is to ensure that you are able to write the same thing twice which is really a good thing as if you are not able to do that when you register, then how hard would it be to type the password when you login the next time?

    Philippe Mori

    R Offline
    R Offline
    raddevus
    wrote on last edited by
    #31

    But, if you're using a password manager or password generator (like mine) you may not even know your password or be able to type it. Of course, I don't ever type my passwords. I let my phone do that work via Ending the Era of Weak Passwords: Never Type A Password Again (Never Memorize A Password Again)[^] :)

    My book, Launch Your Android App, is available at Amazon.com.

    P 1 Reply Last reply
    0
    • P Philippe Mori

      Well, say that you find a password.txt file on someone else computer and it has about 10 passwords in it... It is not hard to imagine that some peoples might be tempted to try to copy and paste those passwords in some site... Thus, there are way that improve security for computer power users that are not real hacker or not even programmers...

      Philippe Mori

      B Offline
      B Offline
      Basildane
      wrote on last edited by
      #32

      If you find my passwords file, you won't be able to decrypt it even if you know the password. You would also need the RSA key which is stored on my server away from the keepass database. Good luck!

      1 Reply Last reply
      0
      • B Basildane

        NEVER put in your mother's maiden name or any other information like that. That totally exposes you and completely defeats any security, as that information is usually public knowledge. This a perfect example of astonishing incompetence by the site developers. I make up a unique answer for every site. For example, on one site, my mother's maiden name might be "aseej#$i70kKnP++-{F46^". Which was actually amusing when I had to tell my bank that on the phone one day...

        Z Offline
        Z Offline
        ZurdoDev
        wrote on last edited by
        #33

        Basildane wrote:

        incompetence by the site developers.

        I doubt it is the developers making these decisions. :^)

        There are only 10 types of people in the world, those who understand binary and those who don't.

        1 Reply Last reply
        0
        • P Philippe Mori

          Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password. And this is even more obvious for a confirm password box. If the user mistype its first password, the confirm box help ensure that he has entered the same password twice reducing the chance of an error. Well, in that case, a site should probably disable all copy operations : copy, cut and paste. This is not 100% full proof as it would fails if wrong keyboard is selected or if caps lock is active... If it is a pain to type a password twice, then it would be a pain in the future to retype that password whenever you have to. And for discouraging people to select insecure password, usually there is a minimal length (often 8 characters) and rules like having at least one digit, one characters, one uppercase character and a symbol... Thus, if fact, I would that the problem is that you don't really understand security issues as otherwise, you would not complain about having to type a password twice... Well, if you need to fill a form with many fields (like 10 fields or more) and the validation fails (say the site want phone numbers using 000-111-2222 format and you used (000) 111-2222 instead, or haven't filled a required field), then having to retype the password then begin to be somewhat painful... Although it is possible to make improvements to make the site more user friendly, you don't always want to take much more time to develop a page (or multiple pages) for marginal benefit.

          Philippe Mori

          P Offline
          P Offline
          PeejayAdams
          wrote on last edited by
          #34

          Philippe Mori wrote:

          Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password.

          It's not about the ability to re-use a password. People who do that (and there are many) probably do it from memory. Paste is required because most of us use password generators these days so we have a nice, thoroughly random 20 character password each time we sign up to something. So having generated a key along the lines of "Rx87Htv01pUWxb2WqkLLp" - to have to type it in twice (on a single screen machine, as it happened) was something of a PITA. To then find out that I'm expected to type it in manually each time I want to log in ...

          Philippe Mori wrote:

          the problem is that you don't really understand security issues

          Well, maybe I don't, but I do know that 8 characters is stupidly short for a password and that people who make up passwords rather than generate them are going to be a whole lot easier to hack than people who use Guids or lengthy random strings. "pa55w0rd" is not a very good password!

          P 1 Reply Last reply
          0
          • P Philippe Mori

            Well, say that you find a password.txt file on someone else computer and it has about 10 passwords in it... It is not hard to imagine that some peoples might be tempted to try to copy and paste those passwords in some site... Thus, there are way that improve security for computer power users that are not real hacker or not even programmers...

            Philippe Mori

            N Offline
            N Offline
            Nathan Minier
            wrote on last edited by
            #35

            That does nothing, as said user could simply type those passwords. When you base the linchpin of your AAA mechanism on user carelessness, you are coding to fail. This approach benefits no one, especially those of us who care enough about protecting credentials to use password management systems.

            "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

            1 Reply Last reply
            0
            • P Philippe Mori

              Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password. And this is even more obvious for a confirm password box. If the user mistype its first password, the confirm box help ensure that he has entered the same password twice reducing the chance of an error. Well, in that case, a site should probably disable all copy operations : copy, cut and paste. This is not 100% full proof as it would fails if wrong keyboard is selected or if caps lock is active... If it is a pain to type a password twice, then it would be a pain in the future to retype that password whenever you have to. And for discouraging people to select insecure password, usually there is a minimal length (often 8 characters) and rules like having at least one digit, one characters, one uppercase character and a symbol... Thus, if fact, I would that the problem is that you don't really understand security issues as otherwise, you would not complain about having to type a password twice... Well, if you need to fill a form with many fields (like 10 fields or more) and the validation fails (say the site want phone numbers using 000-111-2222 format and you used (000) 111-2222 instead, or haven't filled a required field), then having to retype the password then begin to be somewhat painful... Although it is possible to make improvements to make the site more user friendly, you don't always want to take much more time to develop a page (or multiple pages) for marginal benefit.

              Philippe Mori

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #36

              You'd only need to type it twice if the password-editbox is hiding what you are typing, which is hardly usefull if you are the only one in the room.

              Philippe Mori wrote:

              Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password.

              Nonsense.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

              P 1 Reply Last reply
              0
              • P Philippe Mori

                Well, say that you find a password.txt file on someone else computer and it has about 10 passwords in it... It is not hard to imagine that some peoples might be tempted to try to copy and paste those passwords in some site... Thus, there are way that improve security for computer power users that are not real hacker or not even programmers...

                Philippe Mori

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #37

                Philippe Mori wrote:

                say that you find a password.txt file on someone else computer and it has about 10 passwords in it... It is not hard to imagine that some peoples might be tempted to try to copy and paste those passwords in some site...

                Or they may even type them in.

                I wanna be a eunuchs developer! Pass me a bread knife!

                1 Reply Last reply
                0
                • L Lost User

                  I'd love to hear the 'logic' from the devs themselves. Hand them a shovel before they start the explanation. And some dynamite.

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                  Richard DeemingR Offline
                  Richard DeemingR Offline
                  Richard Deeming
                  wrote on last edited by
                  #38

                  Eddy Vluggen wrote:

                  I'd love to hear the 'logic' from the devs themselves.

                  It will almost certainly be some variation of "because our PHB told us we had to". This isn't a feature some dev has decided to add on their own initiative. It's a management-level decision that's been forced on the devs, because it's what other sites in the sector are doing, so therefore it must be the right thing to do. If you ever query it with the customer support drones, you'll be told it's to increase the security of the site, and they'd "lose their certification" if they changed it. :doh:


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                  L 1 Reply Last reply
                  0
                  • R raddevus

                    PeejayAdams wrote:

                    Encouraging people to use short and memorable passwords - which is surely not a good idea on a site that handles money

                    Numerous web sites and companies are contributing to the problem by making passwords be limited to a certain length. My app creates passwords you never have to memorize and you probably wouldn't want to try to memorize even if you could. It generates SHA256 based hash as your password. It generates it and does not store it anywhere. That's really secure. You can see more about it at: Never Type A Password Again![^] My passwords end up looking like:

                    53859190d943a005823a58af8d717755bf63fbf8fb0eb99733595ae70aa3b2d7

                    You can read about it in my article here at CP : Destroy All Passwords: Never Memorize A Password Again[^] and the following one: Ending the Era of Weak Passwords: Never Type A Password Again (Never Memorize A Password Again)[^]

                    My book, Launch Your Android App, is available at Amazon.com.

                    Richard DeemingR Offline
                    Richard DeemingR Offline
                    Richard Deeming
                    wrote on last edited by
                    #39

                    raddevus wrote:

                    making passwords be limited to a certain length

                    Which almost invariably means they're not storing them properly. If they were hashing them, the stored value would always be the same length, so there'd be no need for any meaningful limit on the password length. Even worse are the banks which ask for specific characters from your password. Again, they claim this is to increase your security by preventing key-loggers / shoulder-surfers from getting your whole password. The fact that it means they're storing your password in plain-text, or using reversible encryption, seems to pass them by. :doh:


                    "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                    "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                    R 1 Reply Last reply
                    0
                    • R raddevus

                      But, if you're using a password manager or password generator (like mine) you may not even know your password or be able to type it. Of course, I don't ever type my passwords. I let my phone do that work via Ending the Era of Weak Passwords: Never Type A Password Again (Never Memorize A Password Again)[^] :)

                      My book, Launch Your Android App, is available at Amazon.com.

                      P Offline
                      P Offline
                      Philippe Mori
                      wrote on last edited by
                      #40

                      Well, at least it should not be possible to copy or cut a password... Only pasting them might be a good compromise for those who trust passwords managers... That way, you have the main advantage of making harder to users to manually copy one field to another while filling the form (those preventing mistyping to be permanent) while allowing pasting from other sources...

                      Philippe Mori

                      R 1 Reply Last reply
                      0
                      • P Philippe Mori

                        Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password. And this is even more obvious for a confirm password box. If the user mistype its first password, the confirm box help ensure that he has entered the same password twice reducing the chance of an error. Well, in that case, a site should probably disable all copy operations : copy, cut and paste. This is not 100% full proof as it would fails if wrong keyboard is selected or if caps lock is active... If it is a pain to type a password twice, then it would be a pain in the future to retype that password whenever you have to. And for discouraging people to select insecure password, usually there is a minimal length (often 8 characters) and rules like having at least one digit, one characters, one uppercase character and a symbol... Thus, if fact, I would that the problem is that you don't really understand security issues as otherwise, you would not complain about having to type a password twice... Well, if you need to fill a form with many fields (like 10 fields or more) and the validation fails (say the site want phone numbers using 000-111-2222 format and you used (000) 111-2222 instead, or haven't filled a required field), then having to retype the password then begin to be somewhat painful... Although it is possible to make improvements to make the site more user friendly, you don't always want to take much more time to develop a page (or multiple pages) for marginal benefit.

                        Philippe Mori

                        Richard DeemingR Offline
                        Richard DeemingR Offline
                        Richard Deeming
                        wrote on last edited by
                        #41

                        Philippe Mori wrote:

                        he should not be able to reuse an existing password

                        Let me guess - are you the guy behind the Password has already been used by another user message? :laugh:

                        Philippe Mori wrote:

                        This is not 100% full proof

                        Neither is it fool-proof. ;P (Clearly the spelling of the word fool-proof is not fool-proof.)


                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                        P 1 Reply Last reply
                        0
                        • Richard DeemingR Richard Deeming

                          raddevus wrote:

                          making passwords be limited to a certain length

                          Which almost invariably means they're not storing them properly. If they were hashing them, the stored value would always be the same length, so there'd be no need for any meaningful limit on the password length. Even worse are the banks which ask for specific characters from your password. Again, they claim this is to increase your security by preventing key-loggers / shoulder-surfers from getting your whole password. The fact that it means they're storing your password in plain-text, or using reversible encryption, seems to pass them by. :doh:


                          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                          R Offline
                          R Offline
                          raddevus
                          wrote on last edited by
                          #42

                          Great post and you are absolutely correct. :thumbsup:

                          Richard Deeming wrote:

                          Which almost invariably means they're not storing them properly

                          It is amazing how uninformed many of the sites and developers are about these issues. It's scary. And, it comes as no surprise when Yahoo! has 50 million accounts hijacked. They're one of the ones who limit password length. Ugh!

                          My book, Launch Your Android App, is available at Amazon.com.

                          1 Reply Last reply
                          0
                          • P Philippe Mori

                            Well, at least it should not be possible to copy or cut a password... Only pasting them might be a good compromise for those who trust passwords managers... That way, you have the main advantage of making harder to users to manually copy one field to another while filling the form (those preventing mistyping to be permanent) while allowing pasting from other sources...

                            Philippe Mori

                            R Offline
                            R Offline
                            raddevus
                            wrote on last edited by
                            #43

                            Consider also, typing your password on your phone or device. It's quite terrible to have to do it if yo have a long / complex password. I believe apps and sites should allow paste always. Doing otherwise encourages users to use easy-to-type passwords which are most likely weak. :)

                            My book, Launch Your Android App, is available at Amazon.com.

                            1 Reply Last reply
                            0
                            • P PeejayAdams

                              I was signing up to a website yesterday only to find that they had disabled pasting into the password and confirm password fields. Not only that, but having completed the painful process of registering (they had also disabled auto-complete) I found that they also don't allow pasting into the username/password boxes at login time. Personally I fail to see how any of this achieves anything beyond: 1) Making their website a complete pain in the bottom. 2) Encouraging people to use short and memorable passwords - which is surely not a good idea on a site that handles money. Is there something that I'm missing here or is it simply a case of a dev team making some really, really bad UX decisions?

                              K Offline
                              K Offline
                              kmoorevs
                              wrote on last edited by
                              #44

                              IMHO there is no logic for it since as you mentioned, it makes it a real PITA for those of us with password managers. Those developers should be flogged! :)

                              "Go forth into the source" - Neal Morse

                              P P 2 Replies Last reply
                              0
                              • K kmoorevs

                                IMHO there is no logic for it since as you mentioned, it makes it a real PITA for those of us with password managers. Those developers should be flogged! :)

                                "Go forth into the source" - Neal Morse

                                P Offline
                                P Offline
                                PeejayAdams
                                wrote on last edited by
                                #45

                                Flogging's too good for 'em, but I like where you're coming from. :)

                                1 Reply Last reply
                                0
                                • P PeejayAdams

                                  Philippe Mori wrote:

                                  Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password.

                                  It's not about the ability to re-use a password. People who do that (and there are many) probably do it from memory. Paste is required because most of us use password generators these days so we have a nice, thoroughly random 20 character password each time we sign up to something. So having generated a key along the lines of "Rx87Htv01pUWxb2WqkLLp" - to have to type it in twice (on a single screen machine, as it happened) was something of a PITA. To then find out that I'm expected to type it in manually each time I want to log in ...

                                  Philippe Mori wrote:

                                  the problem is that you don't really understand security issues

                                  Well, maybe I don't, but I do know that 8 characters is stupidly short for a password and that people who make up passwords rather than generate them are going to be a whole lot easier to hack than people who use Guids or lengthy random strings. "pa55w0rd" is not a very good password!

                                  P Offline
                                  P Offline
                                  Philippe Mori
                                  wrote on last edited by
                                  #46

                                  For those who trust password managers, then enabling Paste is a good compromise... User is still unable to copy a mistyped password in the first box... When filling a form, often I mistype my password in one box so they mismatch so I really find that the idea is useful...

                                  Philippe Mori

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    You'd only need to type it twice if the password-editbox is hiding what you are typing, which is hardly usefull if you are the only one in the room.

                                    Philippe Mori wrote:

                                    Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password.

                                    Nonsense.

                                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                    P Offline
                                    P Offline
                                    Philippe Mori
                                    wrote on last edited by
                                    #47

                                    Password are always hidden on Windows. Newer UI usually have a way to show password. Password being visible is only useful as long as you read what you type... The problem is that often you thing you have written right so you won't even bother to read what you have wrote. In my opinion UI like the iPad where one see the password while writing it (last character) make it a bit easier for someone to see your password that to see which letters you type...

                                    Philippe Mori

                                    L 1 Reply Last reply
                                    0
                                    • Richard DeemingR Richard Deeming

                                      Philippe Mori wrote:

                                      he should not be able to reuse an existing password

                                      Let me guess - are you the guy behind the Password has already been used by another user message? :laugh:

                                      Philippe Mori wrote:

                                      This is not 100% full proof

                                      Neither is it fool-proof. ;P (Clearly the spelling of the word fool-proof is not fool-proof.)


                                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                      P Offline
                                      P Offline
                                      Philippe Mori
                                      wrote on last edited by
                                      #48

                                      Now I understand why the spelling corrector was not accepting fullproof... English is not my first language so I was thinking "full" like completly proof instead of idiot proof...

                                      Philippe Mori

                                      1 Reply Last reply
                                      0
                                      • K kmoorevs

                                        IMHO there is no logic for it since as you mentioned, it makes it a real PITA for those of us with password managers. Those developers should be flogged! :)

                                        "Go forth into the source" - Neal Morse

                                        P Offline
                                        P Offline
                                        Philippe Mori
                                        wrote on last edited by
                                        #49

                                        How a developer who does not use a password manager would have known of such issues. I am a developer and I don't trust much passwords manager so I never used one... (except the one in Windows for network drives) or individual site "remember my password" on some sites. I would never have though that a password manager would have rely on paste... In fact, copy and paste a password has not been allowed in many cases for so long that I haven't tried to copy a password into the confirm box since many years... if I have ever tried it. And obviously, I would have never tried the effect of pasting a password on web site I have developed. It does whatever the browser does by default for password field and I am not even sure of what is the default.

                                        Philippe Mori

                                        K 1 Reply Last reply
                                        0
                                        • Richard DeemingR Richard Deeming

                                          Eddy Vluggen wrote:

                                          I'd love to hear the 'logic' from the devs themselves.

                                          It will almost certainly be some variation of "because our PHB told us we had to". This isn't a feature some dev has decided to add on their own initiative. It's a management-level decision that's been forced on the devs, because it's what other sites in the sector are doing, so therefore it must be the right thing to do. If you ever query it with the customer support drones, you'll be told it's to increase the security of the site, and they'd "lose their certification" if they changed it. :doh:


                                          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                          L Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #50

                                          That is what I meant; there is no reasonable argumentation to defend the decision. Happens a lot if decisions are made by people who aren't qualified to do so.

                                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups