3 ms·
This is also an attack that is possible against MacOS and Windows. My app can make the screen "go dark" or throw up an Apple-looking password prompt. As I kept
by EGreg 11y ago
This is also an attack that is possible against MacOS and Windows. My app can make the screen "go dark" or throw up an Apple-looking password prompt.
As I kept saying (and once emailed Steve Jobs about) the way to properly handle this is:
1. Establish a secret phrase or icon when the account is created, that the user can recognize
2. Show it in the iframe when the user places their keyboard focus into the password field
3. Do not allow outside code to grab it -- in browsers, use the cross domain security model, in MacOS use the anti-DRM preventing screenshotting a certain window.
Now, it's true that on the web, the secret phrase or icon has to depend on the user already having a session they've logged into. This authentication prevents an attacker from simply getting the secret phrase or icon.