Title: CubeMage Login Guard
Author: CubeMage
Published: <strong>13 December 2025</strong>
Last modified: 13 December 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/cubemage-login-guard.svg)

# CubeMage Login Guard

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

[Download](https://downloads.wordpress.org/plugin/cubemage-login-guard.1.0.0.zip)

 * [Details](https://en-gb.wordpress.org/plugins/cubemage-login-guard/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/cubemage-login-guard/#reviews)
 *  [Installation](https://en-gb.wordpress.org/plugins/cubemage-login-guard/#installation)
 * [Development](https://en-gb.wordpress.org/plugins/cubemage-login-guard/#developers)

 [Support](https://wordpress.org/support/plugin/cubemage-login-guard/)

## Description

**Login Guard by CubeMage** provides a security solution to protect your WordPress
login, registration, and comment forms against spam and brute-force attacks.

Instead of relying solely on password verification, this plugin integrates Cloudflare
Turnstile to validate visitors before WordPress processes the authentication request.
This approach helps reduce server load caused by automated bot attempts.

**Key Features:**

 * **Cloudflare Turnstile Integration:** Uses a privacy-focused, GDPR-compliant 
   alternative to CAPTCHA for bot verification.
 * **Pre-Authentication Check:** Validates the Turnstile token before the database
   query occurs, saving server resources.
 * **Limit Login Attempts:** Automatically blocks IP addresses after 5 consecutive
   failed login attempts within 15 minutes to prevent brute-force attacks.
 * **XML-RPC Protection:** Disables XML-RPC functionality to close a common attack
   vector often used for DDoS attacks.
 * **Form Support:** Adds protection to the Login form, Registration form, Lost 
   Password form, and Comment section.
 * **Performance:** Uses native WordPress Transients for tracking failed attempts,
   avoiding the creation of heavy custom database tables.

**Configuration:**

The plugin includes a setup interface to easily input your Cloudflare Site Key and
Secret Key.

## Installation

 1. Upload the `cubemage-login-guard` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to **Settings -> Login Guard**.
 4. Enter your Cloudflare Site Key and Secret Key (obtainable for free from the Cloudflare
    dashboard).
 5. Save settings to enable protection.

## FAQ

### Is Cloudflare Turnstile free?

Yes, Cloudflare currently offers Turnstile for free.

### Does this work with WooCommerce?

Yes, it protects the standard WordPress login forms, which are often used by WooCommerce.

### What happens if I get locked out?

If you accidentally block your own IP or misconfigure the keys, you can manually
rename the plugin folder via FTP (e.g., to `cubemage-login-guard-disabled`) to deactivate
it and regain access.

## Reviews

There are no reviews for this plugin.

## Contributors and Developers

“CubeMage Login Guard” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “CubeMage Login Guard” into your language.](https://translate.wordpress.org/projects/wp-plugins/cubemage-login-guard)

### Interested in development?

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

## Change Log

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **10 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.10**
 *  Language
 * [English (US)](https://wordpress.org/plugins/cubemage-login-guard/)
 * Tags
 * [anti-spam](https://en-gb.wordpress.org/plugins/tags/anti-spam/)[Cloudflare turnstile](https://en-gb.wordpress.org/plugins/tags/cloudflare-turnstile/)
   [limit login attempts](https://en-gb.wordpress.org/plugins/tags/limit-login-attempts/)
   [reCAPTCHA-alternative](https://en-gb.wordpress.org/plugins/tags/recaptcha-alternative/)
   [security](https://en-gb.wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/cubemage-login-guard/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/cubemage-login-guard/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cubemage-login-guard/)