Module 5 · Lesson 5.2

Authentication vs. authorization

The system verifies the credential and applies the site’s access rules.

  • 4-minute video
  • 6-minute read
  • Builds on lessons 0.2 and 5.1

A perfectly genuine card, held by its rightful owner, can still be refused at a door. That isn’t a failure: proving who someone is and deciding what they may do are two different questions.

Two questions

Lesson 0.2 introduced the difference; now we can place it in the system. Authentication asks whether the credential is genuine and, where required, whether the person presenting it is its holder. For a PIV card, that’s one of the mechanisms of Module 4. PKI-CAK, for example, verifies a certificate path and a signed fresh challenge, which demonstrates possession of the genuine card; checking the holder needs additional evidence, such as a PIN or fingerprint. Other mechanisms follow different steps. The verifier can sit in the reader, the controller or a separate module (lesson 5.1). Its output is a verified identifier.

Authorization asks what that person may do: may they enter this door, at this time? The controller answers from the rules set in the access control system: which doors each person may use, on which schedules, and whether their record is still active.

Authentication and authorization, side by side Two panels. Authentication asks: is this credential genuine? The example shows PKI-CAK verifying the card using its certificate and a fresh challenge. Other mechanisms can also verify the presenter, for example with a PIN or biometric. Its answer is a verified identifier, which passes to authorization. Authorization asks: may this person enter this door, now? It checks the person’s access rights for this door, the schedule and area status, and whether the person is still active in the system. Its answer is open or deny. AuthenticationIs this credential genuine?• Example: PKI-CAK on a PIV card• Certificate path• Fresh challenge, signed bythe card• Some mechanisms: PIN orbiometric tooAnswer: a verified identifierAuthorizationMay this person enterthis door, now?• Access rights for this door• Schedule, holidays,area status• Person still activein the systemAnswer: open, or denyTwo questions, often answered by different partsof the system and different people.
The system verifies the credential. Some mechanisms also verify the presenter. The access rules then determine whether to admit them.

What authorization looks at

  • Access rights: groups of doors, often called access levels, assigned to people or roles.
  • Schedules: the hours and days a right applies, including holidays.
  • Status: whether the person’s record is active, suspended or expired, separately from the credential’s own status.
  • Area rules: for example, hard anti-passback, which refuses a second entry without an exit in between, or a two-person rule for sensitive rooms.

Authorization depends on authentication: rules are only as good as the identifier they’re applied to. A copied badge number, accepted without authentication, is authorized as if it were the real person.

Try it: same card check, different answers

Every card below authenticates successfully, unless you untick the box. Choose who is at the door, which door and when, and see what the access control system decides. The rules are an example.

Who

Which door

When

Different owners

The two answers often come from different organizations. A card issuer, such as a federal agency, vouches for identity across many sites. Each site decides, for itself, who may enter which doors. That’s why a partner agency’s PIV card can authenticate at your door without giving its holder any access: your system still has to authorize them. And it’s why ending access and ending a credential are separate steps (lesson 2.5). When a visiting partner’s assignment ends, the site removes their access, and the issuer can keep the credential valid for work elsewhere. When eligibility for the credential itself ends, the issuer handles termination.

Go deeperOptional technical detail for readers who want more

Zero Trust at the door

NIST SP 800-207 describes zero trust for networks: no request is trusted because of where it comes from, every access is decided per request using current information, and each person gets the least access needed. The same ideas fit doors. Being inside the building shouldn’t grant access to inner doors, every tap should be checked against current rights and credential status, access should match the role and expire when no longer needed, and events should feed monitoring that can respond.

Where the decision is made

In most systems the controller decides, using rules copied from the server. That keeps doors working when the network fails, but means changes must reach every controller quickly. When someone leaves, a right that lingers on one controller is still a working right.

Role-based and attribute-based access

Small sites often assign doors to people directly. Larger sites use roles, such as lab staff, so a change to a role updates everyone in it. Some systems also use attributes, such as training completed or a clearance, to decide access dynamically.

Sources

Draft lesson, awaiting technical review · Last updated 1 December 2026

Search

Press / to search from any page