StackKit

Security Tutorials

3 articles

Security · November 11, 2026 · 7 min read

Verify Googlebot with Forward-Confirmed Reverse DNS in Node.js

A line-by-line look at the reverse DNS check used on this blog to tell real Googlebot traffic from spoofed user-agents, and the crawlers it cannot verify.

Security · November 11, 2026 · 7 min read

A Signed-Cookie Admin Login in Next.js Without a Database, and Its Limits

How the admin panel on this blog authenticates one user with HMAC and timingSafeEqual, plus the real weaknesses of the design and how to fix them.

Security · May 14, 2025 · 9 min read

API Authentication: JWT, OAuth 2.0, and API Keys Explained

Understand the three main API authentication methods — API keys, JWT, and OAuth 2.0 — when to use each, and how to implement them securely.