
How this theory-first course works: you learn the risk and the "why", then hand a ready-made AI implementation skill to your coding assistant. A quick tour of the Web and Mobile sections.
What OAuth really solves: delegated access without sharing your password. Meet the roles, tokens, scopes, and grant types, and read a real authorize request in the URL.
The secure delegation flow step by step. Why tokens must never touch the browser, and how PKCE binds a login to the app that started it so an intercepted code is useless.
Six classic OAuth failures (open redirect, CSRF, mix-up, optional PKCE, alg confusion, missing audience/issuer) and the exact-match, state, PKCE, and validation checks that stop them.
What SCA is and who requires it: two factors from two different, independent categories. Why SMS OTP is weak, and the difference between authentication and authorization.
Proving who you are is not enough: bind the approval to the exact amount and payee. Dynamic linking, risk-based step-up, and how 3-D Secure 2 works.
Passkeys and phishing-resistant login with public-key cryptography: one key pair per site, why it beats shared secrets, and user presence vs user verification.
Registration and authentication end to end: the challenge, the signature, the origin binding, and the signature counter that detect phishing and cloned credentials.
Why a valid request captured and re-sent can still cause harm, and how nonces, timestamps, and idempotency keys guarantee a request is fresh and processed once.
Integrity and origin in one primitive: how a shared-key HMAC proves a message was not altered and came from who you think, and why it is not encryption.
Financial-grade request and webhook signing: what to put in the signature (body, timestamp, nonce), how to verify it, and the pitfalls that quietly break it.
One-time, expiring, signed action links done right: the token anatomy (payload, expiry, signature), why they must expire and be revocable, and how servers verify them.
The number-one API risk: changing an id to reach someone else's data. Why authentication is not authorization, and how server-side ownership checks stop it.
When a reference must be exposed: opaque IDs vs sequential, keeping IDs out of the URL, and encrypted, expiring reference tokens for public access.
Protect availability and abuse-prone actions: token-bucket vs naive counters, keying by session/account, distributed counters, and layering CAPTCHA on session-less endpoints.
Why classic puzzles fail against AI, and the modern shift to invisible, risk-based, attestation-backed verification (Turnstile, Private Access Tokens), always verified server-side.
How systems decide a request looks suspicious before showing a challenge: network, browser, behavioral, and session signals, entropy vs drift, and the privacy/legal line.
Both sides authenticate with certificates, at the transport layer, before any code runs. The handshake, what mTLS proves, and why it blocks traffic interception.
mTLS vs bearer tokens (WHO vs WHAT), the client-certificate anatomy, the real PKI and runtime costs, pitfalls, and the service-mesh/attestation stack.
The mobile threat model: the attacker owns the device and your binary. Detection signals on Android/iOS/emulators, why on-device checks are bypassable, and hardware-backed remote attestation.
TLS only protects the tunnel; once terminated, data is plaintext. Field-level vs full-payload encryption, envelope encryption with AEAD, and wrapping data keys with a KMS.
Key management done right, the classic pitfalls, and "harvest now, decrypt later": why symmetric survives quantum, asymmetric does not, and how crypto-agility + hybrid ML-KEM help.
Obfuscation is a cost-raising layer, not encryption. The hardening ladder from renaming to control-flow to native migration and virtualization, and which techniques give the most protection per cost.
Android (R8/ProGuard vs DexGuard) and iOS (symbol stripping, LLVM, iXGuard); why obfuscation barely slows dynamic analysis like Frida, and why it protects your other defenses.
Doing it right and the honest ceiling: any obfuscation is reversible, so raise cost above the payoff, watch performance/breakage, and match the hardening level to the asset.
Runtime self-protection: the app defends itself while it runs. Detecting Frida, Xposed, and hooking (memory maps, ports, threads, inline hooks), and why checks must be native and layered.
Anti-debugging (TracerPid, ptrace, PT_DENY_ATTACH), runtime integrity checks, and the part teams get wrong: responding quietly and deciding server-side, plus the honest limits.
Attackers modify, re-sign, and redistribute your app. Detect the re-sign with runtime signature/integrity checks, and anchor genuineness server-side with Play Integrity / App Attest.
Hardware-backed proof, verified on your server, that the app and device are genuine. Play Integrity verdict fields, the token flow, and binding a nonce to stop replay.
Apple's two-step model (one-time attestation of a Secure Enclave key, per-request assertions), DeviceCheck for per-device state, and the honest limits of attestation.
Where do you hide a key when the attacker owns the device? The Trusted Execution Environment, keys that never leave, the Android Keystore, and key attestation.
StrongBox, a dedicated tamper-resistant secure chip; when to choose it over the TEE; and binding a key to user authentication so a stolen key handle is useless.
Apple's Secure Enclave: P-256-only keys that never leave, Keychain and biometric binding, its constraints, and the cross-platform envelope pattern.
Protecting data at rest on a hostile device: minimize what you store, encrypt with hardware-backed keys, and avoid the leaky places (prefs, logs, clipboard, backups). Android and iOS done right.
Trust only your own server, not every CA. Pin the public key (not the leaf), always keep backup pins, and set it up correctly on Android and iOS.
Why pinning is bypassable (Frida flips the check at runtime), the "worked then the proxy got in" case, and how to harden it: native checks, RASP, and attestation.
An anti-fraud control against screen-sharing scams and screen-watching malware: block captures and live views of sensitive screens. Android truly blocks; iOS detects and hides.
Two quiet leaks: predictive text that learns your secrets, and the shared clipboard any app can read. Simple per-field fixes for passwords, cards, PINs, and OTPs.
Tie the account to one trusted device so stolen credentials fail elsewhere. Beats SIM swap and token replay; bind a hardware key with attestation and secure the activation step.
Old custom-scheme links can be claimed by any app and can leak tokens. Fix ownership with verified App Links / Universal Links, keep secrets out of links, and validate all incoming data.
A WebView runs web content in your app and a bridge lets it call native code, so any script in the WebView can reach in. Control both ends: only trusted content, and a minimal bridge.
This course contains the use of artificial intelligence.
The era of typing out exploit demos is over: your AI assistant already writes the implementation. What still separates a good engineer from a dangerous one is judgment, knowing the risk and the reason behind every control. This course builds that judgment.
It is deliberately theory-first and visual. Every topic teaches the risk, the "why", and the trade-offs with clear, animated explanations, in plain language, in short lectures (most under six minutes). And every topic ships a matching AI implementation skill: a structured prompt you hand to your coding assistant (Claude Code, Cursor, Copilot) so it implements that control correctly in your own stack, encoding current best practice from the relevant RFCs, OWASP guidance, and CWE mitigations.
You will cover the advanced Web controls behind real financial and high-value applications: OAuth and PKCE, Strong Customer Authentication, WebAuthn and passkeys, nonce and replay protection, HMAC and transaction signing, signed action links, secure object access (IDOR/BOLA), rate limiting, bot management and device fingerprinting, mutual TLS, and payload encryption including the post-quantum "harvest now, decrypt later" threat.
Then you will move to the hostile-device world of Mobile security: root, jailbreak and emulator detection, code obfuscation, RASP and hook detection, repackaging prevention, app attestation (Play Integrity and App Attest), hardware-backed key storage (TEE, StrongBox, Secure Enclave), sensitive data at rest, SSL pinning, screenshot and screen-sharing protection, overlay and accessibility abuse, keyboard and clipboard leaks, activation and device binding, deep link and intent hijacking, and WebView and JS-bridge security.
Each lecture ends with a short quiz, and each topic links to a downloadable AI implementation skill so you can act on what you learned immediately. Audio is better and contenct is created by us, human in the loop.