Pinny’s REST Lock – Block REST User Enumeration
Prevents public access to REST API user endpoints while allowing authorized roles.
Solide Wahl
Pinny’s REST Lock is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites and was last updated 2 months ago, and scores 68/100 on our health check.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (50+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Pinny’s REST Lock stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| enumeration | #16 |
| no-bloat | #93 |
| rest | #74 |
| Sicherheit | >100 |
| users | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Pinny’s REST Lock
Aus der offiziellen Readme · V1.1.0Beschreibung
Blocks public REST API user enumeration while preserving full WordPress functionality.
Pinny’s REST Lock is an ultra-lightweight security plugin that locks down WordPress REST API user endpoints without breaking your site.
It is designed to fix one of the most common and overlooked WordPress security issues — public user enumeration via the REST API — using the correct, core-aligned approach.
🚨 Why This Plugin Is Necessary
By default, WordPress publicly exposes REST API endpoints such as:
/wp-json/wp/v2/users
On public sites, these endpoints can be accessed without authentication and are routinely used as the first step in real-world attacks.
This is where attackers start.
Public access to REST user endpoints allows attackers to:
- Enumerate valid usernames
- Identify administrator and privileged accounts
- Eliminate guesswork before brute-force attacks
- Chain enumeration with login abuse and password reset attacks
This is not theoretical. User enumeration is a baseline reconnaissance technique used by bots and human attackers alike.
Blocking public access to REST user endpoints should be considered required security hygiene for every WordPress site.
⚠️ Common REST Protection Pitfalls
Securing REST user endpoints requires precision. Broad or poorly timed restrictions often introduce serious side effects.
Common issues include:
- Blocking all users, including administrators, which breaks authenticated workflows
- Disabling the REST API entirely, causing the block editor, WooCommerce, and modern plugins to fail
- Applying restrictions before authentication, preventing WordPress from distinguishing public and authorized requests
- Allowing low-privilege roles, such as subscribers, to retain access — leaving user enumeration possible
Effective protection must be narrowly scoped, permission-aware, and aligned with WordPress core behavior.
✅ How Pinny’s REST Lock Works
Pinny’s REST Lock takes a surgical, WordPress-native approach:
- Targets only REST API user endpoints
- Runs after WordPress authentication
- Allows access only to users with appropriate permissions
- Returns a proper
403 Forbiddenresponse to unauthorized requests
What this means:
- Administrators continue to work normally
- The REST API remains fully functional
- Gutenberg, WooCommerce, and REST-based plugins are unaffected
- Only public user enumeration is blocked
This follows WordPress core’s intended permission model.
🚀 Ultra-Lightweight by Design
Pinny’s REST Lock is intentionally minimal:
- ~1.3 KB uncompressed
- Single-file plugin
- No settings page
- No database tables
- No logs
- No tracking
- No ads
- No performance impact
It activates, applies the protection, and gets out of the way.
🛡️ A Required Fix for Modern WordPress Sites
If your site is public, your REST user endpoints should not be.
Pinny’s REST Lock closes one of the most common entry points attackers look for — without breaking WordPress, without blocking admins, and without adding bloat.
Install it. Activate it. And remove an entire class of attacks from your site.
Änderungsprotokoll
1.1.0
- Security: user endpoint check is now case-insensitive, closing a bypass via mixed-case routes (e.g. /wp/v2/Users).
- Fix: Editors, Authors and Contributors can use the post editor author selector again. Logged-out visitors and Subscribers remain blocked.
1.0.0
- Erste Freigabe
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Pinny’s REST Lock alternatives
All enumeration plugins →| Rang | Plugin | Aktive Installationen |
|---|---|---|
| 2 |
|
10+ |
Fragen und Antworten
Pinny’s REST Lock: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Pinny’s REST Lock free?
Yes. Pinny’s REST Lock is free to download and use from the official WordPress.org plugin directory.
Is Pinny’s REST Lock safe to use in 2026?
Pinny’s REST Lock is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites and was last updated 2 months ago, and scores 68/100 on our health check.
How many websites use Pinny’s REST Lock?
Pinny’s REST Lock is active on 50+ WordPress websites and has been downloaded 1,065 times since it launched in January 2026. It was downloaded 223 times in the last 30 days.
Does Pinny’s REST Lock work with WordPress 7.1?
Yes. The developer has tested Pinny’s REST Lock up to WordPress 7.1.5, the latest release. It requires WordPress 5.0 or newer.
What PHP version does Pinny’s REST Lock need?
Pinny’s REST Lock requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Pinny’s REST Lock last updated?
The latest version, 1.1.0, was released on October 8, 2026 (2 months ago).
Who makes Pinny’s REST Lock?
Pinny’s REST Lock is developed and maintained by Pinny Fried.
What are the best alternatives to Pinny’s REST Lock?
The most popular alternatives to Pinny’s REST Lock are AB WP Security (10+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
