
Place inevitable scripts to header tags and .htacces file of your WordPress site to defend it from clickjacking, cross site scripting (XSS, X-XSS) attacks. Protect your WordPress site against clickjacking and cross site scripting attacks This simple plugin put some important codes into .htaccess file and headers of your site. Sets the x-frame options, http headers, privents from folder browsing, disables xml-prc.
How it works?
The plugin writes some rows into the .htacces of the root directory of your website to set up http headers right after #end wordpress mark. Also adds some filters in adition to hide WordPress version or disable xml-prc function.
If you want to get rid of the codes, you should delete them manualy after deactivating the plugin. Allthough unchecked options will replace the codes with empty line.
What protections are available?
- X-fram options
- HTTP headers set
- disable folder browsing
- disable xml-prc
- Â hide WordPress version
What kind of attacks does this plugin prevent of?
Clickjacking
What is clickjacking?
Clickjacking is an attack that fools users into thinking they are clicking on one thing when they are actually clicking on another.
How to defend?
Using the X-Frame-Options HTTP header. It allows an application to specify whether frame use is simply denied, via the DENY value, or the use of frames is allowed, by the SAMEORIGIN or ALLOW-FROM values.
This plugin uses SAMEORIGIN option.
X-Frame-Options: SAMEORIGIN
Cross-site scripting (XSS)
What is cross-site scripting?
Cross-site scripting (XSS) is an attack in which an attacker injects malicious executable scripts into the code of a trusted application or website.
How to defend?
With HTTP security headres that will be inserted into .htaccess file by the followings.
Heaer set Strict-Transport-Security "max-age=31536000" env=HTTPS
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options nosniff
Header set Referrer-Policy: no-referrer-when-downgrade