Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Security Headers to Improve Site Protection #718

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

ryanwaits
Copy link
Collaborator

@ryanwaits ryanwaits commented Jul 22, 2024

What does this PR do?

This PR introduces the Cross-Origin-Opener-Policy: same-origin header across all responses from our docs site. This header is crucial for preventing cross-origin information leakage and potential security threats.

  • Updated the vercel.json configuration to include a new headers section.
  • Added the Cross-Origin-Opener-Policy with a value of same-origin to apply to all paths (/(.*)).

Issue reference: #717

Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hiro-systems-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 2:51pm

Copy link
Collaborator

@beguene beguene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@ryanwaits ryanwaits merged commit 4b075d4 into main Jul 22, 2024
4 checks passed
@ryanwaits ryanwaits deleted the chore/add-security-headers branch July 22, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants