Skip to main content
Login & AccessModule: login-rate-limitsWP 7.0+ & PHP 8.3+

Login Rate Limits & Password Spray Defense

Protects wp-login.php and XML-RPC/REST auth against credential stuffing and low-and-slow password spraying.

In Simple Words (What This Is):

Limits repeated wrong password guesses per account and connection using race-free counters so bots cannot guess passwords.

Why this matters for your website:

Concurrent bot requests can bypass naive transient counters, while harsh IP bans lock out whole offices. Atomic counters + CGNAT-safe rules prevent both.

Open Directly in Your WordPress Admin

Configure Login Rules

Set retry thresholds, lockout duration, and password-spray detection.

/wp-admin/admin.php?page=webcare-pro-login&tab=rules

Where It Lives in Your WordPress Admin

Login Rules — configure atomic rate limits and spray protection without CGNAT lockouts.

Every Option & Setting Explained

Atomic Failure Counters

Uses flock(LOCK_EX) shard counters so concurrent brute-force requests cannot undercount.

Recommended: Enabled (Automatic)
Password Spray Detection

Detects attackers trying one common password across many different usernames.

Recommended: Enabled

Step-by-Step Setup & Verification

3 Steps
  1. 1Open WebCare Pro -> Login & Access -> Login Rules.
  2. 2Set your preferred failed-attempt threshold (recommended: 5 attempts / 15 minutes).
  3. 3Whitelist your office/home IP or enable WebAuthn Passkeys for admins.

How It Works & How It Protects Your Website

Race-Free Login Protection

All login, spray, and 2FA verification counters run on atomic flock(LOCK_EX) shards in AdaptiveRateLimiter.

Frequently Asked Questions

What if an attacker locks out my admin username remotely?

Public rate limits are scoped by username + IP rather than username alone, preventing remote admin lockout DoS.

Direct 1-on-1 Assistance

Connect directly with Mir Alamin (WebCare Pro)

Need help tuning Nginx, Cloudflare 4+1 rules, or emergency malware remediation? Reach out directly for 1-on-1 senior engineering support.

Contact Mir Alamin