liveBook · Manning

Chapter 4: Authorization: What can you do?

What you will learn in chapter 4 of Authorization in Action

The Ring case shows why verifying a person’s identity is not enough to control what they may access.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The Ring case shows why verifying a person’s identity is not enough to control what they may access.

Key terms: authentication, authorization, contextual checks, policy-based enforcement

4.1 Authorization deserves its own focus

This section explains why authorization needs attention distinct from authentication: access decisions are contextual, distributed, and consequential for security and users.

Key terms: authentication, authorization, contextual, continuous, roles, hardcoded rules, permissions, policies, distributed, consistent authorization logic

4.2 From relationships to access control

The section explains how authorization turns an authenticated digital relationship into enforceable decisions about access.

Key terms: digital identity, authentication, authorization, access control, role, contextual data, policy, registered device

4.3 Speaking authorization: Key concepts and terms

This section distinguishes access control as the overall strategy from authorization as the mechanism that makes and enforces access decisions at runtime.

Key terms: access control, authorization, identity, attributes, policy, runtime decisions

4.3.1 The PARC model

This section introduces PARC as a four-part way to describe authorization decisions and explain how context shapes access.

Key terms: PARC, principal, action, resource, attributes, conditions, context, workload identity

4.3.2 Understanding the language of access

This section defines the vocabulary used to describe participants, rules, requests, and outcomes in authorization decisions.

Key terms: entity, principal, resource, attribute, subject, namespace, group, role, permission, entitlement

4.4 Authorization reference architecture

The section introduces the four-part authorization reference architecture inherited from XACML and explains why it remains a useful blueprint despite XACML’s limited adoption.

Key terms: Policy Enforcement Point (PEP), Policy Decision Point (PDP), Policy Administration Point (PAP), Policy Information Point (PIP), reference architecture, abstract yet actionable, reusable across domains, XACML, separation of concerns

4.4.1 How access decisions are made

The section traces how ACMEProject turns Alice’s request to view a report into an explainable, policy-driven access decision.

Key terms: Policy Enforcement Point (PEP), Policy Decision Point (PDP), Policy Information Point (PIP), principal, action, resource, conditions, deny decision

4.4.2 Where policies come from

This section explains how ACME creates and governs authorization policies in a Policy Administration Point before deploying them for Policy Decision Points to use.

Key terms: Policy Administration Point (PAP), declarative, version control, Policy Decision Point (PDP), centralized PDP, distributed systems, cached policies, policy artifact, owner, history

4.5 Architecture patterns in practice

This section introduces the practical need to place authorization components in a system and identifies the factors that shape that choice.

Key terms: PEPs, PDPs, PIPs, enforcement, API gateway, sidecar

4.5.1 Embedded PEPs in applications and gateways

This section compares application, API gateway, and sidecar placements for policy enforcement points and explains how to choose among them.

Key terms: Policy Enforcement Point (PEP), Policy Decision Point (PDP), inline access check, API gateway, perimeter, sidecar, service mesh, inbound and outbound traffic, microservice-to-microservice authorization, trust boundaries

4.5.2 Centralized PDPs

This section explains how application-specific enforcement points use a shared decision point, and the management benefits and reliability tradeoff of that arrangement.

Key terms: Policy Decision Point (PDP), Policy Enforcement Point (PEP), centralized PDP, single source of truth, Policy Administration Point (PAP), policy management, logging and auditing, latency, decision service, availability

4.5.3 Distributing authorization decisions

This section explains how services make authorization decisions locally, how policies and context reach them, and what to weigh when choosing a distributed architecture.

Key terms: authorization client, PEP, PDP, entity cache, API gateway, sidecar, PAP, PIP, contextual data, versioned policy management workflow

4.5.4 Choosing the right pattern

This section explains how to choose authorization architecture components for a system while preserving the same basic decision-and-enforcement flow.

Key terms: centralized PDPs, distributed PDPs, PEPs, trust boundary, context, policy, enforce the decision

4.5.5 Why this separation matters

This section explains why separating authorization enforcement, decisions, policy management, and data sourcing is safer and easier to manage than embedding access checks in applications.

Key terms: access logic, hardcoded role checks, authorization rules, Policy Enforcement Point (PEP), Policy Decision Point (PDP), Policy Administration Point (PAP), Policy Information Point (PIP), maintainability, consistency, PDPs

4.6 From architecture to models

This section distinguishes authentication from an access decision and explains why contextual, distributed authorization needs a consistent structure.

Key terms: authentication, authorization, relationship, action, resource, conditions, common vocabulary, consistent decision model, enforcement, policy evaluation

4.7 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 3: Authentication: Who are you? Chapter 5: Static authorization models →

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.