Study guide · Identity and Access Management
Identity and Access Management: Who may do what, and for how long?
This page explains how an organization controls who may access which systems and data. You will learn the lifecycle of an identity, the core principles such as least privilege and separation of duties, and the four classic access control models. After that, it covers central login with single sign-on and federation, and the protection of privileged accounts. The running example is once again a small online shop with purchasing, sales, accounting and IT.
The lifecycle of an identity
An identity is the digital representation of a person or a service, usually a user account with attributes and permissions. It goes through a fixed lifecycle: it is created, changed when needed, reviewed regularly and removed at the end. If one of these phases is neglected, you end up with unnecessary permissions or forgotten accounts.
There are fixed terms for the three typical situations in human resources.
- Joiners are new employees who need accounts and permissions when they start.
- Movers change role or department and need adjusted permissions.
- Leavers leave the company, and their access must end.
Setting up accounts and permissions for a new identity is called provisioning. Ideally, provisioning is automatic and triggered by the HR department. The HR system is then the leading source. Accounts are created and ended in step with joining and leaving. This way the new employee has suitable permissions from day one, and her account is reliably deactivated when she leaves. Access reviews are still needed, because special permissions and errors do not disappear on their own.
The basis for this is usually a directory service such as Active Directory or another LDAP directory. It manages users, groups and devices centrally. Applications query it for logins and group membership. This makes creating and removing accounts much easier.
The most common mistake happens with movers. When an employee of the shop moves from purchasing to sales, she gets the sales permissions. At the same time, her purchasing permissions must be revoked. Otherwise she accumulates permissions, and an inadmissible combination of tasks may arise. If she still needs brief access to old data for the handover, that access is time-limited.
Leaving cleanly: deprovisioning
Accounts of former employees are a popular way in, both for attackers and for disgruntled former staff. That is why the account is deactivated by the leaving date at the latest. If the departure involves a dispute, this often happens immediately. Data that is still needed is handed over or backed up beforehand.
Deprovisioning involves more than locking the main account.
- The account is disabled, and active sessions and tokens are ended.
- Devices, badges and hardware tokens are collected.
- Shared passwords the person knew are changed.
Permissions are not simply transferred to colleagues across the board. Forwarding of incoming email can be set up without an active account.
Orphaned accounts are accounts without an active owner. They arise when people leave or projects end but the accounts remain. Nobody notices if they are misused. Reconciliation with the HR system and checks for accounts unused for a long time uncover them.
The same problem grows with every application. A company uses 40 cloud applications, each with its own user management. When people leave, administrators regularly forget individual accounts. What helps most is connecting all applications to a central identity provider with single sign-on. Once the account is disabled there, access ends everywhere. With standards such as SCIM, the applications also create and remove accounts automatically. A spreadsheet that is updated once a year, by contrast, quickly goes out of date.
Reviewing permissions regularly
People who move within the company often get new permissions without the old ones being revoked. Over the years they accumulate far more than their current task requires. This gradual accumulation of permissions is called privilege creep.
The remedy is a regular access review, also called recertification. Its purpose is to remove unnecessary permissions. The confirmation should come from the manager or the data owner. They are responsible for the tasks and the data and know what someone needs. IT only provides the lists and carries out the revocation. Pure self-certification hardly works, because few people give up permissions voluntarily.
A review can also become a mere formality. A manager confirms all 300 entries for her team with a single click. This is called rubber stamping. It is better to highlight risky or unusual permissions, show context and require a justification for exceptions. Then the decision stays manageable and effective. Abolishing the reviews would be the wrong answer.