Title: Security-Protection
Author: webvitaly
Published: <strong>26. februar 2014</strong>
Last modified: 5. september 2020

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/security-protection.svg)

# Security-Protection

 Av [webvitaly](https://profiles.wordpress.org/webvitaly/)

[Last ned](https://downloads.wordpress.org/plugin/security-protection.2.3.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/security-protection/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/security-protection/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/security-protection/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/security-protection/#developers)

 [Hjelp](https://wordpress.org/support/plugin/security-protection/)

## Skildring

 * **[Security-Protection](http://web-profile.net/wordpress/plugins/security-protection/)**
 * **[Donate](http://web-profile.net/donate/)**
 * **[WordPress plugins](http://web-profile.net/wordpress/plugins/)**

**Why humans should prove that they are humans by filling captchas? Lets bots prove
that they are not bots with adding javascript to their user-agents!**

Security-Protection blocks and stops brute-force attacks.
 [Want to read more how Security-Protection plugin works](https://wordpress.org/plugins/security-protection/faq/)?

 * **no captcha**, because brute-force attacks is not users» problem
 * **no options**, because it is great to forget about brute-force attacks completely

Plugin is easy to use: just install it and it just works.

Important: **delete «admin» username** if you have it on your site. More than 90%
of brute-force attacks try to crack the «admin» username.

Few of the most commonly used and worst passwords. Do not use them or similar:

 * 123456
 * p@s$w0rd
 * qwerty
 * qwe123
 * admin123
 * iloveyou
 * letmein

#### Useful:

 * [«Page-list» – show list of pages with shortcodes](https://wordpress.org/plugins/page-list/)
 * [«Iframe» – embed content](https://wordpress.org/plugins/iframe/)
 * [WordPress Pro plugins](http://web-profile.net/wordpress/plugins/)

## Installasjon

 1. install and activate the plugin on the Plugins page
 2. enjoy life without login, register and reset-password brute-force attacks

## Vanlege spm.

### Compatible with:

 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)

### How does Security-Protection plugin work?

The blocking algorithm is based on 2 methods: «invisible js-captcha» and «invisible
input trap».
 The «invisible js-captcha» method is based on fact that bots does 
not have javascript on their user-agents. The «invisible input trap» method is based
on fact that almost all the bots will fill inputs with name «email» or «url».

### How does Security-Protection plugin work in details?

Two extra hidden fields are added to login, register and reset-password forms.
 
First field is the invisible captcha (copy and paste the code). Second field should
be empty. If the user visits site, than first field is answered automatically with
javascript, second field left blank and both fields are hidden by javascript and
css and invisible for the user. If the brute-forcer tries to submit the form, he
will make a mistake with answer on first field or tries to submit an empty field
and brute-force attack will be automatically rejected.

### How does Security-Protection plugin stop brute-force attacks?

If Security-Protection check was not passed than it is brute-force request and the
login attempt (or registration, or reset password) is blocked even if username and
password are correct.
 Plugin sends fake WordPress login cookies to the brute-force
bot and redirects it to the admin section to emulate that the password is cracked
and many brute-forcers stop their attacks after this. It is really awesome 🙂

### How to test what brute-force attacks are blocked?

You may enable sending info about blocked brute-force attacks to admin email.
 Edit
[security-protection.php](https://plugins.trac.wordpress.org/browser/security-protection/trunk/security-protection.php)
file and find «$secprot_send_brute_force_log_to_admin» and make it «true».

### How to stop brute-force attacks if plugins does not help?

If all plugins does not help you to stop brute-force attacks – you can simply rename
wp-login.php file (for example «wp-login-new.php») for now and maybe this can help
you to reduce load on your site.
 And also create empty wp-login.php file for not
raising WordPress 404 error because it will start whole WordPress site again during
each wp-login.php access. While wp-login.php renamed – users cannot login, register
and reset password. If you want to have ability to login while you renamed wp-login.
php file you should replace all «wp-login.php» strings inside of the wp-login.php
file to your new filename (for example «wp-login-new.php»).

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Security-Protection” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ webvitaly ](https://profiles.wordpress.org/webvitaly/)

[Omset “Security-Protection” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/security-protection)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/security-protection/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/security-protection/) eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/security-protection/)
med [RSS](https://plugins.trac.wordpress.org/log/security-protection/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 2.3

 * Minor updates

#### 2.2

 * added compatibility for WooCommerce
 * code cleanup
 * bugfixing
 * move javascript file to footer
 * added SECURITY_PROTECTION_VERSION constant

#### 2.1

 * masking password in the email log for successful login
 * cleanup code
 * update FAQ

#### 2.0

 * completely rewrote all the code and reorganize the logic of the plugin (now plugin
   adds two hidden fields – aka «invisible js-captcha»)
 * added «send_successful_login_log_to_admin» feature

#### 1.1

 * added sending fake WordPress login cookies to fool the bot

#### 1.0

 * initial release – Protect from login, register and reset-password brute-force
   attacks using cookie check

## Om

 *  Version **2.3**
 *  Last updated **6 år sidan**
 *  Active installations **400+**
 *  WordPress version ** 3.0 eller nyare **
 *  Tested up to **5.5.18**
 *  Language
 * [English (US)](https://wordpress.org/plugins/security-protection/)
 * Tags
 * [Brute Force](https://nn.wordpress.org/plugins/tags/brute-force/)[BruteForce](https://nn.wordpress.org/plugins/tags/bruteforce/)
   [login](https://nn.wordpress.org/plugins/tags/login/)[register](https://nn.wordpress.org/plugins/tags/register/)
   [registration](https://nn.wordpress.org/plugins/tags/registration/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/security-protection/advanced/)

## Vurderingar

 4.3 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/security-protection/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/security-protection/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/security-protection/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/security-protection/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/security-protection/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/security-protection/reviews/)

## Contributors

 *   [ webvitaly ](https://profiles.wordpress.org/webvitaly/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/security-protection/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://web-profile.net/donate/)