Concepts / Identity

Identity

Authentication and authorization

Also called authn, authz, AAA, access control, identity

Authentication proves who is asking; authorization decides what that identity may do.

First who you are, then what you may do
First who you are, then what you may do

They are two separate questions asked in order. A login that succeeds proves only who is asking; the policy can still refuse what they ask for.

Authentication proves who is asking; authorization decides what that identity may do. Authentication (authn) checks a claim of identity: a password, a certificate, a code. Authorization (authz) then looks the proven identity up in a policy: which VLAN, which servers, which pages. A login that succeeds can still be refused access, and being on the office LAN proves neither. Accounting, the third A, records who used what.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab