Rule-based access control

Rule-based access control (RuBAC) is an authorization model where access is granted or denied based on predefined rules set by an administrator, such as time-of-day limits or IP restrictions, that apply automatically to everyone regardless of individual identity.

Verified for the 2027 AP Cybersecurity examLast updated June 2026

What is rule-based access control?

Rule-based access control (RuBAC) decides who gets in based on a set of rules an administrator writes ahead of time. The rules apply to everyone the same way. A classic example: "no one can log in to the server between 2 a.m. and 4 a.m." or "only traffic from this IP range is allowed." The system checks the rule, not who you are.

This sits in the authorization layer, which is the step that happens after authentication. Authentication (Topic 4.2) proves you are who you say you are. Authorization decides what you're allowed to do once you're verified. RuBAC handles that second step by matching the request against its rules and either letting it through or blocking it. Because the rules are conditions like time, location, or network address, RuBAC often reacts to context rather than to a person's role or job title.

Why rule-based access control matters in AP Cybersecurity

Rule-based access control lives in Unit 4: Securing Devices, tied to Topic 4.2 Authentication and the broader idea of authorization that follows it. It connects directly to learning objective AP Cybersecurity 4.2.C (determining the type of authentication used to verify identity) because authorization models only make sense once you understand how a user proves identity first. It also pairs with 4.2.D (configuring login settings to make a device more secure), since rules like time-of-day restrictions and IP allow-lists are exactly the kind of login configuration that hardens a device. The big theme: layering controls so that even a verified user can't do anything they want.

Keep studying AP Cybersecurity Unit 4

How rule-based access control connects across the course

RBAC vs RuBAC (Unit 4)

RBAC (role-based) decides access by your job role, like "managers can edit payroll." RuBAC decides by a condition that's true or false, like "only during business hours." One looks at WHO you are, the other looks at the SITUATION.

Authorization (Unit 4)

RuBAC is one flavor of authorization, the step that comes after authentication confirms your identity. Knowing this order keeps you from confusing "proving who you are" with "deciding what you can touch."

Access control list (ACL) (Unit 4)

An ACL is a literal list of permissions attached to a resource. RuBAC rules often get enforced through ACLs, especially firewall rules that allow or block traffic by IP or port. The rule is the policy; the ACL is where it's written down.

MAC and DAC (Unit 4)

MAC (mandatory) and DAC (discretionary) are two other access control models. Lining all four up (MAC, DAC, RBAC, RuBAC) is the fastest way to keep their definitions straight on the exam.

Is rule-based access control on the AP Cybersecurity exam?

Expect rule-based access control on multiple-choice questions that ask you to match a scenario to the right access control model. A stem describing "access blocked outside of 9-to-5" or "only this IP range allowed" points to RuBAC, while "access based on job title" points to RBAC. No released FRQ has used this term verbatim, but it supports the kind of device-hardening and login-configuration reasoning Unit 4 rewards. Your job is to recognize that RuBAC is triggered by a condition, not by identity, and to place it correctly in the authentication-then-authorization sequence.

Rule-based access control vs RBAC (role-based access control)

The acronyms look almost identical, which is exactly why they get mixed up. RBAC grants access based on your assigned role or job (a manager, an intern, an admin). RuBAC grants access based on a rule or condition that's the same for everyone (time of day, IP address, day of week). If the scenario mentions a person's title or group, it's RBAC. If it mentions a circumstance like time or location, it's RuBAC.

Key things to remember about rule-based access control

  • Rule-based access control (RuBAC) grants or denies access based on predefined rules, like time-of-day or IP restrictions, that apply to everyone equally.

  • RuBAC is an authorization model, so it kicks in after authentication has already verified who you are.

  • The fastest way to spot RuBAC on a question is to look for a condition or circumstance rather than a person's role.

  • RuBAC and RBAC are different: RuBAC reacts to the situation, RBAC reacts to your job title.

  • RuBAC rules are often enforced through tools like ACLs and firewall settings, which fits the device-hardening focus of Unit 4.

Frequently asked questions about rule-based access control

What is rule-based access control in AP Cybersecurity?

Rule-based access control (RuBAC) is an authorization model where an administrator sets rules, such as allowed login times or permitted IP addresses, that the system applies automatically to every user regardless of their identity. It appears in Unit 4 alongside authentication and other access control models.

Is rule-based access control the same as role-based access control?

No. Role-based access control (RBAC) grants access based on your job role or title, while rule-based access control (RuBAC) grants access based on a condition like time or location. They share the same first letters, but RBAC looks at who you are and RuBAC looks at the situation.

How is RuBAC different from an access control list?

RuBAC is the policy (the rule itself, like "block traffic outside business hours"), while an access control list (ACL) is the place where permissions get written down and enforced. A firewall ACL is often how a RuBAC rule actually gets applied.

Does RuBAC handle authentication or authorization?

Authorization. Authentication proves your identity first, then authorization, including RuBAC, decides what you're allowed to do. RuBAC never verifies who you are; it just checks whether the current conditions allow your request.

What's an easy example of rule-based access control?

A firewall rule that only allows connections from a specific IP range, or a system setting that blocks all logins between 2 a.m. and 4 a.m. Both apply the same condition to everyone, which is the signature of RuBAC.

Keep studying AP Cybersecurity

Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.