Study guide · Identity, Access and Automation

Identity, Access and Automation

As of November 26, 2026 · CompTIA Security+ SY0-801, Exam Objectives Version 2.0, objectives 4.5 and 4.6 · about 24 min read

Who may do what, when and for how long? This question lies behind every access in an organization. On this page you learn how accounts are created and removed again and how one sign-in works for many applications. It is also about what makes good multi-factor authentication and which models are used to grant permissions. Privileged accounts are especially important, because their misuse does the most damage. The second part is about automation: what scripts and playbooks achieve in security operations and which guardrails they need. The running example is once again the mid-sized mail-order retailer with its online shop, warehouse and in-house IT.

The identity lifecycle

Every person in the organization has a digital identity. It begins when they join and ends when they leave. In between, tasks change, and so do the permissions needed.

It starts with identity proofing. Before someone gets an account, you check that the person really is who they claim to be. For new employees this is done with their ID card and employment contract, for example. Next comes provisioning: the account is created, and the person receives the permissions for their job. If they move to another department, new permissions are granted and old ones are removed. At the end comes deprovisioning. When someone leaves, the account and permissions are revoked, and that means in all systems.

Many organizations link this process to the HR system. When a hire or a departure is recorded there, identity management creates or disables accounts automatically. The benefit: accounts reliably follow people joining and leaving. Nobody has to remember to send an email to IT.

Third-party accounts need a lifecycle too. A maintenance company may need access to the warehouse management system. Such accounts carry particular risks. If the account has no expiry date, it is often unclear who is responsible for it and when it will be deleted. In addition, it is used by people the organization does not know and has not vetted itself. That is why third-party accounts are time-limited, assigned to a responsible person in-house, and their use is logged.

One sign-in for many applications

With single sign-on, or SSO, a person signs in once and can then use many applications. This is convenient and more secure than remembering a separate password for each application. At the center is an identity provider, or IdP. It checks the sign-in and confirms to the applications who has signed in. If the account is disabled at the IdP, access to all connected applications is blocked.

Federation goes one step further. Here different organizations trust each other for sign-ins. A partner company signs its people in on its own side, and the retailer accepts that sign-in. It does not have to maintain its own accounts for the partners.

User signs in IdP verifies, signs Application grants access password + second factor SAML assertion or token Application checks: ✓ signature ✓ audience (for me?) ✓ validity period Trust between IdP and application is set up in advance.
The application trusts the identity provider. But it must check whether the confirmation was really issued for it.

There are several protocols for SSO and federation. SAML, the Security Assertion Markup Language, is used mainly for single sign-on to web applications. The identity provider sends the application a signed confirmation in XML format, the so-called assertion.

OAuth is meant to give applications limited access. An example: a shipping tool may access a person's calendar without knowing their password. For this it receives an access token with precisely defined permissions. OAuth was originally a method for authorization, not for sign-in. For sign-in, OpenID Connect builds on OAuth.

LDAP, the Lightweight Directory Access Protocol, is a protocol for directory services. Applications use it to look up users, groups and attributes, for example in Active Directory. Many applications also check passwords via LDAP, with a so-called bind. If this bind runs over port 389 without TLS, passwords travel across the network in clear text. Anyone listening in can see them. The remedy is LDAPS on port 636 or StartTLS, which encrypts the connection on port 389.

Federation also means shared risk. If a partner is compromised, attackers can use its accounts to sign in at the retailer too. That is why partners receive only minimal permissions. In addition, it must be possible to revoke the trust relationship quickly in an emergency.

Multi-factor authentication

A password alone is weak. It can be guessed, phished or published in a data breach. Multi-factor authentication, or MFA, therefore requires proof from different categories. There are three classic factors:

  • Something you know, such as a password or a PIN.
  • Something you have, such as a smartphone with an authenticator app or a security key.
  • Something you are, that is a biometric trait such as a fingerprint or face.

True MFA combines different categories. A password plus a code from an authenticator app is true MFA, because it combines knowledge and possession. A password plus a security question is not, because both are knowledge. Sometimes further characteristics are added, such as the location of the sign-in. They count more as additional information than as a factor of their own.

For possession, tokens come in two forms. A hardware token is a separate device, such as a key fob that displays codes or a USB security key. A software token runs as an app on a smartphone. Both often generate a one-time password, or OTP. This is a code that is valid only once or only for a short time, usually 30 seconds. An intercepted code is therefore useful to an attacker only briefly.

What happens if the smartphone is lost? That is what backup codes are for. You receive them when setting up MFA and keep them in a safe place. They let you sign in when the second factor is missing. Each code works only once.

Not all MFA protects equally well. An attacker can intercept codes from an app with a fake sign-in page and pass them on immediately. Phishing-resistant MFA prevents this. The best-known example is FIDO2 security keys. The key checks which website it is being used on. On a fake site it simply does not respond. For administrators, this kind of MFA is the first choice today.

Passkeys are based on the same method. A passkey is a key pair instead of a password. The private key stays on the user's device, the service stores only the public key. At sign-in, the device proves that it holds the private key, usually after a fingerprint or PIN. This is a big advantage in a data breach: if attackers steal the service's database, they find only public keys. They cannot use them to sign in anywhere.

Read on

You can read the introduction and the first 3 of 9 sections here for free. There are two ways to get the whole learning page:

Free with a confirmed e-mail address

Sign up with your e-mail address and confirm it. You can then unlock the learning pages of one set of your choice completely, once, in the browser or in the app.

Unlock for free

Buy the course

The course includes all its questions and the whole learning page.

View the course
These 6 sections are still missing
  1. Passwords and password policies
  2. Access control models
  3. Privileged accounts
  4. Automation in security operations
  5. Artificial intelligence in security operations
  6. Key points

Qwissit is also available as an app for iPhone and Android:

As of: November 26, 2026 (CompTIA Security+ SY0-801, Exam Objectives Version 2.0, objectives 4.5 and 4.6)

Sources:

  • CompTIA Security+ SY0-801 V8 Certification Exam Objectives, Document Version 2.0 (2026)
  • NIST SP 800-63-4, Digital Identity Guidelines (with 800-63A Identity Proofing and 800-63B Authentication)
  • NIST SP 800-162, Guide to Attribute Based Access Control (ABAC)
  • NIST SP 800-53 Revision 5, control families AC (Access Control) and IA (Identification and Authentication)
  • OASIS SAML 2.0, RFC 6749 (OAuth 2.0), OpenID Connect Core 1.0, RFC 4511 and RFC 4513 (LDAP)
  • FIDO Alliance, FIDO2 and W3C Web Authentication (WebAuthn) Level 2
  • NIST SP 800-204D, Strategies for the Integration of Software Supply Chain Security in DevSecOps CI/CD Pipelines

This study guide was written with AI and compared with the sources.

Certifications & exams

Which exam comes next?

You can already practise for 60 exams, and 7 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications