Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityIntermediate

CIA, data confidentiality and AAA (authentication, authorisation, accounting)

In short: Confidentiality is protected by encryption and access control, integrity by hashing, and availability by hardening and backups. AAA controls administrators: authentication proves who they are, authorisation limits what they can do, and accounting records what they did.

The CIA triad and cryptography

The CIA triad and the tools that provide each goalConfidentialityencryption, access controlIntegrityhashing, digital signaturesAvailabilityredundancy, backups, hardeningEvery security control protects at least one of these three goalsCryptography supports confidentiality and integrity; good design supports availability
Figure 1. The CIA triad and how each goal is achieved.
  • Confidentiality: uses encryption to hide data from anyone not authorised to see it.
  • Integrity: uses hashing algorithms to prove data wasn't changed in transit or storage.
  • Availability: makes sure data and services are accessible when needed, through network hardening, redundancy and backups.

Guidelines for data confidentiality

  • Encrypt sensitive files so they are unreadable without the right key or password.
  • Manage access: give access only to people with a genuine need to know, use strong passwords and MFA, review access lists regularly and remove access promptly when it is no longer needed.
  • Physically secure devices and paper documents in locked areas; never leave them unattended in public.
  • Dispose securely of data, devices and paper records that are no longer needed (wipe, shred or destroy).
  • Manage devices: anti-malware, patching, application allow-listing, screen locks, inactive session timeouts, firewalls and full-disk encryption.

AAA: who, what and when

Authentication, Authorisation and Accounting (AAA) controls which administrators can connect to which devices, what they can do there, and keeps a record of what they actually did.

  • Authentication: proves identity, usually with a username and password, plus MFA where possible. Example: checking an administrator who logs in to a router's console or SSH.
  • Authorisation: decides what an authenticated user may access and which commands or changes they may make.
  • Accounting: records actions and sessions: commands entered, time connected, data used. It is used for auditing, troubleshooting, billing and capacity planning.

Without AAA, devices rely on a single shared line password, often over Telnet, which is easy to brute-force and leaves no record of who did what.

Local AAA vs server-based AAA

Server-based AAA authenticationAdminSSH clientRouterAAA clientAAA serverTACACS+ / RADIUS1. Log in2. Username? Password?3. Check credentials4. Accept / rejectAuthorisation decides what the admin may do; accounting logs what they did
Figure 2. With server-based AAA, the router asks a central server to check every login.
  • Local AAA: usernames and passwords are stored on each device. Simple, but every device must be updated separately. Always keep a local account as a backup.
  • Server-based AAA: the device sends login details to a central AAA server, which checks them. Accounts are managed in one place and logging is centralised.

RADIUS vs TACACS+

RADIUSTACACS+
StandardOpen standard (IETF)Originally Cisco, now documented openly
TransportUDP 1812 / 1813TCP 49
EncryptionPassword onlyWhole message body
AAA functionsAuthentication and authorisation combinedAuthentication, authorisation and accounting separated
Best forNetwork access for users: Wi-Fi (802.1X), VPNAdministrator access to network devices, per-command authorisation

Configuring server-based AAA (Cisco IOS)

  1. Enable AAA.
  2. Define the AAA server's address.
  3. Set the shared secret key.
  4. Tell the device to authenticate logins with the server, falling back to local accounts.
aaa new-model
username admin secret Str0ng-Local-Backup
tacacs server TAC1
 address ipv4 192.168.10.50
 key Sh4red-T4cacs-Key
aaa authentication login default group tacacs+ local
aaa authorization exec default group tacacs+ local
aaa accounting exec default start-stop group tacacs+
line vty 0 4
 login authentication default
 transport input ssh

Practice

Which CIA goal does hashing protect?
Integrity: a changed file produces a different hash.
Name the three parts of AAA and what each does.
Authentication (who you are), authorisation (what you may do) and accounting (what you did).
Why use TACACS+ rather than RADIUS for administrator logins to routers?
It encrypts the whole message, uses TCP and separates authorisation, allowing per-command control and logging.

Key takeaways

  • Confidentiality uses encryption; integrity uses hashing; availability uses redundancy and hardening.
  • Protect confidentiality with encryption, need-to-know access, physical security, secure disposal and device management.
  • AAA = authentication, authorisation and accounting.
  • Server-based AAA centralises accounts and logs; keep a local fallback account.
  • RADIUS suits user network access; TACACS+ suits device administration.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.