Skip to content

Helper server to try different combinations of CSP with different web pages

License

Notifications You must be signed in to change notification settings

Stwissel/csp-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content-Security-Policy Tester

Helper server to try different combinations of CSP with different web pages

Runs a HTTP server, serving resources from the resources/webroot directory and adds a Content-security-policy from resources/csp

The CSP are organized as files with one policy per line for ease of edit. Linefeeds are filtered out before sending back

Pull-Requests (incl. new sample files or policy files) are welcome

Details on CSP can be found at the Mozilla Developer Network

List of directives

Content security values

Running the project

  • you need maven installed
  • clone the repository
  • open folder
  • run `mvn clean compile exec:java

Not designed to be deployed

About

Helper server to try different combinations of CSP with different web pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published