Skip to Content
101 UX Principles – 2nd edition - Second Edition
book

101 UX Principles – 2nd edition - Second Edition

by Will Grant
May 2022
Beginner
454 pages
4h 19m
English
Packt Publishing
Content preview from 101 UX Principles – 2nd edition - Second Edition

#41

Always Allow the User to Paste into Password Fields

It’s difficult to fathom where this pattern of disabling paste came from or what possible security issue it’s supposed to address. Back in the 1990s, “webmasters” would disable right-click to prevent users from copying images. This worked for about 5 seconds, until people realized that they could just screen capture the image. Using some JavaScript on the page to prevent users from pasting into a password field is insane and potentially harmful for security.

Always Allow the User to Paste into Password Fields

Figure 41.1: Screenshot from security expert Troy Hunt’s blog post, “The ‘Cobra Effect’”: https://www.troyhunt.com/the-cobra-effect-that-is-disabling/ ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

101 UX Principles

101 UX Principles

Will Grant
Lean UX, 3rd Edition

Lean UX, 3rd Edition

Jeff Gothelf, Josh Seiden

Publisher Resources

ISBN: 9781803234885