Security · 11 min read
What Is AAA in Cybersecurity? Authentication, Authorization and Accounting Explained
AAA stands for authentication, authorization and accounting. Learn how each part works, the IAAA model, access control models (DAC, MAC, RBAC, ABAC), the protocols behind AAA and how to apply it to your network.
AAA (authentication, authorization and accounting) is the security framework that controls who can use a network or system, what they are allowed to do, and keeps a record of what they did. Authentication proves identity, authorization grants permissions, and accounting records activity. Together they make every action traceable to a person.
The three parts of AAA
| Part | Question it answers | Network example |
|---|---|---|
| Authentication | Who are you? | A laptop proves its identity with a certificate before an 802.1X switch port opens. |
| Authorization | What may you do? | The RADIUS server places the laptop in the staff VLAN; a TACACS+ server lets an operator change VLANs but not firewall rules. |
| Accounting | What did you do? | The switch records the session start, stop and data used; the router logs every configuration command. |
From AAA to IAAA: identification comes first
Security frameworks, including the CISSP Identity and Access Management domain, often extend AAA to IAAA:
- Identification: the subject claims an identity, such as a username, an email address or a device certificate.
- Authentication: the subject proves the claim.
- Authorization: the system decides what the proven identity may access.
- Accountability: actions are recorded and traced back to that one identity. Accounting is the mechanism and accountability is the result.
Accountability only works when every person has a unique account. One shared "admin" login breaks the chain for everyone who uses it.
Authentication factors
- Something you know: a password or PIN.
- Something you have: a phone authenticator, smart card or hardware security key.
- Something you are: a fingerprint or face.
Multi-factor authentication (MFA) combines factors of different types. Two passwords are still one factor. Phishing-resistant MFA, such as FIDO2 security keys and passkeys, is now the recommended standard for administrator accounts. See our passkeys tutorial.
Authorization: access control models
| Model | How access is decided | Where it fits |
|---|---|---|
| Discretionary (DAC) | The owner of a resource grants access | File shares, small teams |
| Mandatory (MAC) | The system compares security labels and clearances | Classified government data |
| Role-based (RBAC) | Permissions belong to job roles | Network and IT administration |
| Attribute-based (ABAC) | Policies evaluate user, device, location and time | Zero trust, cloud, remote access |
| Rule-based | Global rules apply to everyone | Firewalls and router ACLs |
Whatever the model, two principles apply: least privilege (only the access needed, only for as long as needed) and separation of duties (no one person can both make and approve a critical change). Our least-privilege tutorial shows how to apply them to network teams.
The protocols that deliver AAA
| Protocol | Transport | Main use |
|---|---|---|
| RADIUS (RFC 2865/2866) | UDP 1812 (auth), 1813 (accounting) | 802.1X wired and Wi-Fi access, VPN users, guest portals |
| TACACS+ (RFC 8907) | TCP 49 | Administrator logins and command authorization on network devices |
| Diameter (RFC 6733) | TCP or SCTP 3868 | Mobile operator (4G/5G) core networks |
| Kerberos | UDP/TCP 88 | Windows Active Directory and single sign-on inside the LAN |
| SAML 2.0 / OpenID Connect | HTTPS | Single sign-on to web dashboards and cloud apps |
For the two most common network protocols side by side, read RADIUS vs TACACS+.
How AAA works in a typical business network
- An employee's laptop connects to a switch port or the staff Wi-Fi.
- The switch or access point asks the RADIUS server to check the laptop's certificate (802.1X with EAP-TLS).
- RADIUS checks the directory, then returns Access-Accept with the staff VLAN.
- The switch starts an accounting session and records the start, stop and data used.
- Separately, a network engineer logs in to the switch CLI. TACACS+ authenticates them with MFA, allows operator-level commands and logs each command.
AAA security checklist
- Unique accounts for every administrator; no shared logins.
- MFA on all admin access, with phishing-resistant methods for privileged roles.
- Central AAA servers in pairs for redundancy, plus one vaulted break-glass account per device.
- RADIUS servers patched against Blast-RADIUS (CVE-2024-3596), with Message-Authenticator required.
- AAA traffic kept on a management network or inside encrypted tunnels.
- Accounting and syslog sent to protected storage with synchronised time. See the audit-trail tutorial.
- Quarterly review of who holds which role.
How Navijin fits
Navijin managed switches, access points and gateways authenticate users and devices against your RADIUS server for 802.1X, WPA2/WPA3-Enterprise Wi-Fi and captive portals. Talk to a Navijin engineer about designing AAA for your sites.
FAQ
Frequently asked questions
What does AAA stand for in security?
Authentication, authorization and accounting: proving who a user or device is, deciding what it may access, and recording what it did.
What is the difference between authentication and authorization?
Authentication verifies identity (who you are). Authorization decides permissions (what you may do). Authentication always comes first.
What is IAAA?
Identification, authentication, authorization and accountability. It adds the identity claim at the start and makes accountability, which accounting delivers, the goal.
Which protocols are used for AAA?
RADIUS for network access, TACACS+ for device administration, Diameter in mobile networks, and Kerberos, SAML and OpenID Connect for single sign-on.
Is accounting the same as logging?
Accounting is a structured log of user sessions and actions sent to the AAA server. It is usually combined with device syslog for a full audit trail.
Related
Keep reading
RADIUS vs TACACS+
Read more →Set up TACACS+ AAA
Read more →Understanding 802.1X
Read more →What Is a SOC (Security Operations Center)? Roles, Tools and AI SOC Explained
What is a SOC? How a security operations center works, SOC analyst tiers, core tools (SIEM, EDR/XDR, SOAR), in-house vs managed SOC, what an AI SOC is, and how it differs from SOC 2 compliance.
Read more →What Is a RADIUS Server? How RADIUS Authentication Works
What is a RADIUS server and how does RADIUS authentication work? The Access-Request flow, ports 1812/1813, common uses for Wi-Fi, 802.1X and VPN, popular RADIUS servers and how to secure them.
Read more →VPN Terms Explained: VPN Tunnel, Concentrator, Passthrough, Kill Switch and VPN Router
Clear answers to common VPN questions: what a VPN tunnel is, what a VPN concentrator does, VPN passthrough, VPN kill switch, VPN routers, split tunnelling and site-to-site vs remote-access VPN.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.