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

Do work to add Content Security Policy (CSP) to frontend #50

Open
jupiter007 opened this issue Jun 5, 2024 · 0 comments
Open

Do work to add Content Security Policy (CSP) to frontend #50

jupiter007 opened this issue Jun 5, 2024 · 0 comments

Comments

@jupiter007
Copy link
Collaborator

jupiter007 commented Jun 5, 2024

CSP is important to guard against various security threats such as cross-site scripting. Do some research to see whether it makes sense to add it to frontend code, and how best to implement.

Tasks:

  • Define CSP
    -- Define requirements, like default-src, script-src
  • Update next.config.js file to include the CSP headers
  • Test your implementation, and use tools like CSP Evaluator.
@jupiter007 jupiter007 self-assigned this Jun 5, 2024
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

No branches or pull requests

1 participant