Hoppa till innehåll
WordPress.org

Svenska

  • Teman
  • Tillägg
  • Nytt
  • Support
  • Om…
  • Mönster
  • Engagera dig!
  • Skaffa WordPress
Skaffa WordPress
WordPress.org

Plugin Directory

EnumGuard

  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in
  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in

EnumGuard

Av Alex Hedström
Ladda ner
  • Detaljer
  • Recensioner
  • Installation
  • Utveckling
Support

Beskrivning

EnumGuard is a focused WordPress plugin that stops attackers from confirming that a username or user ID exists. WordPress still prints those signals by default; EnumGuard closes the usual paths without hiding display names on posts.

Under Settings → EnumGuard you get three tabs:

  • Protections — overview of which discovery paths are closed
  • Settings — toggles and custom login / reset messages
  • About — plugin info

Protections covered:

  • Author ID queries (?author=1) that would otherwise redirect to the author archive
  • Author archives and their feeds
  • Author archive links printed in HTML
  • author-{id} / author-{nicename} body, post, and comment CSS classes
  • Core users sitemap (/wp-sitemap-users-1.xml)
  • Unauthenticated /wp-json/wp/v2/users (including ?rest_route=)
  • REST _embed author payloads and author link headers
  • Login error messages that distinguish “bad username” from “bad password”
  • Lost-password responses (same confirmation whether the account exists)
  • oEmbed author_url / author_name
  • XML-RPC user-listing methods, with an optional full XML-RPC disable
  • Author sitemaps and author archive URLs from Yoast, Rank Math, and The SEO Framework

Recommended protections ship enabled. Gutenberg still reaches the users REST API for logged-in editors. Display names stay visible. Login and reset protections also cover WooCommerce forms when WooCommerce is active. XML-RPC can be turned off completely if you do not need Jetpack, pingbacks, or the WordPress mobile app.

Installation

  1. Upload the enumguard folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Open Settings → EnumGuard to review protections.

Vanliga frågor

Will authors still show on posts?

Yes. Display names stay in content. EnumGuard stops login slugs, author archive URLs, and existence oracles—not bylines.

Does this break the block editor?

No. Logged-in users who can edit posts or list users still reach /wp/v2/users. Guests get a generic 404.

What about WooCommerce?

Login and lost-password protections apply to the WooCommerce account forms as well as wp-login.php. Bylines and display names are unchanged.

What about the WordPress mobile app?

The app uses wp.getUsersBlogs. That method is removed while “XML-RPC user methods” is on. Turn that protection off if you need the app. Do not enable “Disable XML-RPC.”

Can I keep author archives for a magazine site?

Yes. Disable “Author archives” and “Author archive links” on the Settings tab. Keep author ID queries blocked so ?author=1 cannot reveal the nicename.

Does uninstall remove settings?

Yes. Uninstall deletes EnumGuard options on the current site, and on every site in a multisite network.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”EnumGuard” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer
  • Alex Hedström

Översätt ”EnumGuard” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.0

  • Initial release.

Meta

  • Version 1.0.0
  • Senast uppdaterat 1 månad sedan
  • Aktiva installationer 20+
  • WordPress-version 6.3 eller senare
  • Testat upp till 7.1.3
  • PHP-version 7.4 eller senare
  • Språk
    English (US)
  • Etiketter
    loginrest-apisecurityuser enumerationxml-rpc
  • Avancerad vy

Betyg

Än så länge har inga recensioner skickats in.

Your review

Visa alla recensioner

Bidragande personer

  • Alex Hedström

Support

Har du något att säga? Behöver du hjälp?

Visa supportforum

  • Om
  • Nyheter
  • Webbhotell (hosting)
  • Integritet
  • Showcase
  • Teman
  • Tillägg
  • Mönster
  • Lär dig
  • Support
  • Utvecklare
  • WordPress.tv ↗
  • Engagera dig
  • Evenemang
  • Donera ↗
  • Presentartiklar ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Svenska

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Besök vår X-konto (f.d. Twitter)
  • Besök vårt Bluesky-konto
  • Besök vårt Mastodon-konto
  • Besök vårt Thread-konto
  • Besök vår Facebook-sida
  • Besök vårt Instagram-konto
  • Besök vårt LinkedIn-konto
  • Besök vårt TikTok-konto
  • Besök vår YouTube-kanal
  • Besök vårt Tumblr-konto
Kod är poesi.