انتقل إلى المحتوى
لندن، المملكة المتحدة · تأسست عام 1994
العربية

Unit 2: Identity and Access Management

How organisations confirm who people are, decide what they may do, and manage access safely from a person's first day to their last.

Unit 2 of 5 · about 54 minutes

2.1 Authentication: proving who you are

Identity and access management, often shortened to IAM, is about making sure the right people have the right access to the right resources at the right time, and nobody else does. Because so many attacks begin with stolen or guessed credentials, IAM is one of the most important areas of cybersecurity. This lesson focuses on authentication: the process of confirming that someone is who they claim to be.

Identification, authentication and authorisation

Three steps are easily confused.

  • Identification is claiming an identity, for example by typing a username or email address.
  • Authentication is proving that claim, for example by entering a password or approving a prompt on a phone.
  • Authorisation is deciding what that authenticated identity is allowed to do. It is covered in the next lesson.

Authentication factors

Ways of proving identity are usually grouped into three categories, known as factors:

  • Something you know: a password, passphrase or PIN.
  • Something you have: a mobile phone with an authenticator app, a hardware security key or a smart card.
  • Something you are: a biometric characteristic such as a fingerprint or face.

Multi-factor authentication (MFA) requires two or more factors from different categories. A password plus a code from an authenticator app is MFA; two passwords are not, because both are "something you know". MFA is one of the most effective controls available, because a stolen password alone is no longer enough to log in.

Passwords done well

Passwords remain common, and guidance on them has changed over the years. Many national cybersecurity agencies now recommend the following approach.

  • Length matters more than complexity. A passphrase made of several random words is easier to remember and harder to guess than a short string of symbols.
  • Every account needs a unique password. Reuse is what makes credential stuffing attacks work.
  • Use a password manager. It generates and stores long, unique passwords, so people only need to remember one strong master passphrase.
  • Avoid forced regular changes without a reason. Frequent compulsory changes tend to produce predictable patterns. Passwords should be changed when there is a sign of compromise.
  • Block known-bad passwords. Systems can check new passwords against lists of common and previously leaked ones.

Tip: if you only do one thing to protect your work and personal accounts, turn on multi-factor authentication for email first. Email is usually the key to resetting every other account.

Not all MFA is equal

Some forms of MFA are stronger than others. Codes sent by text message are better than a password alone but can be intercepted, for example if a criminal persuades a mobile provider to transfer a phone number to a new SIM card. Push notifications are convenient, but attackers sometimes send many prompts in the hope that a tired user will approve one, a tactic known as "MFA fatigue". Requiring the user to type a number shown on screen reduces this risk.

The strongest common option is phishing-resistant authentication, such as hardware security keys and passkeys. These use public-key cryptography tied to the genuine website, so they will not work on a fake login page even if the user is fooled. Passkeys are now supported by the major operating systems and browsers and let people sign in with a fingerprint, face or device PIN instead of a password.

Single sign-on

Single sign-on (SSO) lets people authenticate once with a central identity provider and then access many applications without logging in separately to each. This improves convenience and security: there are fewer passwords to manage, MFA can be enforced in one place, and access can be removed from every connected application at once when someone leaves. The trade-off is that the central account becomes very valuable, so it must be strongly protected.

Common mistakes

  • Allowing MFA exceptions for senior staff because they find it inconvenient, when they are often the most targeted.
  • Leaving older systems or shared accounts outside the SSO and MFA arrangements.
  • Sending passwords in plain email or storing them in unprotected spreadsheets.
  • Training people to approve every login prompt without thinking.

In practice

Review your own accounts. Check that your work email and any finance, cloud storage or administrative accounts use MFA, and consider moving to a password manager if you do not already use one. If you approve an MFA prompt that you did not start, report it straight away: it may mean someone already has your password. At an organisational level, ask whether MFA is required for all remote access and all administrator accounts, as these are among the highest-value protections available.

2.2 Authorisation and the principle of least privilege

Once someone has proved who they are, the next question is what they are allowed to do. This is authorisation. Good authorisation limits the damage that can be done by a mistake, a malicious insider or an attacker who has taken over an account. Poor authorisation means that a single compromised login can open the doors to almost everything.

