Pinny’s REST Lock – Block REST User Enumeration
Prevents public access to REST API user endpoints while allowing authorized roles.
Escolha sólida
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.
- Testado com as últimas WordPress (7.1)
- Pequena base de usuários (mais de 50 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Pinny’s REST Lock stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| enumeration | #16 |
| no-bloat | #93 |
| rest | #74 |
| segurança | >100 |
| users | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Pinny’s REST Lock
From the official readme · v1.1.0Descrição
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.
Log de Changes
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
- Lançamento inicial
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Pinny’s REST Lock alternatives
All enumeration plugins →| Classificação | Plugin | Instalações ativas |
|---|---|---|
| 2 |
|
10+ |
FAQ
Pinny’s REST Lock: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
