News for hackers. Stuff that matters.
Re:HalfMask - an Experiment in Password Masking by tptacek on Wednesday July 08, 2009 @06:16PM (#694834)
Let me just say, as retarded as I think this whole masking kerfluffle is, play with it or don't play with it, but if you don't mask passwords in your login box, expect to spend $10,000-$20,000 extra to your PCI auditors (and then restore password masking) when you decide to accept credit cards.
Re:HalfMask - an Experiment in Password Masking by gojomo on Wednesday July 08, 2009 @08:33PM (#694957)
I don't think anyone has suggested individual sites should override the browser behavior.

The interesting question is whether client software (browsers/add-ons) should offer another option. And if it did, would the Payment Card Industry auditors demand a site override the user's choices, for example by simulating a masking password field outside the default HTML widgets?

Re:HalfMask - an Experiment in Password Masking by baxter on Thursday July 09, 2009 @07:19AM (#695618)
I agree, this should be a user choice rather than site-specific.

The HTML 4.01 spec doesn't dictate how passwords should be obscured, although it does suggest asterisks. I think it would be reasonable for browser vendors to provide an alternative means of obscuring passwords.

If the PCI auditors aren't happy with this, and given the leniency of the HTML 4.01 spec (I haven't checked any other specs), should they take this up with the W3C?

Re:HalfMask - an Experiment in Password Masking by jrockway on Thursday July 09, 2009 @05:21AM (#695510)
Just do what the overly paranoid security industry says. They'll never steer you wrong!
Re:HalfMask - an Experiment in Password Masking by tptacek on Thursday July 09, 2009 @11:17AM (#696027)
I think it's an excellent idea to spend tens of thousands of dollars to make a stand against the security industry with your startup's web application, and I too think password masking is sure to be their Waterloo. To the barricades!
Re:HalfMask - an Experiment in Password Masking by zackattack on Wednesday July 08, 2009 @09:56PM (#695055)
What are PCI auditors?
Re:HalfMask - an Experiment in Password Masking by tptacek on Wednesday July 08, 2009 @10:15PM (#695081)
PCI stands for "Payment Card Industry", and is a shorthand for the PCI Data Security Standards, which are a set of rules that every vendor above a certain size has to follow in order to process payments with a Visa or Mastercard.

PCI auditors are people working for one of the 20-30-odd firms that are certified by Visa to audit compliance to the PCI DSS.

Re:HalfMask - an Experiment in Password Masking by umbrae on Wednesday July 08, 2009 @05:49PM (#694774)
Hey guys, I'm the author of HalfMask - please let me know if you have any feedback, or you can check out the source on google code: http://code.google.com/p/halfmask/

Forking to try new things is heartily encouraged - I'd like to see new approaches to password masking.

Re:HalfMask - an Experiment in Password Masking by cliffdickerson on Wednesday July 08, 2009 @11:06PM (#695144)
I typed a password, It "stood out" so I had my wife see if she could read it and she couldn't. I had her type a password and I could read it no problem. once she had typed it she could read mine no problem as well. It seems once you've "seen it" it stands out. Sorry, maybe I missed something?

Still cool JS trickery none the less.

Re:HalfMask - an Experiment in Password Masking by bcl on Wednesday July 08, 2009 @06:10PM (#694815)
The masking characters need to be more similar to the characters being typed. eg. ll is easily readable with letters like nrs, etc. in the background.
Re:HalfMask - an Experiment in Password Masking by umbrae on Wednesday July 08, 2009 @06:14PM (#694833)
This is a good thought - I had implemented character set matching (uppers to uppers, numbers, etc) before, but I worried that it made it almost too hard to read for the user.

You'll notice that I'm only using lowercase letters currently - that was an intentional choice as it seemed too obscured when using a fuller character set.

I'll give this another look though and see if there may be a good middle ground.

Re:HalfMask - an Experiment in Password Masking by jf on Wednesday July 08, 2009 @07:08PM (#694881)
I agree, it's pretty easy to read the text if you zoom in on the field: http://skitch.com/joelf/bayjs/halfmask
Re:HalfMask - an Experiment in Password Masking by Skeuomorph on Thursday July 09, 2009 @03:49PM (#696542)
Usability folks at Apple already thought this problem through and came up with the compromise seen on the iPhone.

jQuery implementation here: http://blog.decaf.de/2009/07/iphone-like-password-fields-usi...

Re:HalfMask - an Experiment in Password Masking by sirrocco on Thursday July 09, 2009 @01:20AM (#695274)
If you select the text the password is clearly visible. Plus the letters I type are slimmer than the mask so I can still see the password.

I say : just mask the bloody password the old fashioned way :)

Re:HalfMask - an Experiment in Password Masking by jwecker on Wednesday July 08, 2009 @06:36PM (#694865)
There is an argument in the whole masking argument that doesn't really have anything to do with security- it is that filling out a box and having the characters masked is a well known usability metaphor for users- implying the content should be kept hidden and implying (though it's not always true) that in the backend it is also kept secure. The metaphor comes from ATMs etc. All security aside, when the vast, vast majority of casual computer users finally have a computer metaphor nailed down it's usually very counterproductive to try to change it. Like trying to move the "File" menu to the far right of the menu bar for your next desktop app...
Re:HalfMask - an Experiment in Password Masking by nirmal on Wednesday July 08, 2009 @07:40PM (#694910)
I modified his code to do the iPhone style masking. It masks everything except the last character. Demo page is unmodified. You can see it here: http://nirmalpatel.com/hacks/halfmask/demo.html and a diff of the code: http://nirmalpatel.com/hacks/halfmask/jquery.halfmask.js.dif...
Re:HalfMask - an Experiment in Password Masking by baxter on Thursday July 09, 2009 @07:21AM (#695623)
I like that, but it would make more sense if backspacing through a password didn't reveal each letter.
Re:HalfMask - an Experiment in Password Masking by jokull on Wednesday July 08, 2009 @05:42PM (#694766)
My idea is the best: reveal on mouseover
Re:HalfMask - an Experiment in Password Masking by Nwallins on Wednesday July 08, 2009 @06:07PM (#694809)
How about having to select the (masked) text, to take it a step further?
Re:HalfMask - an Experiment in Password Masking by blhack on Wednesday July 08, 2009 @06:11PM (#694824)
If you highlight this, it pretty much reveals what the password is.

I know that isn't what you're talking about, but it is close. I know that I couldn't read this even when I knew what I was typing until I highlighted it.

Re:HalfMask - an Experiment in Password Masking by dylanz on Wednesday July 08, 2009 @05:44PM (#694770)
Yeah, I think you have a great point there :)
Re:HalfMask - an Experiment in Password Masking by drcode on Wednesday July 08, 2009 @05:28PM (#694745)
The demo actually works better than you would think: Easy to read for the writer, hard to read for a shoulder surfer.
Re:HalfMask - an Experiment in Password Masking by JBiserkov on Wednesday July 08, 2009 @06:27PM (#694847)
I like the idea. But how about LCD screens where the angle changes everything? Right now it's difficult to read from the side, but "a piece of cake" from above.
Re:HalfMask - an Experiment in Password Masking by chaosmachine on Wednesday July 08, 2009 @06:39PM (#694869)
Nice try, but I think this is the worst of both worlds. Still insecure in many situations (screencasts, presentations, or any time you might be recorded), and it's harder to character count than normal asterisks.
Re:HalfMask - an Experiment in Password Masking by vaksel on Wednesday July 08, 2009 @05:15PM (#694717)
the whole point of masking is so that you don't give away your password when you are using a projector(giving presentations etc)...this is no different than not masking the thing at all
Re:HalfMask - an Experiment in Password Masking by modoc on Wednesday July 08, 2009 @05:23PM (#694731)
Well, that's certainly part of the point, but it's also to prevent casual shoulder surfing/people walking by/etc...

I guess I'd prefer to see something like how the iPhone handles it, where each char is shown for split second before being masked. It lets you see that you haven't typo'ed, and yet ensures that your whole password is never sitting on the screen.

Re:HalfMask - an Experiment in Password Masking by TravisLS on Wednesday July 08, 2009 @09:12PM (#695003)
My main issue with this solution is that it takes the decision out of the user's hands. Granted, in some cases it is potentially beneficial to unmask the password, but I would not want a site to assume that I'm okay with this approach. Imagine if you have to type in a password presenting in front of a crowd of 100 people. Do you feel secure with this solution?

Whatever solution you implement, it's important to give the user explicit control to override the mask.

Re:HalfMask - an Experiment in Password Masking by _giu on Wednesday July 08, 2009 @05:42PM (#694765)
nice idea and nice realization, too! it works pretty good! if you can't read the password after you've typed it in, try to mark it with SHIFT + LEFT-/RIGHT-ARROW or SHIFT + HOME/END :)

by the way: the guys from arc90.com cook up pretty cool things in their labs, like the greatly useful Readability bookmarklet http://lab.arc90.com/experiments/readability/

Re:HalfMask - an Experiment in Password Masking by dylanz on Wednesday July 08, 2009 @05:34PM (#694752)
I still like my idea: * * * * els

Where you mask every character up to the last N specified characters. I started writing this up in JQuery, but... then I stopped ;)

Re:HalfMask - an Experiment in Password Masking by kolya3 on Wednesday July 08, 2009 @05:49PM (#694776)
Same as the iPhone.
Re:HalfMask - an Experiment in Password Masking by jcapote on Wednesday July 08, 2009 @06:07PM (#694806)
I like what the wii and the android browser do, they show the last inputted character for a second or so
Re:HalfMask - an Experiment in Password Masking by ideamonk on Wednesday July 08, 2009 @06:35PM (#694863)
well, the password can be copy pasted
Re:HalfMask - an Experiment in Password Masking by ahoyhere on Thursday July 09, 2009 @06:14AM (#695554)
Very clever, and I love Readability, but I don't think this one's necessary. :)

On our signup for our time tracking app, Freckle (http://letsfreckle.com), we just left the password fields clear.

Number of signups: >4000. Number of people who complained: 4. Number of people who wrote nice things: 15.

Translation: people like it, but it's not really remarkable. (And we did it 6 mos before the Man Who Would Be King wrote about this idea.)

Re:HalfMask - an Experiment in Password Masking by TweedHeads on Wednesday July 08, 2009 @08:00PM (#694932)
In the comfort of my privacy I want to see what I am typing.

There is nobody shoulder surfing, no cameras recording me.

A check box for unmasking will suffice.

Cool hack nonetheless.