Auth, Identity & Security
Lock it down like real people depend on it.
Authentication vs authorization, password hashing, sessions and JWTs, OAuth, role-based access, the full OWASP Top 10, secrets, threat modeling, and running a real audit. The difference between 'it works' and 'it's safe.'
Lessons
- โ
Authentication vs Authorization
Who you are vs what you're allowed to do โ and why confusing them causes breaches.
- โ
Passwords Done Right
Hashing, salting, bcrypt/argon2 โ never, ever store a password as plain text.
- โ
Sessions vs Tokens (JWT)
How login persists: sessions vs JWTs, and the trade-offs that actually matter.
- โ
OAuth & Social Login
'Sign in with Google' demystified: delegated auth with OAuth, done safely.
- โ
Role-Based Access Control
Roles and permissions: enforce who can do what โ on the backend, always.
- โ
The OWASP Top 10, Part 1
Injection, broken auth, and XSS โ the first half of the hacks that actually happen.
- โ
The OWASP Top 10, Part 2
IDOR, SSRF, misconfiguration, and the rest of the OWASP Top 10 for builders.
- โ
Secrets Management
Env vars, vaults, rotation โ keep keys out of your code and your Git history.
- โ
Securing File Uploads
The most dangerous feature: accept files without handing attackers the keys.
- โ
HTTPS, Encryption & Data Protection
Protect data in transit and at rest โ HTTPS, TLS, and encryption basics.
- โ
Threat Modeling
Think like an attacker about YOUR app: find the doors before they do.
- โ
Running a Real Security Audit
Run a real, structured security audit on your own code, start to finish.
- โ
Capstone: Full Security Audit & Hardening
Full security audit and hardening of an app: threat model, fixes, before/after.
Lock it down โ automatically
Run the HYVE Audit before you ship
You're learning to audit your own code โ the HYVE Audit does it automatically. An in-browser security scan that finds the holes before launch. Critical findings are free; the full severity-ranked report is $55, and your source code never leaves your machine.
๐๏ธ Build It Right, Or Don't Build It At All.