Live data from Hacker News

HTML attributes to improve your users' two factor authentication experience

twilio.com

51–60 of 82 posts

Re: HTML attributes to improve your users' two factor authentication experience

#51
post #46

Earlier quoted context omitted.

Of course there is, it can be on the same page (even hidden) up until the point it recognises a different mechanism is needed. Then browser autofill still works if the password is used. I also have the opposite problem - sometimes I want Firefox to remember my username but not password; the only way seems to be to have it remember a dummy password (1 char so I recognise it as such) and then decline to 'update passwor…

> up until the point it recognises But that's the point... how? It recognizes that when the user confirms they've finished entering their username by clicking some kind of button. At which point either a password box is shown or the alternative mechanism is shown. There's no way to know in advance. And it's a UX problem if a password box is shown by default, because then users who don't have passwords think there's a…

>But that's the point... how?

There is so much JS, no problem.

Some suggestions: https://www.twilio.com/blog/why-username-and-password-on-two...

Re: HTML attributes to improve your users' two factor authentication experience

#52

Is type supposed to be "text" instead of "number" in the inputmode snippet? Wouldn't it still strip leading zeros the way it is now (with type set to "number")?

Oops! Thank you for pointing this out, it is supposed to be "text". I have updated the post.

Re: HTML attributes to improve your users' two factor authentication experience

#53
post #7

Didn’t we just learn you shouldn’t use SMS 2FA?

SMS 2FA is still stronger than no 2FA.

Sure but SMS 2FA is almost always SMS 1FA with a password that can skip the SMS on saved devices.

SMS 1FA isn’t stronger than a good password or a pw manager but I think it’s fair to say that it’s better than the typical password.

Re: HTML attributes to improve your users' two factor authentication experience

#55

Dealing with 2FA ux right now. There is a massive gap between threat intel people, product owners, and end users. From an identity assurance perspective, SMS is the best available. From an authentication perspective, it's increasingly dodgy. Reality is telcos have user enrollment almost on par with bank KYC, where everything else has great authN but with user asserted identity. Critics of SMS are technically correct,…

> Reality is telcos have user enrollment almost on par with bank KYC, where everything else has great authN but with user asserted identity.

Are you sure? I don't mean that to sound hostile, genuinely asking. Because, at least in the States and Canada, I can get all of the +1 numbers I want on real SIMs for around a dollar apiece--or less if I work at it instead of just trotting down to Walgreens--and attach any name I want during the sign-up flow. In point of fact, I have a vanity 212 number I've owned for years. It is currently parked on a SIM registered to the name George Crabtree (that name even shows up on CID/CNAM).

Best part? The MVNO that provisioned the SIM is using a white-label service from one of the big four. Even the ICCID prefix is from the actual carrier and not the MVNO. That means that all of the automated API checks show it as a "normal" phone number provisioned on a "regular" SIM...and owned by Constable Crabtree.

Re: HTML attributes to improve your users' two factor authentication experience

#56
post #28

Earlier quoted context omitted.

> Ultimately I’d prefer SMS over nothing when it comes to 2FA This isn't always a good setup. Frequently implementors use SMS, once set up for 2FA, to do password resets. This means that it's actually 1FA - get the sim, and you're in. No password required.

Absolutely correct, I've even given talks on this. Check out slide 52, I think we're in strong agreement here: https://speakerdeck.com/philnash/2fa-wtf-at-pycon-singapore?... . I'm not advocating for poorly implemented 2FA, just that SMS 2FA is more secure than just a password. If a site required you to have a 32 character length password, but kept the passwords in plain text, that wouldn't make your password any les…

SMS 2FA isn't more secure than just a password. It actually opens up holes.

When my gf lived in Malaysia, she added her phone number to FB and forgot about it. Years later, after having moved back to Vietnam, the number was recycled and someone was able to use that number to gain access to her FB account and reset the password.

Had she never added her number to FB (and you can extend this to any service which offers SMS 2FA), her account would have been safe.

I'd argue that Twilio should remove SMS 2FA as an option. Period. Just move on from it. Please.

Re: HTML attributes to improve your users' two factor authentication experience

#57

Dealing with 2FA ux right now. There is a massive gap between threat intel people, product owners, and end users. From an identity assurance perspective, SMS is the best available. From an authentication perspective, it's increasingly dodgy. Reality is telcos have user enrollment almost on par with bank KYC, where everything else has great authN but with user asserted identity. Critics of SMS are technically correct,…

> Reality is telcos have user enrollment almost on par with bank KYC, where everything else has great authN but with user asserted identity. Are you sure? I don't mean that to sound hostile, genuinely asking. Because, at least in the States and Canada, I can get all of the +1 numbers I want on real SIMs for around a dollar apiece--or less if I work at it instead of just trotting down to Walgreens--and attach any name…

^^^ this. SIMs are super easy to get.

Re: HTML attributes to improve your users' two factor authentication experience

#59

Earlier quoted context omitted.

Absolutely correct, I've even given talks on this. Check out slide 52, I think we're in strong agreement here: https://speakerdeck.com/philnash/2fa-wtf-at-pycon-singapore?... . I'm not advocating for poorly implemented 2FA, just that SMS 2FA is more secure than just a password. If a site required you to have a 32 character length password, but kept the passwords in plain text, that wouldn't make your password any les…

SMS 2FA isn't more secure than just a password. It actually opens up holes. When my gf lived in Malaysia, she added her phone number to FB and forgot about it. Years later, after having moved back to Vietnam, the number was recycled and someone was able to use that number to gain access to her FB account and reset the password. Had she never added her number to FB (and you can extend this to any service which offers…

The security hole there is using SMS as an account reset, which makes it a one factor solution (see other discussions of this in the thread). The error was in that implementation, not in SMS 2FA in general.

Re: HTML attributes to improve your users' two factor authentication experience

#60

Earlier quoted context omitted.

SMS 2FA isn't more secure than just a password. It actually opens up holes. When my gf lived in Malaysia, she added her phone number to FB and forgot about it. Years later, after having moved back to Vietnam, the number was recycled and someone was able to use that number to gain access to her FB account and reset the password. Had she never added her number to FB (and you can extend this to any service which offers…

The security hole there is using SMS as an account reset, which makes it a one factor solution (see other discussions of this in the thread). The error was in that implementation, not in SMS 2FA in general.

The point being that had it been 2FA, it would have been the same hole.
Post reply on HN