PHP Classes / CSP Filter

Filter HTML based on Content Security Policy

CSP Filter PHP Class

This class can be used to filter HTML based on Content Security Policy. It takes a DOM Document object loaded with the structure of an HTML document and process it to find violations of the Content Security Policy definition. The class changes the document structure to filter and enforce the policy definitions, so the application can serve a compliant HTML document.

Similar PHP Classes

Search in PHP Classes

Filter by tags