✳ The reference desk / In practice

ABAC

An access control model in which a policy engine decides each request from attributes of the subject, the object, the action, and the environment at that moment.

Attribute-based access control

What it means

Attribute-based access control, or ABAC, decides each request from facts about it. Subject attributes describe the caller, such as department. Object attributes describe the resource, such as its tag. The action is what is being asked. Environment attributes describe the moment, such as the time and the health of the device. A policy states which combinations are allowed. An enforcement point holds each request, a decision point evaluates the policy, and an information point fetches the attributes. The same person can be permitted now and denied an hour later, because the facts changed. The decision is only as good as the attribute data.

See the idea / Access

ABAC decides each request on the facts at that moment.

Follow one move command through the antenna gateway. The policy needs four facts to be true. Then change one fact and send the same command.

Meridian’s antenna gateway uses attribute-based access control, or ABAC. It permits a move command only when four things are true. The caller’s department is Station-Ops. The antenna is tagged Operational. The workstation is managed and healthy. A pass is scheduled at the current time. The gateway enforces each answer. A separate decision point evaluates the policy, and an information point looks up the attributes it needs. Kael, in Station-Ops, sends a move command from his managed laptop. Compare a request during a scheduled pass with the same request when no pass is scheduled.

ABAC: Follow one move command through the antenna gateway. The policy needs four facts to be true. Then change one fact and send the same command. The chapter text below describes every state.Antenna gateway · ABAC policyKael asks to move the antennaGateway · enforcement pointMove command heldNever decides aloneSubject, object and deviceNot fetched yetFetched fresh for this requestEnvironment · pass scheduleNot checked yetRead at the time of the requestDecision pointNo answer yetPermit needs all four conditionsREQUEST HELD AT THE GATEWAY

01 / 04

Hold

Kael sends a move command. The gateway holds it and asks the decision point. Nothing reaches the antenna yet.

More about this step

The gateway is the policy enforcement point. It sits on the path to the antenna and never decides alone. The policy decision point evaluates the rule and answers permit or deny.

Keep in mindOne policy with four conditions. The place where the policy is written, the policy administration point, is not shown. A decision is only as good as the attribute data behind it, and stale or wrong attributes give wrong answers. A real policy must also say what happens when an attribute cannot be fetched.

Read the visual, step by step

Pass scheduled

  1. Hold. Kael sends a move command. The gateway holds it and asks the decision point. Nothing reaches the antenna yet. The gateway is the policy enforcement point. It sits on the path to the antenna and never decides alone. The policy decision point evaluates the rule and answers permit or deny.
  2. Fetch. A policy information point, which looks up attributes, fetches three of them. Kael’s department is Station-Ops, the antenna is tagged Operational, and his laptop is managed and healthy. The policy information point fetches these from the systems that own them: the staff directory, the antenna inventory and device management. They are read fresh for this request, not copied from an earlier one. Department is a subject attribute. The tag is an object attribute. Device health is an environment attribute.
  3. Check time. The pass schedule shows a pass in progress at the moment of the request. That is the fourth attribute. Like device health, it describes the environment of the request. This attribute can change from minute to minute while everything about Kael stays the same. That is the difference from a role, which describes a person’s job and not the moment.
  4. Decide. All four conditions hold, so the decision point answers permit. The gateway forwards the move command to the antenna. The answer applies to this request only. The next move command is held and decided again, with attributes fetched again.

No pass scheduled

  1. Hold. Kael sends a move command. The gateway holds it and asks the decision point. Nothing reaches the antenna yet. The gateway is the policy enforcement point. It sits on the path to the antenna and never decides alone. The policy decision point evaluates the rule and answers permit or deny.
  2. Fetch. A policy information point, which looks up attributes, fetches three of them. Kael’s department is Station-Ops, the antenna is tagged Operational, and his laptop is managed and healthy. The policy information point fetches these from the systems that own them: the staff directory, the antenna inventory and device management. They are read fresh for this request, not copied from an earlier one. Department is a subject attribute. The tag is an object attribute. Device health is an environment attribute.
  3. Check time. The pass schedule shows no pass at the moment of the request. The fourth condition fails. Kael is the same person in the same department on the same healthy laptop. Only the time is different. A role-based check would have no way to see that.
  4. Decide. One condition fails, so the decision point answers deny. The gateway blocks the move command, and the antenna receives nothing. This is what happened in the lesson: the gateway refused Kael’s move command because no pass was scheduled. The refusal is logged with the condition that failed.

One policy with four conditions. The place where the policy is written, the policy administration point, is not shown. A decision is only as good as the attribute data behind it, and stale or wrong attributes give wrong answers. A real policy must also say what happens when an attribute cannot be fetched.

Flow references: NIST SP 800-162: Guide to Attribute Based Access Control

AN ILLUSTRATIVE SCENARIO

The same command, an hour apart

Meridian's antenna gateway permits a move command only when four facts hold. Kael is in Station-Ops, the antenna is tagged Operational, and his laptop is managed and healthy. During a scheduled pass, the fourth fact holds and the gateway forwards the command. When Kael sends the same command with no pass scheduled, the decision point answers deny and the gateway blocks it.

Put it to work

  1. Write the rule in one plain sentence first, naming each fact that must be true, and get the resource owner to agree to it.
  2. For each fact, name the system that owns it, how fresh it must be, and what the decision should be if it cannot be fetched.
  3. Log every decision with the attribute values that were used, so that a denial or a wrong permit can be explained afterwards.

How to check your work

Send one request that should be permitted. Then change one attribute at a time and resend it. Each single change must flip the answer to deny, and the log must name the condition that failed.

Connect the ideas

  • RBAC

    An access control model in which permissions are attached to job roles and users are assigned to roles. A user can do what their roles allow, and nothing is granted to a person directly.

  • Authorization

    The decision about whether a person, device, workload, or anonymous requester may perform a particular action on a resource.

  • Zero trust

    An architecture approach that grants no implicit trust from network location or asset ownership and evaluates access to resources using identity, device, and other context.

  • Least privilege

    Granting each identity only the actions, objects, and time window required for the current job.

Explore a field lesson

Find your next idea.

Tip: press / to open search. Escape closes this window.