
Ed25519 or RSA for your SSH key: which is faster, shorter and safer, why an old RSA key suddenly stops letting you in, and which ssh-keygen command to type.

What a checksum is in plain words: how SHA-256 works, how to verify a downloaded file on any system, and what this check will not protect you from.

localhost vs 0.0.0.0 explained: how to open a site from your phone, why Next and Docker listen on the whole network by default, and which address to pick.

What a prototype is in JavaScript: where objects get properties you never added, why a word counter breaks on “constructor”, and why __proto__ is risky.

What template literals in JavaScript are: backticks, ${} interpolation, tags like sql`` — and the one mistake that turns a safe query into an SQL injection.

What a random number is in code and how Math.random works: why it's pseudo-random, where the Math.round trap hides, and when you need crypto instead.

innerHTML vs textContent: what's the difference and which to use. A five-criteria comparison, how innerHTML opens a hole for foreign code, and where innerText fits.

"Refused to execute inline script" and the site is dead. Why CSP blocks your own scripts: the three common causes, how to check each one, and what to change.

An open redirect is a hole you add yourself with a next parameter on the login form. How your own domain becomes a phishing link, and the three ways to fix it.

A TLS certificate proves a domain, not the owner's honesty. What's inside a certificate, who signs it, and why the maximum lifetime is being cut to 47 days.

CSP isn't a filter for bad code, it's an allowlist of sources. What Content Security Policy is, why it blocks your own scripts, and how to turn it on safely.

SSL was banned back in 2015, yet the word lives on in price lists and configs. The difference between SSL and TLS, which versions are alive, and what to enable.

Step by step: how to add security headers — nosniff, HSTS, Referrer-Policy, frame-ancestors and CSP in report mode — with ready configs and a way to verify.

Chat, analytics and pixels are someone else's code with your code's rights. What third-party scripts are, how they slow a site, and how to tame them.

XSS is someone else's JavaScript running for your users. Where it comes from, why an image tag is enough, and what actually closes the hole.

SQL injection is when text from a form becomes a command for your database. We use an apostrophe in a surname to show why «stripping quotes» never works.

CSRF is an attack where another site sends the request and your own browser attaches the cookie. The mechanics, what SameSite covers, and why you need a token.

Six strings worth typing into your own form: what should happen, and what it means if something else does. A five-minute self-check for holes.

A step-by-step walkthrough: how to validate form data on the server — schema, allowlist, normalization and limits. With code and human error messages.

3-D Secure is payment confirmation on the customer's bank side. Who pays for a fraud dispute after 3DS, when it's mandatory, and what the friction costs.

Secure storage is a safe inside your phone: the key never leaves the chip, and the app itself can't read it. Keychain, Keystore, and where not to put a token.

A refresh token is the long key you trade for a short pass. Why apps use two tokens instead of one, and why the server sometimes logs you out on every device.

A passkey is a login without a password: the site only stores a public key. Here's how your phone signs you in and why phishing stops working.

Passwords are stored as hashes, passkeys as public keys. Compared on leaks, phishing, recovery and convenience — and a verdict on what to ship in a new project.

What not to send to an AI: keys, other people's personal data, NDA documents. And why "training is off" doesn't mean "nobody will ever read this".

You can rewrite code; you can't rewrite a signing key. What app signing is, how an upload key differs from Google's key, and how not to lose everything.

Why .gitignore isn't working: usually the file is already tracked, so the rule has no effect. Three real causes, a one-command check, and the fixes.

A proxy is a middleman between your app and someone else's service. What a proxy server is, forward vs reverse, and why your API key needs one.

Encryption hides data in a way you can undo. Here's what the padlock in your browser actually protects — and what it doesn't.

AI code breaks where things are boring, not where they're hard. Seven places worth a look before your users find them for you.

Your database key sits right in your site's code — by design. What protects you is RLS: what it is, why it's easy to miss, and how to write your first policy.

A webhook signature proves the request came from Stripe and not from a prankster. How it works, why you need it, and why plain JSON parsing breaks it.

What a hash is in plain words: why a service that emails you your old password can't be doing it honestly — and where the password actually goes.

Three ways to log people in, compared on cost, safety and hassle. With a table, a straight verdict — and the non-obvious thing that kills magic links.

A role that lives only in the UI isn't a role: the button is hidden, the request still works. Step by step, add user roles that actually can't be bypassed.

A jailbreak is talking a model into breaking its own rules. Don't confuse it with prompt injection. Here's what an AI jailbreak is and why it's so hard to close.

An API key is a pass to someone else's service, used in your name. Here's what an API key is, where it lives, why it can't sit in your code, and how to store it safely.

Guardrails are checks around the model, not a 'don't do that' line in the prompt. Here's why a wall holds where a request gets talked around so easily.

2FA is a second key to your account that changes every 30 seconds. Here's why it holds even when your password has long leaked into someone else's database.

The classic beginner mistake: hiding a key in a frontend .env. At build time it lands in the bundle and anyone can see it. Here's how to store API keys properly.

Before you publish an app, 7 checks are enough to not hand your data and money to the first passing bot. A concrete list, no lecturing.

Prompt injection is when text the model is merely reading gets executed as a command. Here's why it happens and how to defend against it.