package
0.0.0-20240727104708-c2d1215a6a24
Repository: https://github.com/google/go-safeweb.git
Documentation: pkg.go.dev
# Packages
Package internalunsafecsp is used internally to override CSP.
# Structs
FramingPolicy can be used to create a new CSP policy with frame-ancestors set to 'self'.
Interceptor intercepts requests and applies CSP policies.
StrictPolicy can be used to build a strict, nonce-based CSP.
TrustedTypesPolicy policy can be used to create a new CSP which makes dangerous web API functions secure by default.
# Interfaces
Policy defines a CSP policy.