Banner for Wp Content Security Policy
Block XSS vulnerabilities by adding a Content Security Policy header, plugin receives violations to easily maintain the security policy. Wordpress Tutorial
Noted That:
  • To install correctly this wp-content-security-policy.zip .
  • Fisrt Download the wp-content-security-policy.zip to your computer
  • Extract/Open wp-content-security-policy.zip to Your Computer.
  • Then, Find readme.txt file inside wp-content-security-policy.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " wp-content-security-policy.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Wp Content Security Policy

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Wp Content Security Policy

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Wp Content Security Policy

Step-5 : Now, Browse " wp-content-security-policy.zip " Downloaded plugin from your computer, Where you downloaded " wp-content-security-policy.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Wp Content Security Policy

Step-6 : Now, Click on " Active Plugin "

Activate Wp Content Security Policy

Step-7 : Then, See left Side Menu. " Wp Content Security Policy " folder is added on left Side Menu. Now, Click on " Wp Content Security Policy " folder.

Noted that: If you do not see " Wp Content Security Policy " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Wp Content Security Policy Configurations and Settings or How to work " Wp Content Security Policy " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " WP Content Security Plugin " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is WP Content Security Plugin
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Before You Start

I recommend you move all styles and scripts into include files – this will allow WP_CSP to approve the included file and will mean you can stop the browser running scripts that have been added to the page from an unknown source.
Read the ** Upgrade notice** for information on CSP version 3.

To Install

Follow the standard WordPress plugin installation procedures.

e.g.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit the settings under ‘Settings-> Content Security Policy Options’. I recommend you run this plugin in ‘report only’ mode for a little while to help you set your CSP settings correctly.

To Upgrade

See the new CSP V3 tab on the admin page.


Name