Topic

Authentication

5 posts All posts

Three of these four tell you how to forge them. Can you see it?Try it

Read this JWT: four tokens, which one would you trust?

Four JSON Web Tokens, three with a weakness you can see from the header and payload alone. Spot each flaw before the answers, then paste any token into the JWT inspector to confirm — and read the one-line server fix for each.

More on Authentication

A signed token stays valid until it expires, whatever you doWeb security

Your JWT cannot be logged out

The forgery bugs get all the attention and they are the easy half. The hard half is that a signed token stays valid until it expires, whatever you do afterwards — so a logout button, a password reset and a termination all quietly fail to end a session.

Three green ticks can pass on a message built to rob youPhishing

Email authentication proves a domain, not a sender

SPF, DKIM and DMARC can all pass on a message designed to rob you, and routinely do. Here is what each check actually asks, which one looks at the address you can see, and why three green ticks are so often a statement about a domain you were not looking at.

The green bar counts character classes, not guessesPasswords

Why password strength meters lie

The green bar is counting character classes, not guesses. Here is the gap between what a meter measures and what an attacker does, why length beats symbols, and why the same password is centuries under one attack and minutes under another.

A passkey is not a prettier passwordPasswords

Passkeys vs passwords vs 2FA: what each one actually stops

A passkey is not a prettier password. It is a different mechanism that removes the thing an attacker needs to steal — here is what each option stops, and what passkeys genuinely cost you.

← All posts