Type to search.

#199 by installs

Limit Login Attempts

by AutomatticVersion 1.7.2

Limit rate of login attempts, including by way of cookies, for each IP. Fully customizable.

Active installs
300,000+
#199 of 1,000
Downloads, all time
2.3M
2,314,028
Downloads, 30 days
7.7K
2.2K in the last 7
Rating
4.6 / 5
202 reviews
Last updated
4 years ago
Apr 4, 2023
Version
1.7.2
21 releases

Upkeep and compatibility

Last updatedApril 4, 2023Not updated for over a year
Tested up toWordPress 6.2.15Older than WordPress 7.1.4, the current release
Needs WordPress2.8 or newer
Needs PHPNot stated
First publishedJanuary 15, 2009
Support, last two monthsNo threads opened

Reviews

4.6 / 5 from 202 reviews

Reviews by star rating
5 stars170
4 stars13
3 stars3
2 stars4
1 star12

Downloads, last 30 days

Low 113 a dayHigh 659 a day

What the author says it does

Limit the number of login attempts possible both through normal login as well as using auth cookies.

By default WordPress allows unlimited login attempts either through the login page or by sending special cookies. This allows passwords (or hashes) to be brute-force cracked with relative ease.

Limit Login Attempts blocks an Internet address from making further attempts after a specified limit on retries is reached, making a brute-force attack difficult or impossible.

Features

  • Limit the number of retry attempts when logging in (for each IP). Fully customizable
  • Limit the number of attempts to log in using auth cookies in same way
  • Informs user about remaining retries or lockout time on login page
  • Optional logging, optional email notification
  • Handles server behind reverse proxy
  • It is possible to whitelist IPs using a filter. But you probably shouldn’t. 🙂

Translations: Bulgarian, Brazilian Portuguese, Catalan, Chinese (Traditional), Czech, Dutch, Finnish, French, German, Hungarian, Norwegian, Persian, Romanian, Russian, Spanish, Swedish, Turkish

Plugin uses standard actions and filters only.

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

Why not reset failed attempts on a successful login?

This is very much by design. Otherwise you could brute force the “admin” password by logging in as your own user every 4th attempt.

What is this option about site connection and reverse proxy?

A reverse proxy is a server in between the site and the Internet (perhaps handling caching or load-balancing). This makes getting the correct client IP to block slightly more complicated.

The option default to NOT being behind a proxy — which should be by far the common case.

How do I know if my site is behind a reverse proxy?

You probably are not or you would know. We show a pretty good guess on the option page. Set the option using this unless you are sure you know better.

Can I whitelist my IP so I don’t get locked out?

First please consider if you really need this. Generally speaking it is not a good idea to have exceptions to your security policies.

That said, there is now a filter which allows you to do it: “limit_login_whitelist_ip”.

Example:

function my_ip_whitelist($allow, $ip) {

return ($ip == ‘my-ip’) ? true : $allow;

}

add_filter(‘limit_login_whitelist_ip’, ‘my_ip_whitelist’, 10, 2);

I locked myself out testing this thing, what do I do?

Either wait, or:

If you know how to edit / add to PHP files you can use the IP whitelist functionality described above. You should then use the “Restore Lockouts” button on the plugin settings page and remove the whitelist function again.

If you have ftp / ssh access to the site rename the file “wp-content/plugins/limit-login-attempts/limit-login-attempts.php” to deactivate the plugin.

Latest changelog entry

1.7.2

Security fixes.

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

#314 by installs

WPS Limit Login

by NicolasKulka

WPS Limit login limit connection attempts by IP address

Installs
100,000+
Rating
4.9 (83)
Updated
43 days ago

#46 by installs

Loginizer

by Softaculous

Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks.

Installs
1+ million
Rating
4.8 (1K)
Updated
2 days ago

#312 by installs

Two Factor

by WordPress.org

Enable Two-Factor Authentication (2FA) using time-based one-time passwords (TOTP), email, and backup verification codes.

Installs
100,000+
Rating
4.7 (209)
Updated
33 days ago

#401 by installs

Hide My WP Ghost – Security & Firewall

by John Darrel

Hide My WP Ghost is a WordPress security plugin that hides WP paths and protects your site with Path Security, Firewall, Brute Force Protection, 2FA

Installs
100,000+
Rating
4.5 (373)
Updated
1 day ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin.