chapter seven

7 Make the safest path the path of least resistance

 

This chapter covers

  • Exploring the various identity and security tasks users are asked to go through
  • Debunking the myth that more accessibility will make systems less secure
  • Reducing resistance during security-related tasks using built-in mechanisms
  • Offering alternative methods for more inclusive security processes
  • Minimizing reliance on cognitive and physical abilities
  • Building accessible two-factor authentication (2FA) systems
  • Planning for account recovery before it is required
  • Preserving user effort after session timeouts

Humans have evolved over millennia, with step-changes that led to the invention of stone-carving tools and temple-building techniques, as well as processes that brought us to the agricultural revolution. A metaphorical second later, that same human is facing cybersecurity challenges. We tend to forget that humans are only humans. Technology keeps evolving, and the complexity of daily challenges keeps morphing and growing.

When it comes to web application security, organizations often place the burden on their users, adding checkpoints to ensure they are human, that they are who they claim to be, and that they truly deserve access to our service! How dare they?

7.1 Be mindful of identity and account tasks

7.2 Accessibility versus security – the tradeoff fallacy

7.3 Reduce resistance

7.3.1 Offer mechanisms to support users

7.3.2 Offer alternative methods

7.4 Verify identities, not cognitive and physical abilities

7.4.1 Minimize recall

7.4.2 Minimize transcription

7.4.3 Minimize problem-solving

7.4.4 Minimize reliance on behavioral patterns with proof-of-work (POW)

7.4.5 Minimize movement

7.4.6 Consider just-in-time over just-in-case security checks

7.5 CAPTCHA

7.6 Two-factor authentication

7.7 Account recovery

7.7.1 Help users recover from any incident that may lock them out

7.7.2 Let users configure backup recovery methods before they need them

7.8 Handle session timeouts and session state gracefully

7.9 Summary

7.10 References