Security

Authentication, authorisation, encryption, abuse prevention, and defence-in-depth patterns for protecting systems, data, and trust boundaries.

OAuth 2.0 Fundamentals

OAuth 2.0 as scoped token-based access between clients, users, and resource servers.

AuthenticationOAuth 2.0

JSON Web Tokens (JWTs) Explained

JWTs as signed tokens with a header, payload, and verifiable signature.

JWTSecurity

Sessions, Cookies, JWTs, Tokens, SSO, and OAuth 2.0

Sessions, cookies, JWTs, SSO, and OAuth 2.0 mapped to identity and access flows.

AuthenticationAuthorization

HTTPS Handshake and Trust Model

HTTPS handshakes, certificate checks, and encrypted HTTP over TLS.

EncryptionHTTPS

Single Sign-On (SSO)

Single sign-on through shared authentication, trust, and application sessions.

AuthenticationSso

Network Security Cheat Sheet

Network security controls and common threats mapped across OSI layers.

CybersecurityNetwork Security

OAuth 2.0 Flows

OAuth 2.0 flows for public clients, confidential clients, devices, and delegated access.

AuthorizationOAuth 2.0

HTTP Cookies

HTTP cookies store browser state and return it on matching later requests.

CookiesWeb Security

TOTP Authenticator Architecture

TOTP authenticators through shared secrets, time windows, and code validation.

2faAuthentication

VPN Architecture and Tunneling

VPN tunnelling through encrypted links, route changes, and trust boundaries.

SecurityVPN

SSH Session Establishment

SSH sessions through key exchange, host verification, and encrypted channels.

SecuritySSH

Cookies vs Sessions vs JWT vs PASETO

Cookies, sessions, JWT, and PASETO compared by state, transport, and revocation.

AuthenticationSecurity

HTTPS Security Model

HTTPS safety through TLS trust, endpoint security, and controlled interception.

HTTPSSecurity

JWTs and Stateless Authentication

JWTs through signed claims, local verification, and stateless session design.

AuthenticationJWT

Session-Based Authentication vs. JWTs

Session and JWT authentication compared by state storage and validation flow.

AuthenticationJWT

Symmetric vs. Asymmetric Encryption

Symmetric and asymmetric encryption compared by key model, speed, and usage.

CryptographyEncryption

HTTPS and TLS Handshakes

TLS handshakes through certificates, key exchange, and session encryption.

EncryptionHTTPS

Sensitive Data Management in Systems

Sensitive data handling through minimisation, segregation, encryption, and audit.

Data ManagementData Security

How Digital Signatures Work

Digital signatures combine hashing, private-key signing, and public verification.

CryptographySecurity

4 Authentication Mechanisms

Authentication mechanisms for password checks, session state, delegated access, and MFA.

AuthenticationSecurity

6 Firewall Use Cases

Firewall policies for ports, addresses, applications, segmentation, and attack filtering.

FirewallNetwork Security

Secure System Design

Secure system design through trust boundaries, least privilege, and layered controls.

Security DesignSystems Atlas

Tokens, Cookies, and Sessions

Tokens, cookies, and sessions as separate parts of a web authentication flow.

AuthenticationAuthorization

HTTP Cookies

HTTP cookies through browser storage, scoping rules, and session continuity.

HTTPWeb Development

Cookies vs. Sessions

Cookies and sessions compared by client storage and server-side state.

CookiesSessions

How Firewalls Work

Firewalls enforce network policy through packet, stateful, and application checks.

FirewallNetwork Security

Passkeys and Passwordless Authentication

Passkeys through public-key login, phishing resistance, and device trust.

AuthenticationPasskeys

Password Manager Architecture

Password managers through local encryption, key derivation, and encrypted sync.

PasswordsSecurity

Permission System Design

Permission system models including ACL, RBAC, ABAC, DAC, and MAC.

Access ControlRbac

Secure Password Storage

Password storage with slow hashes, per-user salts, and careful verification.

Data ProtectionPassword Security

Encoding, Encryption, and Tokenization

Encoding, encryption, and tokenization compared by representation and exposure.

Data HandlingData Security

DevSecOps

DevSecOps embeds security checks and controls throughout software delivery.

DevOpsSecurity