Security and compliance concepts
The shared responsibility model, defence in depth, Zero Trust, encryption and hashing, and governance, risk and compliance.
In this lesson you'll learn
- Who secures what in IaaS, PaaS and SaaS
- Defence in depth and its layers
- The three Zero Trust principles
- Encryption versus hashing, and what GRC means
1. The shared responsibility model
New to cloud security? Start here
When you run everything in your own building, you're responsible for all of it: the building, the servers, the software and the data. In the cloud, the provider takes on some of that work. How much depends on the type of service you use.
2. Defence in depth
Defence in depth uses several layers of security, so that if one layer is breached, the next still protects the data at the centre. The usual layers, from outside in, are: physical security, identity and access, perimeter (for example DDoS protection), network (segmentation, NSGs), compute (patching, endpoint protection), application and data.
3. Zero Trust
Zero Trust assumes no user or device is trustworthy just because it's inside the company network. It's built on three principles:
- Verify explicitly: always authenticate and authorise using all available signals, such as identity, location, device health and data sensitivity.
- Use least privilege access: give just enough access, just in time.
- Assume breach: limit the damage an attacker can do, with segmentation, encryption and monitoring.
Zero Trust applies across six areas, often called pillars: identities, devices, applications, data, infrastructure and networks.
4. Encryption, hashing and GRC
| Concept | Meaning |
|---|---|
| Symmetric encryption | The same key encrypts and decrypts. Fast, used for large amounts of data. |
| Asymmetric encryption | A public key encrypts and a private key decrypts (or the reverse for signatures). |
| Encryption at rest | Protects stored data, such as disks and databases. |
| Encryption in transit | Protects data moving across a network, for example with TLS. |
| Hashing | One-way: turns data into a fixed-length value that can't be reversed. Used to store passwords (with a salt) and check that files haven't changed. |
Governance, risk and compliance (GRC): governance is the rules and processes an organisation uses to run itself. Risk management identifies and reduces threats. Compliance means following laws, regulations and standards, such as data residency, sovereignty and privacy rules.
Example
A retailer moves its website to Azure App Service (PaaS). Microsoft now patches the operating system, but the retailer is still responsible for its code, its customers' data and who can sign in. It adds MFA (identity layer), a web application firewall (perimeter) and encrypts customer records (data layer): defence in depth, built on Zero Trust.
Exam traps to remember
- The customer is always responsible for data, devices and identities, even with SaaS.
- Hashing can't be reversed, but encryption can, with the right key.
- Zero Trust's principles are verify explicitly, least privilege and assume breach. "Trust the internal network" is the opposite.
Test yourself: 3 check questions and exam-style practice questions on this topic are in the SC-900 Security, Compliance and Identity app.
Practise in the app