▲ 57 ▼ The Things Users Would Appreciate In Mobile Apps — Smashing Magazine (www.smashingmagazine.com) submitted 2 years ago by starman@programming.dev to c/programming@programming.dev 10 comments fedilink hide all child comments
[–] GlitterInfection@lemmy.world 50 points 2 years ago (3 children) Display one form field at a time for an economical layout Preferably not when asking for username and password, since that messes with password manager autofill. permalink fedilink source hideshow 6 child comments replies: [–] jadero@programming.dev 18 points 2 years ago (1 child) And yet more sites do it, even on desktop. As far as I can tell, most of them are also doing it in a way that breaks security by validating the username before asking for the password. permalink fedilink source parent hideshow 2 child comments replies: [–] Ephera@lemmy.ml 9 points 2 years ago (1 child) I know that single sign-on can be integrated that way. For example, let's say you work at Wheezecakes Inc. and want to log into your programming.dev account. Then you'd type your e-mail address, jadero@wheezecakes.com, into the username field and hit enter. The webpage sends that to the server, which realizes that you're a Wheezecakes employee, so it redirects you to login.wheezecakes.com or whatever SSO provider is in use, you log in there (or ideally already have a login cookie), and then programming.dev just gets told that, yeah, you're authenticated to login. So, while it's obviously possible that webpages genuinely do this wrong, you're probably seeing such SSO integration and they're not actually validating the username ahead of time. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 8 points 2 years ago (1 child) I have seen some that seem to be doing that kind of thing, but many others that will reject a bad username before asking for a password. To double check, I just now tried putting a known bad email address into the username field for amazon.ca and was not then asked for a password, but told that no account could be found. My possibly flawed understanding of login security is that a failed login should reveal nothing about why the login failed in order to prevent information leakage that can be exploited. permalink fedilink source parent hideshow 2 child comments replies: [–] Ephera@lemmy.ml 4 points 2 years ago (1 child) Hmm, interesting. And yeah, that is my understanding, too. If an attacker knows that a certain e-mail address has an account associated, they might try to bruteforce the password or send a phishing mail to that e-mail address, which looks like an official mail from Amazon. I'm guessing, Amazon requires 2FA, which would protect from this to some degree, but still seems unnecessary to hand out information like that. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 2 points 2 years ago Amazon allows 2FA, but I'm pretty sure they don't require it. permalink fedilink source parent [–] monomon@programming.dev 3 points 2 years ago (1 child) Not always, i think. There are some SSO solutions that behave like this, and password gets filled in fine. permalink fedilink source parent hideshow 2 child comments replies: [–] dracs@programming.dev 5 points 2 years ago Yeah, it's possible to get it to work with password managers. I believe it has to do with ensuring the password field still exists on the page when the username is shown. permalink fedilink source parent [–] AnUnusualRelic@lemmy.world 3 points 2 years ago* (last edited 2 years ago) Even one character at a time, since our screens are so small these days. permalink fedilink source parent
[–] jadero@programming.dev 18 points 2 years ago (1 child) And yet more sites do it, even on desktop. As far as I can tell, most of them are also doing it in a way that breaks security by validating the username before asking for the password. permalink fedilink source parent hideshow 2 child comments replies: [–] Ephera@lemmy.ml 9 points 2 years ago (1 child) I know that single sign-on can be integrated that way. For example, let's say you work at Wheezecakes Inc. and want to log into your programming.dev account. Then you'd type your e-mail address, jadero@wheezecakes.com, into the username field and hit enter. The webpage sends that to the server, which realizes that you're a Wheezecakes employee, so it redirects you to login.wheezecakes.com or whatever SSO provider is in use, you log in there (or ideally already have a login cookie), and then programming.dev just gets told that, yeah, you're authenticated to login. So, while it's obviously possible that webpages genuinely do this wrong, you're probably seeing such SSO integration and they're not actually validating the username ahead of time. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 8 points 2 years ago (1 child) I have seen some that seem to be doing that kind of thing, but many others that will reject a bad username before asking for a password. To double check, I just now tried putting a known bad email address into the username field for amazon.ca and was not then asked for a password, but told that no account could be found. My possibly flawed understanding of login security is that a failed login should reveal nothing about why the login failed in order to prevent information leakage that can be exploited. permalink fedilink source parent hideshow 2 child comments replies: [–] Ephera@lemmy.ml 4 points 2 years ago (1 child) Hmm, interesting. And yeah, that is my understanding, too. If an attacker knows that a certain e-mail address has an account associated, they might try to bruteforce the password or send a phishing mail to that e-mail address, which looks like an official mail from Amazon. I'm guessing, Amazon requires 2FA, which would protect from this to some degree, but still seems unnecessary to hand out information like that. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 2 points 2 years ago Amazon allows 2FA, but I'm pretty sure they don't require it. permalink fedilink source parent
[–] Ephera@lemmy.ml 9 points 2 years ago (1 child) I know that single sign-on can be integrated that way. For example, let's say you work at Wheezecakes Inc. and want to log into your programming.dev account. Then you'd type your e-mail address, jadero@wheezecakes.com, into the username field and hit enter. The webpage sends that to the server, which realizes that you're a Wheezecakes employee, so it redirects you to login.wheezecakes.com or whatever SSO provider is in use, you log in there (or ideally already have a login cookie), and then programming.dev just gets told that, yeah, you're authenticated to login. So, while it's obviously possible that webpages genuinely do this wrong, you're probably seeing such SSO integration and they're not actually validating the username ahead of time. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 8 points 2 years ago (1 child) I have seen some that seem to be doing that kind of thing, but many others that will reject a bad username before asking for a password. To double check, I just now tried putting a known bad email address into the username field for amazon.ca and was not then asked for a password, but told that no account could be found. My possibly flawed understanding of login security is that a failed login should reveal nothing about why the login failed in order to prevent information leakage that can be exploited. permalink fedilink source parent hideshow 2 child comments replies: [–] Ephera@lemmy.ml 4 points 2 years ago (1 child) Hmm, interesting. And yeah, that is my understanding, too. If an attacker knows that a certain e-mail address has an account associated, they might try to bruteforce the password or send a phishing mail to that e-mail address, which looks like an official mail from Amazon. I'm guessing, Amazon requires 2FA, which would protect from this to some degree, but still seems unnecessary to hand out information like that. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 2 points 2 years ago Amazon allows 2FA, but I'm pretty sure they don't require it. permalink fedilink source parent
[–] jadero@programming.dev 8 points 2 years ago (1 child) I have seen some that seem to be doing that kind of thing, but many others that will reject a bad username before asking for a password. To double check, I just now tried putting a known bad email address into the username field for amazon.ca and was not then asked for a password, but told that no account could be found. My possibly flawed understanding of login security is that a failed login should reveal nothing about why the login failed in order to prevent information leakage that can be exploited. permalink fedilink source parent hideshow 2 child comments replies: [–] Ephera@lemmy.ml 4 points 2 years ago (1 child) Hmm, interesting. And yeah, that is my understanding, too. If an attacker knows that a certain e-mail address has an account associated, they might try to bruteforce the password or send a phishing mail to that e-mail address, which looks like an official mail from Amazon. I'm guessing, Amazon requires 2FA, which would protect from this to some degree, but still seems unnecessary to hand out information like that. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 2 points 2 years ago Amazon allows 2FA, but I'm pretty sure they don't require it. permalink fedilink source parent
[–] Ephera@lemmy.ml 4 points 2 years ago (1 child) Hmm, interesting. And yeah, that is my understanding, too. If an attacker knows that a certain e-mail address has an account associated, they might try to bruteforce the password or send a phishing mail to that e-mail address, which looks like an official mail from Amazon. I'm guessing, Amazon requires 2FA, which would protect from this to some degree, but still seems unnecessary to hand out information like that. permalink fedilink source parent hideshow 2 child comments replies: [–] jadero@programming.dev 2 points 2 years ago Amazon allows 2FA, but I'm pretty sure they don't require it. permalink fedilink source parent
[–] jadero@programming.dev 2 points 2 years ago Amazon allows 2FA, but I'm pretty sure they don't require it. permalink fedilink source parent
[–] monomon@programming.dev 3 points 2 years ago (1 child) Not always, i think. There are some SSO solutions that behave like this, and password gets filled in fine. permalink fedilink source parent hideshow 2 child comments replies: [–] dracs@programming.dev 5 points 2 years ago Yeah, it's possible to get it to work with password managers. I believe it has to do with ensuring the password field still exists on the page when the username is shown. permalink fedilink source parent
[–] dracs@programming.dev 5 points 2 years ago Yeah, it's possible to get it to work with password managers. I believe it has to do with ensuring the password field still exists on the page when the username is shown. permalink fedilink source parent
[–] AnUnusualRelic@lemmy.world 3 points 2 years ago* (last edited 2 years ago) Even one character at a time, since our screens are so small these days. permalink fedilink source parent
[–] solrize@lemmy.world 1 point 2 years ago This article is actually sort of useful. Thanks. permalink fedilink source
all 10 comments