liveBook · Manning

Chapter 1: Why authorization matters: Securing access in a digital world

What you will learn in chapter 1 of Authorization in Action

The introduction uses the Target breach and cloud applications to show why authorization is both a security boundary and an architectural capability.

After this chapter you will be able to

Section by section

Introduction

The introduction uses the Target breach and cloud applications to show why authorization is both a security boundary and an architectural capability.

Key terms: authentication, authorization, access, access governance, authorization boundaries, visibility, policy-based authorization, multi-tenancy

1.1 Managing relationships through digital identity

This section explains digital identity as a way to manage online relationships and introduces why access decisions need more than authentication or embedded permission checks.

Key terms: digital identity system, entity, relationships, proximity problem, authentication, authn, accounts, authorization, authz, multi-tenanted applications

1.2 Challenges with traditional approaches to authorization

This section introduces traditional authorization methods and identifies their shared reliance on static permissions, groups, and roles.

Key terms: static authorization, explicit permissions, groups, roles, Unix file permissions, ACLs, role-based access control (RBAC), business roles

1.2.1 Scalability

This subsection explains why static access lists become difficult to maintain as the number of entities, actions, and resources grows.

Key terms: static lists, principals, actions, resources, groups, principal, user

1.2.2 Flexibility

This section explains why static access lists struggle with changing circumstances and why authorization must evaluate conditions when access is requested.

Key terms: static lists, request context, flexible authorization systems, policies, Privileged Access Management (PAM)

1.2.3 Maintainability

This section explains why changing resources, assignments, and exceptions make list- and role-based authorization hard to maintain, and contrasts that upkeep with runtime evaluation.

Key terms: ACLs, over-permissioning, under-permissioning, roles, exceptions, principals, effective authorization decision, dynamic authorization, runtime

1.2.4 Inefficiency

This section uses an electronic health record system to show why ACLs and groups become costly to manage in distributed, multi-organization settings.

Key terms: ACLs, groups, role assignments, patient consent, EHR

1.2.5 Auditability

This section explains why static authorization makes regulatory access audits difficult and how dynamic authorization offers a clearer basis for reviewing compliance.

Key terms: static roles, ACLs, groups, baselining, excess permissions, temporary access, dynamic authorization, policies, system logs, compliance

1.2.6 Security

This section explains how static authorization can leave unnecessary access in place and make stronger security, including zero trust, costly and incomplete.

Key terms: static lists, principals, permissions, zero trust, static authorization tools, managed device, just-in-time permission escalation

1.2.7 Consistency and transparency

The section explains how static, scattered access rules obscure whether authorization matches business policy and how complex permissions can lead to policy drift.

Key terms: access control, static lists, central view of policies, access control lists, group-based permissions, group membership, policy drift

1.2.8 Dynamic authorization addresses these challenges

This subsection presents policy-based dynamic authorization as a response to the scalability and flexibility challenges of traditional authorization.

Key terms: dynamic authorization, policies, machine-readable policy language, scalability, flexibility

1.3 Authorization matters

This section introduces the growing importance of dynamic authorization before the following sections discuss the trends behind it.

1.3.1 Software as a Service

This section explains why shared SaaS services need flexible authorization to protect customer data and control access within each customer organization.

Key terms: SaaS, multi-tenanted, access, policy-based authorization system, externalize, dynamic authorization

1.3.2 Zero-trust security models

The section explains why perimeter defenses are insufficient for modern access patterns and why zero trust requires fast, fine-grained authorization of every request.

Key terms: firewall, perimeter-based security, virtual private networks (VPNs), SaaS-based services, fine-grained, zero-trust security models, assume a breach, authorize every access, every request, PBAC

1.3.3 The Internet of Things

This section explains why connected devices need authorization that limits their access and adapts to changing conditions, including when they operate at the edge.

Key terms: Internet of Things (IoT), smart devices, access needs, edge, dynamic authorization, heterogeneous smart device deployments, real-time decision-making, device attributes, fluctuating risk levels, ACLs

1.3.4 Heightened regulatory environment

