Title: WP Login Security 2
Author: andersvinther2
Published: <strong>2012-11-23</strong>
Last modified: 2012-12-19

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# WP Login Security 2

 By [andersvinther2](https://profiles.wordpress.org/andersvinther2/)

[Download](https://downloads.wordpress.org/plugin/wp-login-security-2.1.0.2.zip)

 * [Details](https://tt.wordpress.org/plugins/wp-login-security-2/#description)
 * [Reviews](https://tt.wordpress.org/plugins/wp-login-security-2/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/wp-login-security-2/#installation)
 * [Development](https://tt.wordpress.org/plugins/wp-login-security-2/#developers)

 [Support](https://wordpress.org/support/plugin/wp-login-security-2/)

## Description

WP Login Security 2 provides enhanced security by requiring users to whitelist their
IP address.
 If the IP address is not recognized, the plugin will send an email 
to the user with a link that contains a one-time key. Optionally the blog administrator
can also be notified.

If a user logs in from a known IP address no further action is required.

**What does this Plugin do?**

 1. Each time a user logs in, the plugin will compare their existing IP address to 
    the last seen IP address.
 2. If the IP does not match or no IP addresses have been whitelisted, an email will
    be sent to the users registered email address.
 3. The user must login to their email and click the included link, which contains 
    the one-time password.
 4. The plugin can be configured to also send an email to the blog administrator as
    well as the user.

**Updates from the original plugin**

This plugin is based on the original [WP Login Security](https://wordpress.org/extend/plugins/wp-login-security/)
plugin developed by joshuascott94.

Since the original plugin is not supported any longer we took over and made a few
updates:

 1. Fixed: Incorrect number of parameters were passed to mt_rand().
 2. Recoded: The plugin notifications on the login screen only worked when Output Buffering
    was turned on in php.ini.
 3. Added buttons to clear whitelist and outstanding activation codes.
 4. Added code to clean up data on uninstallation.

## Screenshots

 * [[
 * The admin panel of the plugin showing the default values.

## Installation

This Plugin works without you having to make any changes.

 1. Search for the plugin using the WordPress Plugin Installer OR download and unzip
    the directory into your plugins directory.
 2. Activate the Plugin through the ‘Plugins’ menu in WordPress – Upon activation, 
    your current IP will be automatically whitelisted.
 3. Optionally enable notifications of Blog Admin.
 4. Enjoy the enhanced security!

## FAQ

  Can I help you develop this Plugin?

Yes, I am open to anyone with experience who can provide assistance in making this
Plugin better. Just [send](http://www.wpsecuritychecklist.com/contact-us/) me a 
message.

  How to ask a question?

Click [here](http://www.wpsecuritychecklist.com/contact-us/) and ask me a question.
Or use the Support Forum here.

## Reviews

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

### 󠀁[Does what it says](https://wordpress.org/support/topic/does-what-it-says-367/)󠁿

 [adamp17](https://profiles.wordpress.org/adamp17/) 2016-09-03

Nice extra layer of security.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/wp-login-security-2/reviews/)

## Contributors & Developers

“WP Login Security 2” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “WP Login Security 2” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-login-security-2)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-login-security-2/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-login-security-2/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-login-security-2/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-login-security-2/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Added buttons to clear whitelist and outstanding activation codes.
 * Plugin removes data when uninstalled.

#### 1.0.1

 * Minor bug fix.

#### 1.0.0

 * Fixed: Call to mt_rand with wrong number of parameters.
 * Fixed: Plugin notifications on login screen only worked if Output Buffering was
   on.

## Meta

 *  Version **1.0.2**
 *  Last updated **13 ел ago**
 *  Active installations **20+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-login-security-2/)
 * Tags
 * [admin](https://tt.wordpress.org/plugins/tags/admin/)[authentication](https://tt.wordpress.org/plugins/tags/authentication/)
   [login](https://tt.wordpress.org/plugins/tags/login/)[security](https://tt.wordpress.org/plugins/tags/security/)
   [whitelisting](https://tt.wordpress.org/plugins/tags/whitelisting/)
 *  [Advanced View](https://tt.wordpress.org/plugins/wp-login-security-2/advanced/)

## Ratings

 4.4 out of 5 stars.

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

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

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

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-login-security-2/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.wpsecuritychecklist.com/buy-us-a-beer/)