Byte library
Explore 72 short security lessons by topic.
Security foundations
The ideas every other byte builds on: what security protects, and how.
- What is cybersecurity?
- What stops a web app from opening the rest of your files?
- What needs protecting in a patient record?
- Least privilege: give only what’s needed
- What is threat modeling?
- What is Zero Trust?
- Threat, vulnerability, and risk
- What is an attack surface?
- What are secure defaults?
- Fail open vs. fail closed
- What is defense in depth?
- What is data classification?
- Hashing vs encryption
- Public and private keys
- Why does security need randomness?
Identity and access
How systems identify people and decide what they are allowed to do.
- How do cookies work?
- What is a session?
- What is a JWT?
- What is an access token?
- What happens when a JWT is stolen?
- What is HMAC?
- What is an API key?
- What is OAuth 2.0?
- What happens when you sign in with Google?
- What is PKCE?
- What is single sign-on (SSO)?
- What is SAML?
- How does LDAP authentication work?
- What is password hashing?
- What is a salt in password hashing?
- Why ask for a code after you enter your password?
- Authentication vs authorization
- What is RBAC?
- What is ReBAC?
- What is privileged access management?
The web
How browsers and websites know who you’re really talking to.
- What happens when you enter a URL?
- HTTP vs HTTPS
- What happens during a TLS handshake?
- What is a digital certificate?
- What is DNS?
- What is in an HTTP request and response?
- What is HSTS?
- How does HTTP caching work?
- What is phishing?
- Where does that link really go?
- What happens when a link redirects?
- What is a web origin?
- What is the same-origin policy?
- What is CORS?
- What is Content Security Policy?
Application security
How attackers abuse the apps you build, and how to stop them.
Cloud security
Who secures what in the cloud, and how access works there.
- What is the shared responsibility model?
- Why use separate cloud accounts?
- What is AWS STS?
- What does an IAM policy allow?
- How should you protect the cloud root user?
- What is cloud workload identity?
- What is a cloud security group?
- What makes a subnet public or private?
- Is this S3 bucket public?
- How does cloud KMS encryption work?
- Where should cloud application secrets live?
- What do cloud audit logs show?
- How do you detect cloud misconfiguration?
- How do you protect cloud backups?
- How can instance metadata expose cloud credentials?
Infrastructure & runtime
Protecting servers, containers and workloads while they run.
Security operations
How security teams spot attacks and respond.
AI & LLM security
New risks that arrive with AI-powered apps.