Study guide · Identity Concepts
Identity as the security boundary: sign-in, permissions and trust
This course is about who accesses something and whether they are allowed to. You learn why identity is now the most important security boundary and which four pillars an identity infrastructure stands on. After that, we look at the difference between authentication and authorization, at identity providers, tokens and single sign-on. Finally, you get to know directory services such as Active Directory and see how federation between organizations works. The online retailer Nordlicht comes along as the example again.
Identity as the new security boundary
In the past, Nordlicht's staff worked at company computers in the office. Applications and data were in the company's own datacenter. A firewall at the internet connection was the boundary, the so-called perimeter. Anyone inside was considered trustworthy.
This boundary has become porous. There are several reasons for this:
- Applications and data are hosted by cloud providers, for example as SaaS services like Microsoft 365.
- Employees use their own devices for work. This is called Bring Your Own Device, or BYOD.
- Many people work from home or on the road.
- Connected IoT devices sit outside the classic company network.
Faster connections or a new IP protocol, on the other hand, have nothing to do with it.
Such access is therefore protected through identity. Today identity is considered the primary security perimeter. Every access is tied to who or what is accessing.
An identity is the set of attributes that uniquely describes something. That can be a person, but also an application, a service or a device. An identity already exists before anyone signs in for the first time. An IP address, by contrast, is not suitable as an identity, because it changes.
The four pillars of identity
An identity infrastructure stands on four pillars. Encryption and backup are important protective measures, but they are not among them.
- Administration covers creating, changing and removing identities for users, devices and services. It also governs how and under which circumstances the attributes of an identity may change.
- Authentication checks whether someone really is who they claim to be.
- Authorization determines what a verified identity is allowed to do.
- Auditing tracks who did what, when, where and how. This includes detailed reports and alerts on suspicious activity.
How important auditing is often only shows during an audit. If an auditor wants to know who opened the payroll data last quarter, they need logs. Even correctly assigned permissions do not help if nobody recorded the access.
Authentication and authorization
The two terms sound similar, but they answer different questions.
- Authentication, AuthN for short, answers the question “Who are you?”. A person or a service proves its own identity, for example with a password, a code from an app or a fingerprint. An application can authenticate too, for example with its own secret or a certificate.
- Authorization, AuthZ for short, answers the question “What are you allowed to do?”. It determines which data and functions an authenticated identity may access.
The order is fixed: first authentication, then authorization. Only once it is clear who someone is can you decide what they may do. A successful sign-in alone therefore does not grant access yet. It only proves the identity, not the permissions.
This helps you recognize typical failures. If a user signs in successfully but cannot open a folder, authorization denies the access. Authentication, after all, succeeded.
A banking application shows the difference too. Whether the signed-in account may approve a transfer of ten thousand euros is a decision about permissions, so it is authorization. Who is signed in is already settled at that point. That the transfer later appears in the log belongs to auditing. And when an administrator gives a group read permissions on a folder, that is authorization as well.
Strict authorization also limits the damage from stolen passwords. It does not detect who is really sitting at the device. But an attacker with someone else's password only reaches the resources that account is authorized for. If the account has only the minimum permissions, his access stays small as well.