liveBook · Manning

Chapter 3: Authentication: Who are you?

What you will learn in chapter 3 of Authorization in Action

A Twitter account-hijacking case shows why authentication depends on people and governance as well as technology, and why failures damage the integrity of digital relationships.

After this chapter you will be able to

What it builds on

Section by section

Introduction

A Twitter account-hijacking case shows why authentication depends on people and governance as well as technology, and why failures damage the integrity of digital relationships.

Key terms: authentication, social engineering, phishing, authentication credentials, governance, relationship integrity, verified accounts, multifactor authentication (MFA), zero-trust security model, contingent authorization

3.1 Terminology

Defines precise terms for discussing identity, authentication, and authorization, especially the distinction between a requester and the entity a request concerns.

Key terms: account, identifier, namespace, principal, subject, identity

3.2 Authentication preserves relationship integrity

This section explains how authentication preserves digital relationship integrity, why systems as well as users must be authenticated, and how one compromised relationship can damage others.

Key terms: relationship integrity, technical confidence, authentication, authorization, two-way street, Transport Layer Security (TLS), certificates, Certificate Authorities (CAs), public key, browser lock

3.3 Digital relationship life cycles

This section explains why managing a digital relationship across its life cycle matters for authentication and authorization, and notes that the phases vary by relationship.

Key terms: digital relationships, relationship life cycle, authentication, authorization, orphaned accounts, policy misalignment

3.3.1 Enrollment (discover and co-create)

Enrollment begins a digital relationship through discovery and a shared process of exchanging information and setting up identity details.

Key terms: enrollment, onboarding, discovery, co-create, identifiers, credentials

3.3.2 Propagate

This section explains why changes to a digital relationship must reach the systems that rely on it and identifies protocols that help keep account state consistent.

Key terms: propagation, digital relationship, current account state, SCIM, LDAP, SAML, SSO, OIDC, identity assertions

3.3.3 Use

The use phase is when authentication verifies an identity relationship, authorization governs permitted actions, and the system keeps checking whether the relationship remains valid.

Key terms: use phase, identity relationships, authentication, authorization, contextual signals, policies

3.3.4 Update

This subsection explains how identity relationships are updated and why account recovery can undermine otherwise strong authentication.

Key terms: identity relationships, identifier, repropagated, identity state, account recovery, authentication factors, email resets, weak link

3.3.5 Terminate

This section explains why invalid identity relationships must be terminated and why unused identities need regular cleanup.

Key terms: terminate phase, revoked, orphaned accounts, lingering permissions, automated offboarding, General Data Protection Regulation (GDPR), stale authentication factors

3.4 Enrollment

Enrollment establishes a digital relationship by recording its context and setting up ways to recognize the entity later.

Key terms: enrollment, digital relationship, credentials, authentication, authorization

3.4.1 Self-service vs. admin-driven enrollment

This section contrasts self-service and administrative enrollment and explains the relationship both create.

Key terms: self-service enrollment, administrative enrollment, discovery, identifier, initial authentication credentials, out-of-band process, first sign-in, digital certificates, relationship, authentication

3.4.2 Identity proofing and assurance

This section explains how identity proofing sets assurance during enrollment, why the required rigor varies by risk, and why proofing is difficult to trust across organizations.

Key terms: identity proofing, level of assurance, Identity Assurance Levels, IAL2, Know Your Customer, technical confidence, legal agreements, trust frameworks

3.4.3 Relationship context and boundaries

This section explains how enrollment records the context and boundaries of a relationship, giving authentication and access control different information to use.

Key terms: enrollment context, relationship, authentication, access control, LOA, supplier account, organization’s account, authentication credentials, IAL1, identity proofing

3.4.4 Risk-based boundaries, attribute lifetimes, and reproofing

This section explains why account attributes can become stale and when an organization may need to reproof them.

Key terms: attributes, traits, enrollee, IAL2, IAL3, reproofing, proofed attributes, expiration date

