View definition

(SecureConfig).ContentSecurityPolicy

Defined in github.com/labstack/echo/middleware/secure.go

Description

ContentSecurityPolicy sets the `Content-Security-Policy` header providing security against cross-site scripting (XSS), clickjacking and other code injection attacks resulting from execution of malicious content in the trusted web page context. Optional. Default value "".

ContentSecurityPolicy is referenced in 1 repository

github.com/labstack/echo