Tutorials

Learn web development with step-by-step guides

From beginner to advanced — Django, Python, REST APIs, JavaScript, Bootstrap, and more

All Django Python REST API JavaScript Bootstrap Database DevOps Security AI & LLMs
Level: All Levels Beginner Intermediate Advanced

Security Tutorials

21 tutorials
Security Advanced
Software Supply Chain Security: SBOMs, Sigstore, SLSA, and Dependency and Image Scanning in CI

Defend against typosquatting, compromised maintainers and build tampering with hash-pinned lockfiles, Syft SBOMs, Trivy, Grype and pip-audit scanning, triage rules, cosign signing, SLSA provenance, Rego policy gates and a complete CI pipeline.

20 min · 89
Read
Security Advanced
Threat Modeling for Web Applications: STRIDE, Attack Trees, Abuse Cases, and Security Requirements

Model a multi-tenant SaaS app from data-flow diagram and trust boundaries through STRIDE, attack trees, abuse cases, and risk rating, then turn the results into testable requirements and CI checks.

20 min · 53
Read
Security Advanced
Content Security Policy for Django: Nonces, Trusted Types, and Killing XSS for Good

CSP turns cross-site scripting from a breach into a blocked console message. Ship a strict nonce-based policy, migrate without breaking the site, read the violation reports, and avoid the settings that make it decorative.

19 min · 246
Read
Security Advanced
Private Networking for Django Infrastructure with WireGuard: Admin Behind a Tunnel, Not a Password

Take your admin, database and internal tooling off the public internet entirely: WireGuard peers and keys, binding services to the tunnel, restricting Django admin by network, revoking access, the MTU trap, and what a VPN does not solve.

16 min · 358
Read
Security Advanced
Secrets Management for Django: Env Files, Docker Layers, Git History, and Rotation That Actually Happens

Where secrets leak in a Django deployment and what to do about it: file permissions, environment variables versus files, build arguments baked into image layers, git history you cannot really erase, encrypted-at-rest storage, and a rotation process.

17 min · 374
Read
Security Advanced
TLS Certificates in Production for Django: ACME Challenges, Renewal, HSTS, and Why Issuance Fails

Certificates from the inside out: what the chain actually proves, HTTP-01 versus DNS-01, renewals that stop silently, rate limits, HSTS as a one-way door, and how to read the error messages that send everyone in the wrong direction.

15 min · 320
Read
Security Advanced
Firewall and SSH Hardening for Django Servers: Default Deny, Key-Only Access, and the Docker Trap

Lock down a Django server properly: default-deny firewall rules, key-only SSH without locking yourself out, fail2ban that actually bans, IPv6 rules people forget, and why Docker quietly publishes ports straight past your firewall.

18 min · 324
Read
Security Advanced
Hardening Django APIs: Rate Limiting, HMAC Request Signing, and Mutual TLS

Lock down server-to-server and public APIs. Layer per-client rate limiting, verify request integrity with HMAC signatures, defeat replay attacks with nonces and timestamps, and authenticate machines with mutual TLS.

17 min · 529
Read
Security Advanced
Passwordless Django: WebAuthn and Passkeys for Phishing-Resistant Authentication

Kill the password. Implement WebAuthn/passkeys in Django end to end — registration and authentication ceremonies, public-key credential storage, the security model that makes passkeys phishing-resistant, and a sane fallback strategy.

18 min · 574
Read
Security Advanced
Web Application Incident Response — Investigating an Active Compromise

From the first alert through containment, eradication, forensics, and post-incident review — a structured playbook for handling web app breaches.

17 min · 578
Read
Security Advanced
Red Team Web App Tactics — Phishing into Apps, Lateral Movement, Persistence

How professional adversary simulation operates against web applications — initial access via phishing, persistence inside accounts, lateral movement through connected systems.

25 min · 518
Read
Security Advanced
Web Authentication Attacks — Sessions, JWT, OAuth, SSO, Account Takeover

How authentication actually breaks in modern web apps — session theft, JWT confusion, OAuth flaws, SSO race conditions, and the controls that actually work.

17 min · 606
Read
Missing a topic?

These tutorials are written from real production work, and the best ideas come from readers. Got a suggestion, a correction, or a subject you keep searching for and never find properly explained? Tell us — we read every message, and requested topics move to the front of the queue.

Ready to Build Something?

Check out our premium Django packages and SaaS templates to jumpstart your project.