Least privilege

The principle of least privilege states that every person, application and device should have only the access needed to perform its legitimate tasks, and no more. A marketing assistant does not need access to payroll; a reporting tool that reads sales figures does not need permission to delete them.

Least privilege sounds obvious, but in practice access tends to grow over time. People change roles and keep their old permissions. Temporary access granted for a project is never removed. Administrators grant broad rights because it is quicker than working out precisely what is needed. This gradual accumulation is sometimes called privilege creep.

Ways of organising access

  • Role-based access control (RBAC) groups permissions into roles, such as "accounts payable clerk" or "sales manager", and assigns people to roles. This is easier to manage and review than granting permissions person by person.
  • Attribute-based access control (ABAC) makes decisions using attributes such as department, location, device type or time of day. For example, access to sensitive files might be allowed only from managed company devices.
  • Need to know is a related idea for confidential information: even within a role, people see only the specific information required for their current work.

Separation of duties

Separation of duties divides sensitive tasks so that no single person can complete them alone. In finance, one person may set up a new supplier while another approves payments to it. In IT, one person may write a change to a system while another reviews and approves its release. This reduces both fraud and honest error, because a second person has a chance to notice a problem.

Remember: access should be granted because someone needs it for their work, not because they asked for it, are senior, or once needed it in the past.

Privileged accounts

Privileged accounts are those with powerful rights, such as system administrators, database owners and accounts that can change security settings. They are prime targets because they allow an attacker to disable defences, create new accounts and reach sensitive data. Good practice includes:

  • giving administrators separate accounts for everyday work and for administrative tasks, so that reading email and browsing the web happen without high privileges;
  • requiring strong, ideally phishing-resistant MFA for all privileged access;
  • keeping the number of privileged accounts to a minimum and reviewing them often;
  • using just-in-time access, where elevated rights are granted for a limited period when needed and then removed automatically;
  • recording and monitoring privileged activity.

Shared and service accounts

Shared accounts, where several people use the same login, make it impossible to know who did what and are hard to secure when someone leaves. They should be avoided wherever possible. Service accounts, used by software to talk to other software, are often overlooked. They may hold broad permissions and passwords that never change. They need owners, documented purposes and the same least-privilege thinking as human accounts.

Common mistakes

  • Granting "full access" to save time during a busy project and never revisiting it.
  • Giving all IT staff administrator rights on every system rather than only those they manage.
  • Copying a new starter's access from a colleague, which also copies any excess permissions.
  • Letting everyday users install software or change security settings on their own devices.

In practice

List the main systems and shared folders you can access. For each, ask whether you used that access in the last three months and whether you still need it. If not, request its removal. If you manage a team, ask for a report of your team's access to a key system and check it against current roles. You will often find permissions that no longer make sense. Removing them is a simple, low-cost way to reduce risk, and it demonstrates that least privilege is part of everyday management rather than a purely technical concern.

2.3 Managing identities over time and zero trust

Access is not set once and forgotten. People join, move between roles and leave. Contractors arrive for a few months. Systems are added and retired. Identity lifecycle management is the set of processes that keeps access accurate throughout these changes. It is also where many real-world security failures occur, especially when former staff retain access long after they have gone.

Joiners, movers and leavers

A common way to structure lifecycle management is around three events.

  • Joiners: when someone starts, their account should be created from an authorised request, usually triggered by the HR system, with access based on their role. They should receive security guidance as part of induction.
  • Movers: when someone changes role, they should gain the access the new role needs and lose the access the old role no longer requires. This second step is often forgotten, causing privilege creep.
  • Leavers: when someone leaves, their access should be removed promptly, ideally on or before their last day. Company devices should be returned, shared passwords they knew should be changed, and ownership of their files and mailbox transferred.

Linking these processes to a single authoritative source, typically the HR record, makes them far more reliable than relying on managers to remember to send emails.

Access reviews

An access review (or recertification) is a periodic check in which managers or system owners confirm that each person's access is still appropriate. Reviews catch the problems that automated processes miss. To make them effective:

  1. focus on the most sensitive systems and privileged accounts first;
  2. present reviewers with clear, readable information, not raw technical permission codes;
  3. require a positive decision to keep each item, rather than assuming approval by default;
  4. follow up to make sure removals actually happen;
  5. keep a record of decisions for audit purposes.

