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

PartQuestion it answersNetwork example
AuthenticationWho are you?A laptop proves its identity with a certificate before an 802.1X switch port opens.
AuthorizationWhat 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.
AccountingWhat 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:

  1. Identification: the subject claims an identity, such as a username, an email address or a device certificate.
  2. Authentication: the subject proves the claim.
  3. Authorization: the system decides what the proven identity may access.
  4. 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

ModelHow access is decidedWhere it fits
Discretionary (DAC)The owner of a resource grants accessFile shares, small teams
Mandatory (MAC)The system compares security labels and clearancesClassified government data
Role-based (RBAC)Permissions belong to job rolesNetwork and IT administration
Attribute-based (ABAC)Policies evaluate user, device, location and timeZero trust, cloud, remote access
Rule-basedGlobal rules apply to everyoneFirewalls 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

ProtocolTransportMain 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 49Administrator logins and command authorization on network devices
Diameter (RFC 6733)TCP or SCTP 3868Mobile operator (4G/5G) core networks
KerberosUDP/TCP 88Windows Active Directory and single sign-on inside the LAN
SAML 2.0 / OpenID ConnectHTTPSSingle 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

  1. An employee's laptop connects to a switch port or the staff Wi-Fi.
  2. The switch or access point asks the RADIUS server to check the laptop's certificate (802.1X with EAP-TLS).
  3. RADIUS checks the directory, then returns Access-Accept with the staff VLAN.
  4. The switch starts an accounting session and records the start, stop and data used.
  5. 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.

Need help designing your network?

Navijin engineers provide free design consultations, bills of materials and quotations for business projects.