Title: WP Author Security
Author: mgm security partners GmbH
Published: <strong>Dawout 13, 2020</strong>
Last modified: Avril 12, 2023

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-author-security.svg)

# WP Author Security

 By [mgm security partners GmbH](https://profiles.wordpress.org/mgmsp/)

[Download](https://downloads.wordpress.org/plugin/wp-author-security.1.5.0.zip)

 * [Details](https://hat.wordpress.org/plugins/wp-author-security/#description)
 * [Reviews](https://hat.wordpress.org/plugins/wp-author-security/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/wp-author-security/#installation)
 * [Development](https://hat.wordpress.org/plugins/wp-author-security/#developers)

 [Support](https://wordpress.org/support/plugin/wp-author-security/)

## Description

WP Author Security is a lightweight but powerful plugin to protect against user 
enumeration attacks on author pages and other places where valid user names can 
be obtained.

By default, WordPress will display some sensitive information on author pages.
 
The author page is typically called by requesting the URI `https://yourdomain.tld/?
author=<id>` or with permalinks `https://yourdomain.tld/author/<username>`. The 
page will include (depending on your theme) the full name (first and last name) 
as well as the username of the author which is used to log in to WordPress.

In some cases, it is not wanted to expose this information to the public. An attacker
is able to brute force valid IDs or valid usernames. This information might be used
for further attacks like social engineering attacks or log in brute force attacks
with gathered usernames.
 _However, when using the plugin and you disable author
pages completely it must be noted that you need to take care that your active theme
will not display the author name itself on posts like “Posted by admin” or something
like that. This is something the plugin will not handle (at the moment)._

By using the extension, you are able to disable the author pages either completely
or display them only when the author has at least one published post. When the page
is disabled the default 404 error page of the active theme is displayed.

In addition, the plugin will also protect other locations which are commonly used
by attackers to gather valid user names. These are:

 * The REST API for users which will list all users with published posts by default.
   
   https://yourdomain.tld/wp-json/wp/v2/users
 * The log in page where different error messages will indicate whether an entered
   user name or mail address exists or not. The plugin will display a neutral error
   message independently whether the user exists or not.
 * The password forgotten function will also allow an attacker to check for the 
   existence of a user. As for the log in page the plugin will display a neutral
   message even when the user does not exists.
 * Requesting the feed endpoint /feed of your blog will also allow others to see
   the username or display name of the author. The plugin will remove the name from
   the result list.
 * WordPress supports so-called oEmbeds. This is a technique to embed a reference
   to a post into another post. However, this reference will also contain the author
   name and a direct link to the profile page. The plugin will also remove the name
   and link here.
 * Since WordPress 5.5 a default sitemap can be reached via /wp-sitemap.xml. This
   sitemap will disclose the usernames of all authors. If this should not be disclosed
   you are able to disable this feature of WordPress.

## Screenshots

 * [[
 * Admin settings
 * [[
 * 404 page when requesting author page by user ID.
 * [[
 * Log in error message when the user name exists but a wrong password is entered.

## Installation

 1. Install the plugin via the Dashboard `Plugins -> Add new` or upload the plugin’s
    folder ‘wp-author-security’ from the zip into your WordPress plugin folder `wp-
    content/plugins/` (e.g. via ftp)
 2. Activate the plugin in the WordPress backend
 3. Customize the settings by navigating to `Settings -> WP Author Security`

## Reviews

![](https://secure.gravatar.com/avatar/2a3375dfa51746fb4ac9decdd101d93e8148b554ee06d3b0bace1efee42668b2?
s=60&d=retro&r=g)

### 󠀁[Works on my WP v6.4.3](https://wordpress.org/support/topic/works-on-my-wp-v6-4-3/)󠁿

 [andrebell82](https://profiles.wordpress.org/andrebell82/) Mas 6, 2024

So annoying to constantly change my username or modify themes to stop script kiddies
and hackers from finding my usernames simply from looking at a theme’s page source
or running a basic script. This removed my username from the view source page. My
site is functioning without errors despite this plugin not yet tested with my version
of WP. No clue if there are other areas my username might be displayed that this
plugin is missing. Hoping not. I first tried WP Ghost over and over but could not
get past its sandboxed logon test. So this is the next best way of hiding my non-
admin public facing author username (I never post with admin user). Anyhow thanks
for this plugin.

![](https://secure.gravatar.com/avatar/aa1bf9fb035ad70c01eeb9775cd78d4d5ae3d12870868eeebbb69821791e86bd?
s=60&d=retro&r=g)

### 󠀁[Just please don’t forget to update](https://wordpress.org/support/topic/just-please-dont-forget-to-update/)󠁿

 [shahinsafari](https://profiles.wordpress.org/shahinsafari/) Oktòb 3, 2023

Very very good , thank youI searched a lot until I found this plugin.Friends, other
plugins will lose SEO by changing the url, but this plugin is not like thatJust 
the publisher, don’t forget to update so that we don’t have a problem and don’t 
need another plugin

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/wp-author-security/reviews/)

## Contributors & Developers

“WP Author Security” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ mgm security partners GmbH ](https://profiles.wordpress.org/mgmsp/)

“WP Author Security” has been translated into 4 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-author-security/contributors)
for their contributions.

[Translate “WP Author Security” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-author-security)

### Interested in development?

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

## Changelog

#### 1.5.0

 * added basic statistics to the settings page
 * bugfix password forgotten protection

#### 1.4.1

 * Bugfix error on login check

#### 1.4.0

 * added protection for the wp-sitemap.xml author disclosure

#### 1.3.0

 * added protection for the /feed endpoint
 * added protection for the oEmbed endpoint

#### 1.2.1

 * updated documentation
 * bugfix wrong mail detection

#### 1.2.0

 * added protection for log in and password forgotten page
 * added language support for de/en

#### 1.1.0

 * added protection for REST API

#### 1.0.0

 * initial release

## Meta

 *  Version **1.5.0**
 *  Last updated **3 years ago**
 *  Active installations **500+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.2.9**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/wp-author-security/), [German](https://de.wordpress.org/plugins/wp-author-security/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/wp-author-security/), 
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp-author-security/), and 
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wp-author-security/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-author-security)
 * Tags
 * [author](https://hat.wordpress.org/plugins/tags/author/)[privacy](https://hat.wordpress.org/plugins/tags/privacy/)
   [security](https://hat.wordpress.org/plugins/tags/security/)[user enumeration](https://hat.wordpress.org/plugins/tags/user-enumeration/)
   [wpscan](https://hat.wordpress.org/plugins/tags/wpscan/)
 *  [Advanced View](https://hat.wordpress.org/plugins/wp-author-security/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-author-security/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-author-security/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-author-security/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-author-security/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-author-security/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wp-author-security/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-author-security/reviews/)

## Contributors

 *   [ mgm security partners GmbH ](https://profiles.wordpress.org/mgmsp/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-author-security/)