The section explains how regulatory requirements make fine-grained, adaptable, and auditable authorization important.

Key terms: context-sensitive, principle of least privilege, fine-grained access control, attributes, consent, dynamic authorization, policy, access protections, auditing, access-logging

1.3.5 Artificial intelligence

This section explains why AI agents and applications that use retrieved data make authorization especially important.

Key terms: GenAI, AI agents, authorization decisions, large language model (LLM), retrieval-augmented generation (RAG), dynamic authorization, fine-grained access control

1.4 Dynamic authorization: Policy as Code and Policy as Data

The section introduces runtime, context-aware authorization and distinguishes two complementary ways to represent policies for access decisions.

Key terms: dynamic authorization, runtime, context-aware, general-purpose engine, Policy as Code, Policy as Data, machine-readable, version-controlled, structured data

1.4.1 Policy as Code: Defining access logic in a programmable way

This section explains how Policy as Code makes access rules manageable with software-development tools and illustrates a reusable rule for protecting critical resources.

Key terms: Policy as Code, version control, CI/CD, policy language, general-purpose policy engine, broad, reusable rules, forbid policy, CriticalResources, device posture signal, Secure

1.4.2 Policy as Data: Storing and managing access rules dynamically

This section explains how Policy as Data stores changing access information for runtime decisions and why relationship data suits document sharing.

Key terms: Policy as Data, Policy as Code, general-purpose engine, runtime, relationship graph, ACL, graph database, unstructured rules

1.4.3 Dynamic authorization needs both

This section explains how Policy as Code and Policy as Data work together to make authorization decisions that are both governed by policy and responsive to changing data.

Key terms: Policy as Code, Policy as Data, principal’s department, resource’s allowed department, Scalability, Flexibility, Security and Compliance, Auditability, version control, access decisions

1.5 The business case for dynamic authorization

ACME’s growing customer collaboration needs expose practical sharing risks and a patchwork of access controls that is hard to manage.

Key terms: customer collaboration, Customer Collaboration platform, groups and roles, access lists, permission settings, patchwork

1.5.1 Reducing operational costs

The section explains how growing authorization complexity raises operational costs and why decisions based on current business facts can reduce that burden.

Key terms: access policies, superlinear policy growth, operational costs, static authorization, dynamic authorization, current business facts

1.5.2 Enabling business agility and innovation

This section explains how dynamic authorization helps ACME respond to changing customer access requirements without multiplying risky, hard-to-change checks in application code.

Key terms: fine-grained controls, static authorization, dynamic authorization, policies, runtime

1.5.3 Improving customer experience

The section explains how policy-driven authorization improves customers’ experience and helps ACME meet varied customer needs without creating separate products.

Key terms: policy driven, permissions, access failures, dynamic authorization, policy-based authorization, configuration, policy, and data, product forks

1.5.4 Strengthening security and compliance

The section explains how dynamic authorization makes security and compliance easier to verify while leaving governance responsibilities in place.

Key terms: static access control, intent and behavior, least privilege, dynamic authorization, version control, tests, decision logs, policy inputs, governance, explicit policies

1.5.5 Competitive differentiation

This section explains how policy-driven authorization helps ACME serve complex enterprise customers without building a separate product for each one.

Key terms: dynamic authorization, policy and data, competitive differentiation, policy-driven authorization

1.5.6 A business necessity

This section brings together the business case for dynamic authorization, showing how one architectural shift can deliver interconnected benefits through incremental changes.

Key terms: dynamic authorization, externalize decision logic, runtime, explicit, incremental path, explicit policy, runtime evaluation, business necessity, access decisions, business relationships

1.6 The strategic imperative of dynamic authorization

This section explains why dynamic authorization must become an integrated architectural capability rather than scattered access logic, and why dependable decisions require a strong identity foundation.

Key terms: dynamic authorization, decision logic, policy, first-class architectural element, authorization infrastructure, governance processes, digital identity, entities, attributes, relationships

1.7 Summary

Where this is used later

Concepts explained in this chapter

Chapter 2: Understanding digital identity →

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.