---
title: "Auth & Security"
description: "How Byline controls who can do what, and how it records what was done — the actor and ability model, two-layer access control with read-side row scoping, and the version and document-level audit trails."
canonical: "https://bylinecms.app/docs/auth-and-security"
locale: "en"
collection: "docs"
updated: "2026-06-21T04:10:54.398Z"
---

# Auth & Security

How Byline controls who can do what, and how it records what was done — the actor and ability model, two-layer access control with read-side row scoping, and the version and document-level audit trails.

Byline takes access control and provenance seriously by default rather than as a bolt-on. This section covers both halves: deciding what an actor is allowed to do, and keeping a faithful record of what actually happened.

- [Authentication & Authorization](/docs/authn-authz) — actors and `RequestContext`, the ability registry, two-layer enforcement, read-side row scoping via `beforeRead`, field redaction via `afterRead`, and pluggable session providers. Includes worked access-control recipes.
- [Auditability](/docs/audit) — the per-version acting-user trail and the document-level audit log, plus the history and activity views built on top of them.
