- Content Security Policy By NextJS - nextjs.org
- Protect your Next.js app with security headers - medium.com
- Web Security By Mozilla - mozilla.org
- Content Security Policy Reference
Add the following to your app/layout.tsx
or pages/_app.tsx
or pages/_document.tsx