Skip to content

jwonagel/DotNetCspLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotNetCspLogger

Simple API to Log Content Security Policy Reports

Config

Just set the LogPath in appsettings and start.

CSP Header

Set the two http Header like:

Content-Security-Policy-Report-Only: policy
Content-Security-Policy: default-src 'self'  [further rules]; report-uri {uriOfTheAPi}/ContentSecurityPolicy

How to configure CSP look at Content Security Policy (CSP)

About

Simple API to Log Content Security Policy Reports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages