Title: CSP Friendly Security
Author: Pascal CESCATO
Published: <strong>21 abril, 2022</strong>
Last modified: 23 maio, 2026

---

Pesquisar plugins

![](https://ps.w.org/csp-antsst/assets/banner-772x250.png?rev=2712423)

![](https://ps.w.org/csp-antsst/assets/icon-128x128.png?rev=2712423)

# CSP Friendly Security

 Por [Pascal CESCATO](https://profiles.wordpress.org/pcescato/)

[Baixar](https://downloads.wordpress.org/plugin/csp-antsst.1.5.2.zip)

 * [Detalhes](https://br.wordpress.org/plugins/csp-antsst/#description)
 * [Avaliações](https://br.wordpress.org/plugins/csp-antsst/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/csp-antsst/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/csp-antsst/#developers)

 [Suporte](https://wordpress.org/support/plugin/csp-antsst/)

## Descrição

Adds a CSP header compatible with most WP plugins without breaking styles.

## Instalação

 * Extract the zip file and drop the contents in wp-content/plugins/ or install 
   via dashboard.
 * Activate the plugin. No settings required.

## Perguntas frequentes

### Is there something to do after install?

Just activate it!

## Avaliações

![](https://secure.gravatar.com/avatar/f50bbf43bd170e32ee9e71eabb62a981cd6af5c947783b2af93c21554bacbea6?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-37270/)󠁿

 [amanandhishoe](https://profiles.wordpress.org/amanandhishoe/) 24 julho, 2023

I downloaded this plugin and modified it for my site. I would recommend doing that.
The plugin hooks into the ‘template_redirect’ hook. At that point the source for
the page has been generated by themes and plugins and is ready to be sent. The plugin
looks through the generated source and makes nonces for all inline scripts and styles.
It modifies the source so the inline scripts and styles have a nonce=’some-nonce’
statement in them. It creates a Content-Security-Policy which includes those nonces.
However, each site has its own CSP needs, and so modifying the plugin to tailor 
the CSP to your site is not that difficult to do. That is what I have done.

![](https://secure.gravatar.com/avatar/9b95bfa4d1616d47a8ecea5e0edbd6be48a8db11943e7b3cea85f3849dfff88d?
s=60&d=retro&r=g)

### 󠀁[total cache compatibility issues](https://wordpress.org/support/topic/total-cache-compatibility-issues/)󠁿

 [hayobethlehem](https://profiles.wordpress.org/hayobethlehem/) 15 setembro, 2022

doesn’t seem to work properly with w3tc. hope it will get updated at some point.

![](https://secure.gravatar.com/avatar/b9a102a7679e849a7d3d54edbe5078df83959b5a07679cc59fceb0af4d2f1264?
s=60&d=retro&r=g)

### 󠀁[Could be better](https://wordpress.org/support/topic/could-be-better-53/)󠁿

 [Anonymous User](https://profiles.wordpress.org/anonymized-20439159/) 8 setembro,
2022

The plugin works as advertised however, it does not let you modify the CSP header
resulting in a less than ideal CSP header. The header this plugin serves provides
no protection against clickjacking and allows all external scripts.

![](https://secure.gravatar.com/avatar/5146f0764e00f8116c4d6c0e8af7d77da8aeba106cf2211a380a787fc18855eb?
s=60&d=retro&r=g)

### 󠀁[Satisfied!](https://wordpress.org/support/topic/satisfied-104/)󠁿

 [OkorieWare](https://profiles.wordpress.org/okorieware/) 14 julho, 2022

This is the most ‘straight to the point’ CSP tool that I’ve found. So far, so go.

 [ Leia todas as 4 avaliações ](https://wordpress.org/support/plugin/csp-antsst/reviews/)

## Colaboradores e desenvolvedores

“CSP Friendly Security” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ Pascal CESCATO ](https://profiles.wordpress.org/pcescato/)

[Traduzir o “CSP Friendly Security” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/csp-antsst)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/csp-antsst/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/csp-antsst/) ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/csp-antsst/)
por [RSS](https://plugins.trac.wordpress.org/log/csp-antsst/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.5.1

 * Fixed plugin header for WP validation
 * Added short description

## Meta

 *  Versão **1.5.2**
 *  Última atualização **1 mês atrás**
 *  Instalações ativas **200+**
 *  Versão do WordPress ** 5.9 ou superior **
 *  Testado até **7.0**
 *  Versão do PHP ** 7.3 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/csp-antsst/)
 * Tags
 * [content security policy](https://br.wordpress.org/plugins/tags/content-security-policy/)
   [csp](https://br.wordpress.org/plugins/tags/csp/)[Security Headers](https://br.wordpress.org/plugins/tags/security-headers/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/csp-antsst/advanced/)

## Classificações

 3.5 de 5 estrelas.

 *  [  2 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/csp-antsst/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/csp-antsst/reviews/?filter=4)
 *  [  1 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/csp-antsst/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/csp-antsst/reviews/?filter=2)
 *  [  1 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/csp-antsst/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/csp-antsst/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/csp-antsst/reviews/)

## Colaboradores

 *   [ Pascal CESCATO ](https://profiles.wordpress.org/pcescato/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/csp-antsst/)