plant icon indicating copy to clipboard operation
plant copied to clipboard

Add CSP handler

Open rumkin opened this issue 5 years ago • 0 comments

Create @plant/csp package to manage Content-Security Policies.

Handler should add csp context entry which allow to manage CSP policies as data. After request handling is finished, convert CSP into string and set Content-Security-Policy header.

Example: Helmet CSP

rumkin avatar Apr 25 '19 09:04 rumkin