3.4.5 The role of credentials and authentication factors

Enrollment prepares people to return to a system by providing authentication credentials, verifying or recording relevant information, and setting initial roles and defaults.

Key terms: enrollment, authentication credentials, automated proofing, digital certificates, biometrics, self-service, administrative enrollments, initial roles, defaults

3.5 Authentication factors

This section explains why remote authentication needs evidence beyond an account identifier and introduces primary and contextual authentication factors.

Key terms: authentication, proximity problem, digital ceremony, logging in, identifier, authentication factors, primary factors, knowledge, possession, inherence

3.5.1 Primary factors

This section distinguishes knowledge, possession, and inherence authentication factors by what they rely on and the vulnerabilities each carries.

Key terms: knowledge factors, passwords, PINs, security questions, possession factors, smartphones, hardware tokens, smart cards, security keys, inherence factors

3.5.2 Contextual factors

This subsection explains how behavior, location, and time provide contextual evidence for authentication, with examples and limitations.

Key terms: behavior factors, inherence, CAPTCHA, location factors, geo-restrictions, velocity checks, impossible travel, temporal factors, session timing, primary factors

3.5.3 Authentication factors

This subsection distinguishes factors used for direct authentication from contextual factors typically used to assess risk.

Key terms: primary factors, contextual factors, knowledge, possession, inherence, behavior

3.6 Authentication methods

This section introduces four authentication methods, ordered by strength, and explains that each uses an identifier for the account being claimed.

Key terms: identifier, identifier only, token based, identifier with authentication factors, challenge–response

3.6.1 Identifier only

The section explains how a returned identifier can maintain a web session and why that identifier must be kept secret.

Key terms: identifier-only authentication, browser cookies, session, stateless, HTTP, shared secret, public identifiers, impersonate, TLS, HTTP headers

3.6.2 Token based

This section explains how token-based authentication differs from identifier-only authentication and why an authenticated token is more than an arbitrary identifier.

Key terms: token-based authentication, identifier-only authentication, token, enrollment, web cookie, session management

3.6.3 Identifier with authentication factors

This section explains how an identifier and bound authentication factors are used to claim and verify an account, and why adding a one-time password can make a password alone insufficient for an attacker.

Key terms: identifier, authentication factors, progressive disclosure, multifactor authentication, possession factor, one-time password (OTP)

3.6.4 Challenge–response

Explains how challenge–response authentication proves control of a secret without revealing it, why unique challenges resist replay, and how public-key systems put the method into practice.

Key terms: challenge–response, identifier, replay attack, public key, private key, cryptographically sign, verify the signature, passkeys, WebAuthn, SSH key authentication

3.7 Attack models for authentication

The section points readers to a table of common authentication attacks and previews their role in the upcoming discussion of authentication strength.

3.7.1 Authentication assurance levels

This section introduces NIST authentication assurance levels as a way to compare authentication strength and describes where the classification is used.

Key terms: authentication assurance levels, AALs, NIST SP 800-63B, NIST classification, HIPAA, authentication-system vendor literature

3.7.2 Authentication strength and usability

This section compares authentication methods by strength and usability, explaining their main vulnerabilities and why it recommends passkeys for everyday use.

Key terms: passwords, one-time passwords, push notifications, credential stuffing, phishing, SIM swapping, passkeys, phishing resistant, MFA fatigue, key store

3.8 Connecting authentication and authorization

This section explains how authentication grounds authorization decisions in the right identity and relationship context, including the current state of the requester’s device.

Key terms: authentication, authorization, identity relationship, proximity problem, relationship context, attributes, roles, group memberships, access decisions, device posture

3.9 Relationship integrity

This section explains how authentication preserves digital relationship integrity and why authorization becomes unreliable when that integrity fails.

Key terms: relationship integrity, enrollment, authentication, authorization, identity context, access control policies, policy engine

3.10 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 2: Understanding digital identity Chapter 4: Authorization: What can you do? →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.