Skip to content

This application is a demonstration prototype just to show how to write a Content Security Policy.

Notifications You must be signed in to change notification settings

0xdbe-appsec/csp-angular

Repository files navigation

CSP Angular

This application is a demonstration prototype just to show how to write a Content Security Policy.

For local environement

Write your CSP in src/environments/environment.ts and run npm start.

Customize your CSP to resolve all errors, without using script-src: unsafe-eval.

For production environement

Write your CSP in src/environments/environment.prod.ts and run npm run build.

Then, run npm run serve to expose the application. Adjust your CSP to resolve all errors, without using script-src: unsafe-eval.

About

This application is a demonstration prototype just to show how to write a Content Security Policy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published