What Is AAA in Cybersecurity? (Explained Clearly) - Authentication, Authorization, Accounting
Understand AAA in cybersecurity: how authentication, authorization, and accounting verify identities, control access, and record activity with examples.
👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn what AAA in cybersecurity means, authentication, authorization, and accounting, and how it verifies identities, controls access, and records activity. Build your CompTIA Security+ foundation by understanding why a successful login doesn’t guarantee access and how audit logs support investigations.
Chapters: 0:00 Intro 0:15 What does AAA mean in cybersecurity? 0:52 How does authentication verify your identity? 1:37 Why doesn't authentication guarantee access? 2:26 What does accounting record in cybersecurity? 3:34 How do RADIUS and TACACS+ support AAA? 4:30 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
AAA means authentication, authorization, and accounting: verify identity evidence, decide permitted actions, and record activity. It is a framework, not a single product or protocol.
Successful login does not guarantee access. Authentication and authorization solve different problems; even strong MFA cannot fix excessive permissions.
MFA requires distinct factor types, such as a password plus a security key. Two passwords are still one factor type.
Enforce least privilege and deny access by default. Check permissions on every relevant request, not just at login, as recommended by OWASP.
Accounting creates records; auditing examines them. Useful logs need relevant coverage, consistent timestamps, protection, retention, and review. Never log passwords or access tokens.
Logs identify accounts or sessions, not necessarily the person responsible. Shared accounts, stolen credentials, and incomplete records can undermine investigations.
AAA is not a fixed three-step sequence. Failed logins can be recorded, permissions can be checked repeatedly, and accounting can continue throughout a session.
RADIUS commonly supports network access; TACACS+ commonly supports network-device administration. Both implement AAA functions, but neither name is interchangeable with AAA.
👉 Turn AAA concepts into practical skills with Pluralsight, an optional next step offering guided labs, feedback, assessments, and certification practice resources.
AAA in cybersecurity stands for authentication, authorization, and accounting. It is a security framework for verifying identity claims, controlling access, and recording activity.
These three functions explain why a successful login can still result in “access denied.” Proving that you can use an account does not mean that account has permission to do everything.
AAA applies to people, devices, and applications. Understanding the distinction is foundational to identity and access management, and to studying cybersecurity concepts for CompTIA Security+.
What Does AAA Mean in Cybersecurity?
Each part of AAA answers a different security question:
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this video.
Component
Core question
Example
Authentication
Can you demonstrate control of the identity you claim?
Signing in with a password and security key
Authorization
What are you allowed to access or do?
Viewing your own payslip but not changing salaries
Accounting
What activity and resource usage were recorded?
Recording sign-in times and relevant access events
AAA is a framework, not a single product or protocol. An organization can implement these functions across applications, network devices, identity services, and logging systems. Centralized AAA servers are one implementation approach, not a requirement of the definition.
Authentication: Verifying an Identity Claim
Authentication checks evidence supporting a claimed identity. Entering a username identifies an account; presenting an appropriate authenticator helps demonstrate that you are entitled to use it.
That distinction matters: knowing someone’s username does not prove that you control their account.
Common Authentication Factors
Authentication factors fall into three common categories:
Factor
Meaning
Examples
Something you know
Information you remember
Password or PIN
Something you have
An authenticator you possess
Security key, smart card, or authenticator-containing device
Something you are
A biometric characteristic
Fingerprint or facial characteristic
Multifactor authentication (MFA) combines more than one distinct factor type. A password and a security key can provide two factors. Two passwords still represent just one factor type: something you know.
Biometric use needs some nuance. Under NIST’s authentication guidance, biometrics are used with a physical authenticator rather than as standalone authenticators. For example, a fingerprint can activate an authenticator on a device.
What Authentication Does Not Prove
Successful authentication does not guarantee that the legitimate account owner is operating the session. Stolen credentials and compromised sessions can weaken that connection.
It also does not establish which resources the account should access. Even strong MFA cannot correct excessive permissions, that is an authorization problem.
Authorization: Deciding What an Identity Can Do
Authorization determines whether an identity may perform a requested action on a resource.
For example, an employee who signs in to a payroll portal might be allowed to:
View their own payslip.
Be denied access to a colleague’s payroll information.
Be denied permission to change salaries.
The employee has authenticated successfully. The denied actions are authorization decisions, not necessarily login failures.
Common Authorization Methods
Organizations can express permissions in several ways:
Method
How it works
Example
Role-based access control (RBAC)
Assigns permissions through roles
A help-desk role can reset ordinary user passwords
Attribute-based access control (ABAC)
Evaluates attributes of the identity, resource, action, and environment
Access requires a matching department and an approved device
Access control list (ACL)
Lists permissions for particular users or groups
A project group receives read access to a folder
These methods help implement authorization. They are not replacements for the broader AAA framework.
Least Privilege and Permission Enforcement
Least privilege means granting only the access necessary for a task. An employee who needs to read reports should not automatically receive permission to modify system settings.
A related principle is deny by default: access is allowed only when an applicable rule permits it.
Authorization must also be enforced on relevant requests, not just once at login. Hiding an administrator button does not secure an application if its underlying system still accepts unauthorized commands. The OWASP Authorization Cheat Sheet emphasizes permission checks on every relevant request.
Accounting: Recording Activity and Resource Usage
Accounting creates records of relevant activity and resource consumption. Depending on the system and configuration, those records may include:
Successful and failed authentication attempts.
Session start and stop times.
Source addresses or device information.
Requested resources and actions.
Administrative commands.
Data transferred.
Success, denial, or error outcomes.
Here, accounting does not mean creating user accounts, and it is not limited to financial billing. Its records can support investigations, auditing, operational reporting, and capacity management.
Accounting vs. Auditing
Accounting produces records. Auditing examines records and controls.
An audit trail is the recorded history that helps investigators reconstruct events. For example, an investigation might connect an account’s sign-in, a later administrative change, and the end of its session.
However, records identify the account or session involved, not necessarily the human responsible with certainty. Shared accounts, stolen credentials, and tampered logs can weaken attribution.
What Makes Logs Useful?
Generating logs is only the beginning. Useful accounting requires:
Relevant coverage: Collect the events needed to understand important activity.
Consistent timestamps: Make it possible to correlate events across systems.
Protection: Restrict access and protect records from unauthorized changes.
Appropriate retention: Keep records according to operational needs and applicable obligations.
Review and analysis: Examine events rather than simply accumulating them.
Network accounting records may show a connection’s duration and data usage without showing every document opened. Application logs may be needed to fill those gaps.
Logs also need privacy and security controls. Do not record passwords, access tokens, or unnecessary sensitive information. NIST’s log management guidance explains why collection, protection, and analysis all matter.
How Authentication, Authorization, and Accounting Work Together
Consider an employee accessing a payroll application:
Authentication: The employee signs in using a password and security key.
Authorization: The application permits access to the employee’s own payslip but denies access to salary administration.
Accounting: Configured logs record the sign-in and relevant access attempts.
The same pattern applies to network administration. An administrator can authenticate to a switch, receive permission to view its configuration but not change it, and have relevant commands recorded.
AAA Is Not a Rigid Three-Step Timeline
“Authenticate, authorize, then account” is a useful learning model, but real systems are more flexible:
A failed authentication attempt can be logged before a session exists.
Authorization can occur repeatedly throughout a session.
Accounting can occur at session start, during activity, and at termination.
Some resources intentionally allow anonymous access.
The important distinction is each function’s purpose, not an assumption that all three happen exactly once in a fixed order.
A Typical Centralized Network Access Flow
In a centralized network deployment, the process often looks like this:
A user or device requests access through a switch, wireless infrastructure, or VPN gateway.
The network access device sends relevant information to an AAA server.
The server evaluates authentication evidence and applicable access policies.
The network access device enforces the returned decision or access attributes.
Configured accounting records report session activity and usage.
In this arrangement, the AAA client is often the switch or VPN gateway, not the employee’s laptop.
How RADIUS and TACACS+ Support AAA
RADIUS and TACACS+ are protocols used to implement AAA functions. They are not alternative names for AAA.
These are common deployment patterns, not absolute restrictions.
Avoid the oversimplification that “RADIUS encrypts the password, while TACACS+ encrypts everything.” Classic RADIUS does not provide whole-packet confidentiality. Classic TACACS+ leaves its header visible, and RFC 8907 describes its body protection as obfuscation rather than modern encryption. Protected transport options and implementation support require separate consideration.
Where AAA Appears in Everyday Security
The same framework applies across many environments:
These examples also show why accounting often requires multiple sources. A VPN record can establish that a connection existed, while an application record may explain what happened inside the application.
Common AAA Mistakes to Avoid
The three functions address different problems. Strengthening one does not automatically repair weaknesses in another.
“The user logged in, so access should be allowed.” Authentication validates identity-related evidence; authorization determines permitted actions.
“MFA fixes excessive permissions.” MFA strengthens authentication, not permission design.
For Security+ study, a practical habit is to identify the security question first: Is this checking identity evidence, deciding permission, or recording activity? That distinction makes AAA scenarios much easier to understand.
Practice Applying AAA Concepts
Reading the definitions builds a foundation. Applying them helps reveal whether you can distinguish a failed login from a denied action, recognize excessive permissions, and identify the records an investigation would need.
If you want a structured next step, Pluralsight offers guided security labs, feedback, assessments, and certification practice resources to help you put foundational concepts to work and find gaps in your understanding.
Affiliate notice: Some links may earn a commission. Thanks for your support.
What Is the Principle of Least Privilege and Why Does It Matter? (Explained Clearly)Next
FAQ
Quick answers to the questions people usually ask about this topic.
What is the difference between AAA and identity and access management (IAM)?
AAA describes three security functions: authentication, authorization, and accounting. IAM is the broader discipline of managing identities and their access throughout their lifecycle, including account creation, permission changes, and account removal. AAA helps explain how identity checks, access decisions, and activity records work within that broader discipline.
Does AAA apply to service accounts and applications, or only to people?
AAA applies to people, devices, and applications. For example, an application can authenticate using a credential, receive authorization to read only specific resources, and have its relevant requests logged. Nonhuman identities still need limited permissions and useful activity records; authentication alone should not grant unrestricted access.
How can you troubleshoot an AAA problem when login succeeds but an action fails?
First, confirm that the session is using the expected account. Then check whether that account’s roles, attributes, or access rules permit the requested action on the specific resource. Finally, correlate the sign-in record with application or resource-access logs to distinguish a permission denial from another error. Avoid granting broad permissions simply to make the error disappear; determine the minimum access the task requires.
What happens if a centralized AAA server becomes unavailable?
The result depends on the deployment and its configured failure behavior. New access requests may be denied, a backup AAA server may handle them, or a deliberately configured local fallback may be available. Existing sessions may behave differently from new requests. Centralized AAA therefore needs availability planning, tested fallback procedures, and consideration of what activity will still be logged during an outage.
How do you identify authentication, authorization, and accounting in Security+ questions?
Focus on the function being tested rather than the product name:
Authentication: Checking identity evidence, such as a password or security key.
Authorization: Allowing or denying an action, such as changing a switch configuration.
Accounting: Recording an event, such as an administrative command or session start.
A single scenario can involve all three. For example, an administrator signs in, is denied a configuration change, and has the denied attempt recorded.
How can I practice troubleshooting AAA instead of just memorizing the definitions?
Practice scenarios that require you to separate identity checks, permission decisions, and recorded activity. Useful exercises include comparing a failed login with a denied action, identifying excessive permissions, and deciding which logs an investigation needs. If you want guided practice and feedback, explore Pluralsight as an optional next step, using its labs, assessments, and certification practice resources to apply foundational concepts and identify study gaps.
Terminal Access Controller Access-Control System Plus
Common use
Enterprise network access, including wireless and remote access
Administrative access to network devices
AAA organization
Authentication and authorization commonly share an access exchange; accounting uses a separate exchange
Distinct authentication, authorization, and accounting exchanges
Classic transport and ports
UDP 1812 for access; UDP 1813 for accounting
TCP 49
Illustrative task
Return access attributes for a connecting employee
Authorize and record an administrator’s commands
Environment
Authentication
Authorization
Accounting
Corporate Wi-Fi
Validate a user or device
Apply an appropriate network access policy
Record connection duration and usage
VPN access
Verify a remote user
Restrict access to approved destinations
Record session activity
Network administration
Verify an administrator’s account
Permit selected commands
Record relevant administrative commands
Business applications
Validate a sign-in
Restrict records and operations by permission
Record relevant application events
Cloud services
Authenticate a user or workload
Apply permissions to cloud resources
Preserve relevant API activity records
“We have logs, so suspicious activity will be detected.” Records still need collection, protection, review, and analysis.
“A shared administrator account provides clear accountability.” Shared accounts make it harder to distinguish individual administrators.
“Network logs show everything a user did.” Their detail depends on the system and configuration; application records may also be necessary.
“Single sign-on means identical permissions everywhere.” Applications relying on shared authentication still need their own appropriate authorization.
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn understanding into hands-on confidence
You've built the foundations. Pluralsight adds opportunities to practice in guided security labs, get feedback, and check your knowledge with assessments and practice exams, so your next step is more than another video.
đź› Put concepts to workBuild practical skills with guided security labs and feedback.
🎯Find your weak spotsUse assessments to focus on what needs more work.
📝Check your understandingUse practice exams to guide your certification preparation.
đź§Give study sessions directionOrganize further learning with curated paths and progress tracking.