Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
101 UX Principles – 2nd edition

You're reading from   101 UX Principles – 2nd edition Actionable Solutions for Product Design Success

Arrow left icon
Product type Paperback
Published in May 2022
Publisher Packt
ISBN-13 9781803234885
Length 454 pages
Edition 2nd Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Will Grant Will Grant
Author Profile Icon Will Grant
Will Grant
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface
1. UX Field FREE CHAPTER 2. Typography 3. Controls 4. Content 5. Navigation 6. Iconography 7. Input 8. Forms 9. User Data 10. Progress 11. Accessible Design 12. Journeys and State 13. Terminology 14. Expectations 15. UX Philosophy 16. Other Books You May Enjoy
17. Index

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/

A user with a password manager app will have a long, impossible-to-remember password that has to be pasted into the field (especially on mobile, where it’s more tricky to autofill the field). However, disabling paste in a password field forces users...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image