Pavan Rangani

HomeBlogSecurity

Security

In-depth Security articles by Senior Java Developer Pavan Rangani — practical, production-grade tutorials and engineering deep-dives. 40 articles in this category.

CORS, Explained by What It Actually Blocks

August 18, 2026

No error confuses developers more than a CORS error, mostly because almost everything about it is counterintuitive: it is enforced by the browser not the server, it protects the user not your API, and… Read more

Rate Limiting That Actually Stops Abuse

August 18, 2026

A naive request counter is easy to build and easy to bypass. The rate-limiting algorithms that actually work, why limiting by IP address quietly fails, and how to layer defenses so an attacker cannot … Read more

The JWT Mistakes Almost Everyone Makes

August 18, 2026

JSON Web Tokens are everywhere and misused almost everywhere. The predictable mistakes: storing them where XSS can steal them, assuming you can log someone out, algorithm confusion, and reaching for J… Read more

← Back to all articles