Skip to content

feat: add HTTP security headers#307

Open
salonisingh-5 wants to merge 1 commit into
pushkarscripts:mainfrom
salonisingh-5:feat/security-headers
Open

feat: add HTTP security headers#307
salonisingh-5 wants to merge 1 commit into
pushkarscripts:mainfrom
salonisingh-5:feat/security-headers

Conversation

@salonisingh-5

Copy link
Copy Markdown

Related Issue

Closes #273

Changes Made

  • Added X-Frame-Options: SAMEORIGIN
  • Added X-Content-Type-Options: nosniff
  • Added Referrer-Policy: strict-origin-when-cross-origin
  • Added Permissions-Policy to disable unused browser APIs
  • Added X-DNS-Prefetch-Control: on

Testing

  • Ran the application locally
  • Verified response headers through Chrome DevTools
  • Confirmed headers are applied across routes

Notes

The implementation follows the issue requirements and uses Next.js headers() configuration in next.config.ts.

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@salonisingh-5 is attempting to deploy a commit to the PushkarScripts Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] add HTTP security headers

1 participant