Identity and access management
Choose authentication factors and methods, apply access control models, and explain federation, SSO and privileged access management.
17 min
Authentication proves who you are. The factors:
- Something you know: password, PIN.
- Something you have: phone, hardware key, smart card.
- Something you are: fingerprint, face (biometrics).
- Somewhere you are and something you do: location and behavior, used as additional signals.
Multifactor authentication (MFA) needs two or more different factors. A password plus a PIN is two things you know: that is not MFA. Stronger methods: FIDO2 / passkeys and hardware security keys resist phishing. SMS codes are weakest. Biometrics are measured by FAR (false acceptance rate), FRR (false rejection rate) and CER (the crossover point where they are equal).
Password practice now favors length and screening against breached passwords over forced frequent changes and complexity rules. Use a password manager.
Authorization decides what you can do. Models:
- DAC (discretionary): the owner decides.
- MAC (mandatory): the system enforces labels such as Secret or Public.
- RBAC (role-based): permissions by job role.
- ABAC (attribute-based): rules from user, resource and context attributes, for example department and time.
- Rule-based: rules apply to everyone, such as a firewall allow list.
Principles: least privilege, need to know, separation of duties, job rotation and mandatory vacations (to expose fraud).
Federation and SSO. Single sign-on (SSO) logs you in once for many apps. Federation lets one trusted identity provider authenticate users for other organizations' services. Standards: SAML (XML, enterprise web SSO), OAuth 2.0 (delegated authorization, for example "let this app read my calendar") and OpenID Connect (adds authentication on top of OAuth). LDAP is a directory protocol. Kerberos uses tickets for authentication in a domain. RADIUS and TACACS+ handle network access AAA.
Privileged access management (PAM): vault admin credentials, just-in-time access, session recording and password rotation. Never share admin accounts.
Authentication factors compared.
Something you know
- Example
- Password, PIN
- Weakness
- Guessed, phished, reused
Something you have
- Example
- Authenticator app, hardware key
- Weakness
- Can be lost or stolen
Something you are
- Example
- Fingerprint, face
- Weakness
- Cannot be changed if stolen. False accept and reject
Pick the access model
Permissions are assigned to 'Accountant' and 'Manager' job roles
- Model
- RBAC
Access is allowed only for finance staff, on managed devices, during business hours
- Model
- ABAC
Government documents are labeled Top Secret and users have clearances
- Model
- MAC
A file owner shares a document with whomever they choose
- Model
- DAC
A router ACL permits only listed addresses
- Model
- Rule-based
Choose the best control.
A company is concerned about phishing attacks that steal passwords and one-time codes. Which MFA is MOST resistant?
“Using a password and a PIN counts as MFA.”
There are two secrets.
What is actually true
MFA needs factors from different categories. A password and a PIN are both something you know. A password and a hardware key are two factors.
- Factors: know, have, are. MFA needs different categories. Passkeys and FIDO2 resist phishing.
- Models: DAC owner decides, MAC labels, RBAC roles, ABAC attributes.
- SAML is enterprise SSO, OAuth is authorization, OpenID Connect adds authentication.
- PAM vaults and time-limits admin access.
Access check.
Which is an example of multifactor authentication?
- AA password plus a code from an authenticator app
- BTwo security questions
- CA long passphrase only
- DA password plus a PIN
Which model assigns permissions based on job function?
- ARule-based
- BDAC
- CMAC
- DRBAC
Which standard provides delegated authorization using tokens?
- ASAML as a directory
- BOAuth 2.0
- CKerberos
- DTACACS+
The point where the false acceptance rate and false rejection rate are equal is called what?
- AFRR
- BFAR
- CCER
- DMFA
Which TWO principles help prevent fraud by one person?
- APermanent root access
- BMandatory vacations
- CShared admin accounts
- DSeparation of duties
- EPassword reuse
Practise this lesson, not just read it
In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of CompTIA Security+ (SY0-801) is planned around your week. Free.