Posts about #cors
2 posts
5 min read
How to Audit a Next.js App for Security Misconfigurations and Header Leaks
Default Next.js production setups leak server runtime info, misconfigure CORS, and expose internal routes. Here's the audit — inspect headers, find env leaks, verify CORS — with code fixes for next.config.js.
#nextjs#security#headers#cors#audit#vercel
4 min read
FastAPI Production Checklist: CORS, Rate Limiting, and Diagnostic Monitoring
FastAPI is fast to build with, but production-ready middleware is often left as an afterthought. Here's the checklist for CORS, exception leakage, async pitfalls, and structured logging.
#fastapi#python#security#cors#monitoring#production