How to Validate User-Supplied URLs Without Creating an SSRF Risk
Learn how to validate user-supplied URLs safely with scheme and host policies, DNS/IP checks, redirect controls, and network egress defenses for fetch features.
Practical guides for cleaner URLs, smarter SEO, and a more thoughtful web. Find your next useful idea.
Explore the journal
9 articles
Learn how to validate user-supplied URLs safely with scheme and host policies, DNS/IP checks, redirect controls, and network egress defenses for fetch features.
Compare offset and cursor pagination, choose query parameters, emit HTTP Link headers, and protect continuation tokens with practical REST API examples.
Learn how to validate URLs to prevent SSRF with scheme and host policies, DNS and IP checks, connection pinning, redirect validation, and egress controls.
Compare repeated keys, comma-separated values, and bracketed array query parameters. Learn OpenAPI serialization options and the edge cases to define.
Follow API-provided next URLs safely. Learn cursor vs. offset pagination, Link headers, trusted-host validation, HTTPS, and credential handling in clients.
Build a Node.js URL shortener with Express and SQLite. Learn short-code generation, redirects, click analytics, rate limiting, and abuse prevention.