Live data from Hacker News

Techniques To Simplify Sign-Ups and Log-Ins

smashingmagazine.com

21–30 of 178 posts

Re: Techniques To Simplify Sign-Ups and Log-Ins

#21

Does anybody else think unmasking the password field is a terrible idea?

No. It is something of a sham. It protects you from one use case: people watching the screen over your shoulder. It does not guard against people watching your fingers on the keyboard. It does provide a sense of security. I have no problem shielding the password with a hand over the screen, clicking the box, checking, and unclicking.

Re: Techniques To Simplify Sign-Ups and Log-Ins

#22
I have never understood why I need to type my password twice. Inevitably I just copy what I wrote in the first box into the second.

I'm also interested in the elimination of the post sign-up confirmation email. I'd rather get a "Welcome! If you didn't sign up for this service, click here" email, but I can imagine that if I didn't actually sign up for the service, I'd never want to "click here" for fear of spam. There has to be another option, though. Anyone have any bright ideas?

Re: Techniques To Simplify Sign-Ups and Log-Ins

#23
post #20

One that gets missed almost everywhere is: if I type the wrong username or password, keep my username in the field (so many erase the forms when returning the error). That way I can tell if the mistake was in my username or my password and if it was in my password I don't have to retype everything.

i think its done to prevent brute force attacks on passwords. If someone knows that username was correct and password wasn't, he knows something! That's why the message 'username or password does not match' and that's why both the fields needs to be empty when page loads with error.

Re: Techniques To Simplify Sign-Ups and Log-Ins

#25
> Spambots can’t fill in the field because they can’t interact with objects in client-side JavaScript; only users can.

Not true anymore. What you could do is add a hidden field with value=encrypt(timestamp+salt) and only accept the form if the decrypted timestamp is at most x hours old. If you want to further restrict it, you could also add the IP to the encrypted value. This will fail if a user gets a new IP between loading the form and submitting it (laptop user moving around, VPN gateway changes etc).

Re: Techniques To Simplify Sign-Ups and Log-Ins

#26
post #22

I have never understood why I need to type my password twice. Inevitably I just copy what I wrote in the first box into the second. I'm also interested in the elimination of the post sign-up confirmation email. I'd rather get a "Welcome! If you didn't sign up for this service, click here" email, but I can imagine that if I didn't actually sign up for the service, I'd never want to "click here" for fear of spam. There…

You type your password twice because you might make a mistake. Also, you can't copy anything from passwords fields.

Re: Techniques To Simplify Sign-Ups and Log-Ins

#27
post #23
post #20

One that gets missed almost everywhere is: if I type the wrong username or password, keep my username in the field (so many erase the forms when returning the error). That way I can tell if the mistake was in my username or my password and if it was in my password I don't have to retype everything.

i think its done to prevent brute force attacks on passwords. If someone knows that username was correct and password wasn't, he knows something! That's why the message 'username or password does not match' and that's why both the fields needs to be empty when page loads with error.

You're correct about the message, but actually you don't fill out the password field because you should never return the password to the client. It is OK to return the username to the client, and does not imply that the username was correct as long as the messaging is as you said.

Re: Techniques To Simplify Sign-Ups and Log-Ins

#28
post #8

Admittedly I hadn't heard of using a client-side JS input box as an alternative to a Captcha. Does that sort of thing actually work, or can spammers get around it? Is there any anecdotal data to suggest that that's a better method? (not snarking; actually curious)

I like the other suggestion about the hidden form a little better, it doesn't really sound bulletproof to me but anything is better than a Captcha.

Re: Techniques To Simplify Sign-Ups and Log-Ins

#29
post #23
post #20

One that gets missed almost everywhere is: if I type the wrong username or password, keep my username in the field (so many erase the forms when returning the error). That way I can tell if the mistake was in my username or my password and if it was in my password I don't have to retype everything.

i think its done to prevent brute force attacks on passwords. If someone knows that username was correct and password wasn't, he knows something! That's why the message 'username or password does not match' and that's why both the fields needs to be empty when page loads with error.

Depends on whether the login username is public or not.

If you're on a community based site where others can see your username, there's no reason to hide it. Anybody trying to brute force your password is probably specifically targeting your account.

On the other hand, if you're on a service where other people cannot see your username, it would indeed be better to return a 'username or password does not match' error.

Re: Techniques To Simplify Sign-Ups and Log-Ins

#30
post #17

Earlier quoted context omitted.

While you're right that all CAPTCHAs are annoying, the CAPTCHA ads are a whole different level of annoying. I think you'd lose more goodwill than you'd gain in money from doing this.

depends, I believe it will depend on what the user has to type.

I disagree. I'd find an ad in my CAPTCHA to be sleazy regardless of what I had to type. It's a bad idea, full stop.
Post reply on HN