Found Image http://plugins.svn.wordpress.org/disable-user-registration/assets/icon-256x256.png Disable User Registration | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
74%
3.7 Stars (3 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Andrei Gheorghiu
Version: 1.0.1
Requires: WP 3.5
Last Updated:3382 days ago
Downloads:4518
Tags:
    disable registration, disable sign-up, disable user registration, security
Download Plugin Package

Disable User Registration

Released on January 7, 2017.
Download Plugin Package

Version: 1.0.1

Stops bots from registering accounts when Anyone can register is unchecked in Dashboard > Settings > General > Membership.

  • Description
  • FAQ
  • Changelog
  • Installation


Un-checking "Anyone can register" in Settings only hides the sign-up link from login page, it doesn't disable user registration and bots can continue to create users programatically.

This plugin stops them. Activate it, uncheck "Anyone can register" and the only way to add new users will be from Dashboard, being logged in with an account having the create_users capability, by going to Users > Add new.

Very Important Notice

If you managed to lock yourself out of the admin area and are trying to create a new user with administrator role by uploading and executing a php file on your server, this plugin will effectively block the attempt. You will need to rename or delete the folder of this plugin (in order to deactivate it) to be able to add users from scripts without being logged in into an account having the create_users capability.

Are you going to maintain this plugin?

Yes, I intend to keep this plugin compatible with the latest version of WordPress.

It doesn't work! A new user just registered on my website!

Make sure the "Anyone can register" checkbox is unchecked in Dashboard > Settings > General. If it was checked, do not forget to save changes (bottom of page) after you uncheck it!

Also, please note this plugin was tested against the known methods of adding users in WordPress from script files. As soon as I learn about new ways of creating users in WordPress from outside Dashboard I will find a way to block it and update the plugin.

Needless to say, if you chance upon such a method, I would be grateful to receive the script/file you believe was responsible for creating a user, even if it looks like nonsense at first glance.

Other plugins provide same functionality. Why is this one better?

At the time I coded this plugin, one other plugin (Disable Registration Page) existed, disabling registration page. Upon close inspection, it turned out it didn't disable user registration, it only redirects when $_GET parameter of action is set to registration. Basically, it doesn't stop bots from creating users programmatically, it only stops humans from accessing the registration page.

From my point of view, the only effective security measure to disable unauthorised user registration is by not allowing it for any script that is not logged in with an account having the create_users capability.

In addition, my plugin correctly allows user registration when "Anyone can register" is checked in Dashboard > Settings > General > Membership.

1.0.1

  • Launched.


  1. Install the plugin from WP repository or upload it to the /wp-content/plugins/ directory of your website.
  2. Activate from 'Plugins' menu in WordPress.
  3. You're done. No more bot created user accounts!
  4. Happy WordPress-ing!


 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string 9SuWyE to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.