Skip to content

Commit

Permalink
added security headers via _headers file
Browse files Browse the repository at this point in the history
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
Cross-Origin-Opener-Policy: same-origin
  • Loading branch information
sandroguras committed Jul 24, 2024
1 parent 7de02fb commit 1adbd5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Apply these headers to all pages
/*
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
Cross-Origin-Opener-Policy: same-origin

0 comments on commit 1adbd5e

Please sign in to comment.