Title: DawsonyWeb Spam Protection and API Hardening
Author: DawsonyWeb
Published: <strong>2026-05-26</strong>
Last modified: 2026-10-26

---

Szukaj wtyczek

![](https://ps.w.org/dawsonyweb-security-shield/assets/banner-772x250.png?rev=3694262)

![](https://ps.w.org/dawsonyweb-security-shield/assets/icon.svg?rev=3694262)

# DawsonyWeb Spam Protection and API Hardening

 Autor: [DawsonyWeb](https://profiles.wordpress.org/dawsonyweb/)

[Pobierz](https://downloads.wordpress.org/plugin/dawsonyweb-security-shield.1.3.4.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/dawsonyweb-security-shield/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/dawsonyweb-security-shield/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/dawsonyweb-security-shield/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/dawsonyweb-security-shield/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/dawsonyweb-security-shield/)

## Opis

Stop comment spam and close off parts of WordPress that bots abuse, without installing
a heavy security suite. Block spam comments with a honeypot and simple rules, disable
XML-RPC, hide user details from the REST API and block problem IP addresses. It 
is not a malware scanner or firewall, and it doesn’t pretend to be.

**Comment Protection**

 * Master switch to completely disable all comments (form, REST API, XML-RPC, feeds)
 * Invisible honeypot field to trap bots
 * Minimum comment length enforcement
 * Block all links or cap links per comment
 * Require login to comment
 * Keyword/phrase blocklist

**API & REST Hardening**

 * Disable XML-RPC entirely (removes X-Pingback header too)
 * Hide `/wp/v2/users` endpoints from guests while keeping them available to signed-
   in users
 * Require authentication for all REST API requests
 * Optionally disable the REST API completely
 * Block author enumeration via `/?author=N`

**Spam Rules**

 * Per-IP comment rate limiting (configurable max and time window)
 * IP address blocklist – blocked IPs receive a 403 on any front-end request
 * Rolling activity log (last 200 events)

### Privacy

When activity logging is enabled, the plugin stores up to 200 blocked-event entries
locally, including IP address, time and reason. Administrators can clear the log
or turn logging off. Comment rate limits use temporary counters. No log data is 
sent to DawsonyWeb or a third-party service. Uninstalling removes the plugin settings,
logs and rate-limit transients.

## Zrzuty ekranu

[⌊Review integration guidance and run guest and signed-in REST checks.⌉⌊Review integration
guidance and run guest and signed-in REST checks.⌉[

Review integration guidance and run guest and signed-in REST checks.

[⌊See why requests were blocked and open the relevant settings.⌉⌊See why requests
were blocked and open the relevant settings.⌉[

See why requests were blocked and open the relevant settings.

## Instalacja

 1. Upload the `dawsonyweb-security-shield` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins menu in WordPress.
 3. Go to Security Shield in the admin menu to configure.

## Najczęściej zadawane pytania

### Can API restrictions affect other plugins?

Yes. Requiring login for all REST requests can affect public forms, WooCommerce 
blocks and external integrations. Disabling REST completely also breaks the block
editor. Start with the defaults and test the affected workflow after changing a 
restriction.

### Do settings on other tabs stay unchanged when I save?

Yes. Each form changes only the settings included on that tab.

### Does this use a cloud security service?

No. Rules run on your WordPress site. There is no external scanning or telemetry.

### Which IP address does the plugin use?

The direct connection address supplied by the server (REMOTE_ADDR). It does not 
trust visitor-supplied forwarding headers. If you use a reverse proxy, configure
real client IP handling with your host before relying on IP controls.

### Does it work with WooCommerce?

Yes, but protection settings can affect store features. Disabling all comments also
affects product reviews. Requiring login for REST requests can block guest WooCommerce
blocks and integrations, and disabling REST completely can stop those requests. 
Use Integration Checks and test checkout, reviews and integrations on staging after
changing restrictions.

### Will it break my contact form plugin?

Comment rules apply to WordPress comment submissions, not every contact form. However,
a form that submits through the REST API can fail if REST is disabled or guests 
must log in. Test your form as a signed-out visitor. The plugin does not supply 
contact-form-specific spam filtering.

### I use Cloudflare or a proxy. Will IP blocking work?

IP controls use the server’s REMOTE_ADDR value, not forwarded IP headers. Ask your
host to restore the real visitor IP safely from trusted proxies. Otherwise the plugin
may see the proxy IP and a block could affect many visitors. Do not block a shared
proxy address.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„DawsonyWeb Spam Protection and API Hardening” jest oprogramowaniem open source.
Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “DawsonyWeb Spam Protection and API Hardening” na swój język.](https://translate.wordpress.org/projects/wp-plugins/dawsonyweb-security-shield)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/dawsonyweb-security-shield/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/dawsonyweb-security-shield/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/dawsonyweb-security-shield/)
przez [RSS](https://plugins.trac.wordpress.org/log/dawsonyweb-security-shield/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.3.4

 * Improved plugin directory listing and documentation. Updated relevant directory
   tags. No functionality changes.

#### 1.3.3

 * Updated the plugin display name with distinctive DawsonyWeb branding. No functionality
   changes.

#### 1.3.2

 * Improved plugin directory listing and documentation.

#### 1.3.1

 * Updated the public plugin name and listing text. No feature, settings or data
   changes.

#### 1.3.0

 * Read-only Integration Checks explain compatibility considerations for the block
   editor, public forms, XML-RPC applications and WooCommerce reviews.
 * Run guest and signed-in REST probes without changing protection settings. Activity
   logs now include clearer explanations and links to the relevant settings, plus
   reasons for REST restrictions.

#### 1.2.0

 * Redesigned dashboard and settings to match Product & Shipping Label Designer 
   for WooCommerce with horizontal navigation and accessible focus indicators.
 * Includes REST comment validation and rate limits, authentication-aware REST restrictions
   and equivalent IPv6 address matching from 1.1.1.

#### 1.1.1

 * Apply comment content rules and rate limiting to REST submissions.
 * Run guest REST restrictions after WordPress cookie authentication.
 * Match equivalent IPv6 blocklist addresses.

#### 1.1.0

 * Preserves settings on other tabs when saving. Keeps user endpoints available 
   to signed-in editors. Added validated IP entries, bounded limits and a fixed 
   rate-limit window. Refreshed the DawsonyWeb workspace.

#### 1.0.1

 * Compatibility: tested up to WordPress 7.0.

#### 1.0.0

 * Initial release.

## Meta

 *  Wersja **1.3.4**
 *  Ostatnia aktualizacja **2 tygodnie temu**
 *  Włączone instalacje **Mniej niż 10**
 *  Wersja WordPressa ** 6.0 lub nowszej **
 *  Testowano do **7.1.4**
 *  Wersja PHP ** 8.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/dawsonyweb-security-shield/)
 * Tagi
 * [antispam](https://pl.wordpress.org/plugins/tags/antispam/)[disable xml-rpc](https://pl.wordpress.org/plugins/tags/disable-xml-rpc/)
   [rest-api](https://pl.wordpress.org/plugins/tags/rest-api/)[security](https://pl.wordpress.org/plugins/tags/security/)
   [spam](https://pl.wordpress.org/plugins/tags/spam/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/dawsonyweb-security-shield/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/dawsonyweb-security-shield/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/dawsonyweb-security-shield/reviews/)

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/dawsonyweb-security-shield/)