Daily note ·
Add security headers before you launch
Security headers are short notes your server sends with every page. They tell the browser how to protect your users. Most vibe-coded apps ship with none.
Start with four. Strict-Transport-Security forces HTTPS. X-Content-Type-Options: nosniff stops the browser from guessing file types. X-Frame-Options: DENY stops other sites from hiding your app in a frame to trick clicks. Referrer-Policy: strict-origin-when-cross-origin keeps your full URLs private.
On Vercel, add them in vercel.json or next.config.js. On Netlify, use a _headers file. Then reload your site, open dev tools, and check the response headers to make sure they show up.
Add a Content-Security-Policy last and test it well, because a strict one can break scripts.
Want to see what your site sends now? Check your live app for free at vibecheck.ac.