This chapter covers the core features and capabilities of CSP Builder.
tagFollow this guide to get CSP Builder up and running in your environment.
# Generate a strict CSP header
python src/csp_builder.py --preset strict
# Build from a config file
python src/csp_builder.py --config examples/csp_config.json --output csp_header.txt
# Test a live URL's CSP
python src/csp_builder.py --test --url https://example.comOutputs a ready-to-use CSP header string (e.g., Content-Security-Policy: default-src 'none'; script-src 'self'; ...) or an HTML meta tag equivalent. Test mode shows the existing policy with gap analysis.
Get the full CSP Builder and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.