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
- 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
- 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+
| RADIUS | TACACS+ | |
|---|---|---|
| Standard | Open standard (IETF) | Originally Cisco, now documented openly |
| Transport | UDP 1812 / 1813 | TCP 49 |
| Encryption | Password only | Whole message body |
| AAA functions | Authentication and authorisation combined | Authentication, authorisation and accounting separated |
| Best for | Network access for users: Wi-Fi (802.1X), VPN | Administrator access to network devices, per-command authorisation |
Configuring server-based AAA (Cisco IOS)
- Enable AAA.
- Define the AAA server's address.
- Set the shared secret key.
- 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?
Name the three parts of AAA and what each does.
Why use TACACS+ rather than RADIUS for administrator logins to routers?
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.
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.