Tip: a review in which every line is approved within minutes is a warning sign. Reviewers need time, context and permission to remove access without fear of causing trouble.

Third parties and non-human identities

Suppliers, contractors and partners often need access to systems. Their accounts should be time-limited, tied to named individuals, covered by contract terms and reviewed regularly. Non-human identities, such as service accounts, application keys and automated scripts, are growing rapidly in number and often hold powerful permissions. They also need owners and periodic review.

Zero trust

Traditional security assumed that anything inside the corporate network could be trusted and anything outside could not, rather like a castle with a moat. Cloud services, remote working and personal devices have made this model outdated: there is no longer a clear inside and outside, and attackers who get past the perimeter can move freely.

Zero trust is an approach that replaces location-based trust with continuous verification. Its core principles can be summarised as:

  • Verify explicitly: make every access decision using available signals, such as the user's identity, the health of their device, their location and the sensitivity of the resource.
  • Use least privilege: give only the access needed, for only as long as it is needed.
  • Assume breach: design systems on the expectation that some part may already be compromised, limiting how far an attacker could move and monitoring for unusual behaviour.

Zero trust is not a single product that can be bought. It is a direction of travel that organisations work towards gradually, usually starting with strong identity controls, MFA everywhere and checks on device health.

Common mistakes

  • Disabling a leaver's main account but forgetting cloud applications that use separate logins.
  • Treating contractor accounts as permanent.
  • Running access reviews as box-ticking exercises with no follow-up.
  • Describing a single product purchase as "implementing zero trust".

In practice

Think about the last person who left your team. Do you know when their access was removed, and from which systems? If the answer is uncertain, ask your IT or HR team how the leaver process works and whether it covers cloud services and shared accounts. If you are responsible for a system, schedule a simple access review: export the list of users, mark each as keep or remove, and confirm that removals are completed. These steps are modest but address one of the most common sources of avoidable risk.

Case study: Closing access gaps at a growing design agency

Linden Studio, a fictional design agency, had grown from twelve to sixty staff in three years. When a former freelancer posted work in progress from a client project online, the agency discovered that her account on its cloud file service had never been removed, six months after her contract ended.

The operations director commissioned a review. It found that the main email accounts were removed promptly, but more than twenty other cloud tools used separate logins managed by different team leads. Several former staff still had active accounts, and most designers had administrator rights on the project management tool.

Linden connected its main applications to a single sign-on service linked to its HR system, so that ending a contract now removes access everywhere at once. It enforced MFA through the same service, created standard roles for designers, project managers and finance staff, and reduced administrators to three named people. Team leads now complete a short quarterly review of freelancer accounts, and any account without an end date is flagged automatically.

Activity

Map the joiner, mover and leaver steps for one role in your organisation. For each step, note who requests the change, who approves it and which systems are affected. Identify one gap where access might not be removed promptly and suggest an improvement.

Compare with a model answer

A good answer chooses a specific role, for example a customer service adviser, and lists the systems involved: email, the customer relationship management system, the telephony platform and a shared knowledge base. For joiners it notes that HR triggers the request and the team leader confirms the role. For movers, it recognises the need to remove old access as well as add new access.

The answer identifies a realistic gap, such as the telephony platform using a separate login that IT is not told about when someone leaves. It proposes a practical fix, for instance connecting the platform to single sign-on, adding it to the leaver checklist, or running a monthly comparison between active accounts and the HR list. Stronger answers assign an owner to the improvement.

Key takeaways

  • Authentication proves identity; authorisation decides what an authenticated identity may do.
  • Multi-factor authentication greatly reduces the risk from stolen passwords, and phishing-resistant methods such as passkeys and security keys are strongest.
  • Least privilege and separation of duties limit the harm a mistake, insider or compromised account can cause.
  • Joiner, mover and leaver processes, supported by regular access reviews, keep access accurate over time.
  • Zero trust replaces trust based on network location with continuous verification, least privilege and an assumption of breach.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 1 Unit 3 →
WhatsApp