Independent learning for product cybersecurity professionals
SearchCommentary
Learning library / FoundationsCSL-105 · Foundations

Identity, authentication and authorisation

Understand the systems, risks and protective measures behind cybersecurity.

Identity answers who or what is making a request. Authentication checks that identity. Authorisation decides what it may do.

What you will learn

  • Separate identification, authentication and authorisation.
  • Design permissions for users, devices and services.
  • Include enrolment, recovery, revocation and retirement in identity decisions.

The key ideas in brief

  • Separate authentication from authorisation.
  • Define least-privilege roles and account lifecycle controls.

The key ideas

A user can be correctly authenticated and still have no permission to perform a particular action. Check permissions on the system that enforces the action, not only by hiding a button in the interface.

  • Give each person and service an identifiable account.
  • Grant the minimum permissions needed for the role.
  • Use stronger authentication for sensitive access.
  • Define how accounts are created, reviewed, suspended and removed.
  • Protect recovery methods and service credentials as carefully as initial sign-in.

MFA combines different authentication factors. Its resistance to phishing depends on the mechanism; multiple passwords do not constitute different factors.

A practical example

An operator may read measurements. A lab manager may configure limits. A service engineer may install authorised updates. These are separate permissions even when everyone uses the same application.

Identity has a lifecycle

Identification names the subject. Authentication supplies evidence about that subject. Authorisation decides what the subject may do to a particular resource in the current context. A signed-in operator should not automatically gain administrator privileges or access to another customer’s sensor.

Plan creation, use, change and removal of identities. Human accounts need a controlled joiner, role-change and leaver process. Device and service identities need provisioning, ownership and retirement records. Shared credentials make attribution and selective revocation harder: removing one engineer should not require guessing which gateways still depend on an undocumented common password.

Enforce permissions at the action

The server or device receiving an operation must enforce the permission, including the resource scope. Hiding a button makes the interface clearer but does not stop a direct request. Test denied operations through the same backend path used by the interface and confirm that no partial change occurs before rejection.

Least privilege applies to services as well as people. A gateway uploading readings rarely needs to administer every customer. Separate duties where they provide useful protection, such as preparing and approving a sensitive change. Keep the permission model understandable: complicated exceptions can leave maintainers unable to predict the authority granted by a role.

Recovery can become the weakest path

A strong login process is undermined by an easy reset or uncontrolled support override. Define who can recover an account or re-enrol a device, what evidence is required and how the event is recorded. Consider lost credentials, absent administrators, stolen sessions and compromised signing or enrolment material.

Revocation must reach the places that rely on an identity. Disable an account, invalidate relevant tokens or sessions and decide how offline devices learn about the change. Describe the operational effects and recovery route before an emergency. For laboratory verification, use separate roles and customers, normal and revoked credentials, expired sessions and direct requests to sensitive endpoints.

Apply the ideas

Define permissions for operator, installer, administrator and gateway. An installer finishes enrolment and leaves the company. List the actions needed to remove their authority without preventing the gateway from uploading readings.

Compare your approach

The operator views permitted readings; the installer enrols assigned devices; the administrator changes approved configuration; the gateway uploads only its own authorised data. Revoke the installer’s account, active sessions and personal tokens, and review delegated privileges or enrolment keys they controlled. The gateway should use its own controlled identity rather than the departed person’s credential. Check that old installer requests are denied and normal uploads continue.

Review your work

  • Are resource and customer boundaries included in permissions?
  • Do backend tests verify denial?
  • Can a single identity be revoked without unnecessary wider disruption?

Keep this output: A permission matrix and an identity-lifecycle checklist.

Continue learning