Re:The Cobra Effect that is disabling paste on password fields
by x1798DE on Monday June 02, 2014 @07:25PM
(#7837159)
While I'm hoping this is a hyperbolic suggestion, it's almost certainly a bad idea to use the clipboard for this sort of thing, because none of that is sandboxed properly, and creating a special format that says, "I'M A PASSWORD" sounds to me like designing an API for malware authors, frankly.
At the moment, it seems like copy-paste in passwords is a nice intermediate step between the "password you can remember" era and an era where we have secure keyring managers. In the end, you can imagine that you'd want them stored not on the clipboard (where anything - including Javascript running on a site - can get them easily), but in a secured area of memory, and entered on demand on trusted sites.
At the moment, it seems like copy-paste in passwords is a nice intermediate step between the "password you can remember" era and an era where we have secure keyring managers. In the end, you can imagine that you'd want them stored not on the clipboard (where anything - including Javascript running on a site - can get them easily), but in a secured area of memory, and entered on demand on trusted sites.