Join our Newsletter — 33% off our NHI Course

Zanzibar

Zanzibar is Google’s distributed, relationship-based authorization model for large-scale permission management. It represents access as relationships between users, groups, and resources, then evaluates those relationships quickly and consistently across services. The model is designed for massive scale, low latency, and highly flexible policy expression.

How Zanzibar works as a relationship-based authorization model

Zanzibar expresses permission as relationships, not as isolated allow or deny flags. That matters because the model can answer access questions at scale by traversing who relates to what, through which group, role, or shared structure, rather than recomputing bespoke policy logic for every service.

The design is especially useful when a platform has many resources, many tenants, and many changing entitlements. Instead of hard-coding authorization decisions into each application, Zanzibar gives engineers a consistent way to represent access logic centrally while still serving decisions with low latency.

That relationship-centric approach also changes how teams think about authorization data. The important object is not just the principal or the resource, but the graph between them, including inherited membership, nested groups, delegated access, and other links that determine effective permission.

Why Zanzibar is distinct from simpler permission systems

Many permission systems can grant access to a user or a role, but Zanzibar is built for richer and more dynamic relationship graphs. It is the difference between a static access list and a system that can evaluate whether a user is related to a document through ownership, team membership, folder hierarchy, or other policy-defined paths.

That flexibility makes Zanzibar a strong fit for large distributed services, but it also means the authorization model must be designed carefully. A relationship-based system can become difficult to reason about if the schema is inconsistent, if relationship chains are too deep, or if application teams encode business logic in incompatible ways.

For practitioners, the practical advantage is that one authorization language can serve many applications. The practical tradeoff is that the model demands discipline in schema design, naming, and testing, because a small relationship error can affect many downstream access decisions.

Where Zanzibar fits in modern security architecture

Zanzibar sits in the authorization layer, not the authentication layer. It does not prove who a user is; it determines what that user can do after identity has been established. In practice, that makes it a control plane for entitlement decisions across internal platforms, admin consoles, APIs, and collaboration systems.

It is most valuable when access needs to be consistent across services that would otherwise implement authorization differently. A central relationship model can reduce policy drift, improve auditability, and make it easier to reason about effective access in environments with shared data and delegated administration.

Because the model is relationship-driven, it also aligns naturally with use cases like group membership, team ownership, resource sharing, and nested inheritance. Those are common authorization patterns in large enterprises, and they are difficult to manage cleanly when each application invents its own rules.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, CIS Controls v8 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.AC — Identity Management, Authentication, and Access Control Zanzibar materially implements access control at scale across services.
Recommendation — Apply PR.AC controls to keep relationship-based access decisions consistent and least-privileged.
CIS Controls v8 6 — Access Control Management Zanzibar governs who can access resources and how those permissions are managed.
Recommendation — Use CIS Control 6 to centralize and review relationship-driven permissions.
NIST SP 800-63 3 — Authenticator and Lifecycle Management Zanzibar depends on trustworthy identity establishment before authorization can be evaluated.
Recommendation — Pair Zanzibar with strong identity assurance before granting access through relationships.

Practitioner Guidance

Common misunderstanding: Zanzibar is sometimes treated as a generic access-control product, but it is really a model for expressing and evaluating relationships that drive authorization. The quality of the implementation depends on how well the underlying relationship schema matches business reality.

What to watch for: Pay close attention to ambiguous inheritance, overly broad group relationships, and inconsistent naming of subjects and resources. Those issues can produce access that is technically valid in the graph but operationally wrong for the business process.

Practitioner takeaway: Treat Zanzibar as an authorization architecture decision, not just an API choice, and validate the relationship model with real access scenarios before relying on it at scale.