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

Middleware for Content Security Policy (CSP) Headers #683

Open
fastbike opened this issue Aug 24, 2023 · 2 comments
Open

Middleware for Content Security Policy (CSP) Headers #683

fastbike opened this issue Aug 24, 2023 · 2 comments
Milestone

Comments

@fastbike
Copy link
Contributor

DMVC already has middleware for CORS and general Security Headers.

There is also a set of standards around Content Security Policy (CSP), designed to help detect and mitigate certain types of attacks, including Cross-Site Scripting (XSS) and data injection attacks.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP

Is there any plan to develop a middleware plugin ?
Is anybody interested in collaborating if I was to start work on one ?

@danieleteti
Copy link
Owner

Good point. I was planning to implement it but not in this time-frame. If you have something ready I can support for code-review.

@fastbike
Copy link
Contributor Author

fastbike commented Aug 31, 2023

I'll add it to my todo list. We're using the OWASP ZAP tool - it provides some interesting insights.

@danieleteti danieleteti added this to the 4.0.0-oxygen milestone Oct 20, 2023
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

2 participants