
SG Security – WordPress plugin
With the carefully selected and easy to configure functions the plugin provides everything you need to secure your website and prevent a number of threats such as brute-force attacks, compromised login, data leaks, and more.
Login Settings
Here you can use the tools we’ve developed to protect your login page from unauthorized visitors, bots, and other malicious behavior.
Login Access
Login Access allows you to limit the access of the login page to a specific IP’s or a range of IP’s to prevent malicious login attempts or brute-force attacks.
Important!
If you lock yourself out of your admin panel, you can add the following option to your theme’s function.php, reload the site and then remove it once you have gained access. Keep in mind that this will also remove all IP’s that are allowed to access the login page and a re-configuration will be needed:
add_action( 'init', 'remove_login_access_data' );
function remove_login_access_data() {
update_option( 'sg_login_access', array() );
}
Two-factor Authentication
Two-factor Authentication for Admin User will force all admins to provide a token, generated from the Google Authentication application when logging in.
Disable the “admin” Username
Disabling the “admin” Username will make sure that existing users with that username will be prompted to change it. It will also prevent usage of that username, since hackers are relying on the existence of that username when they are performing brute force attacks.
Limit Login Attempts
With Limit Login Attempts you can specify the number of times users can try to log in with incorrect credentials. If they reach a specific limit, the IP they are attempting to log from will be blocked for an hour. If they continue with unsuccessful attempts, they will be restricted for 24 hours and 7 days after that.
Important!
If you lock yourself out of your admin panel, you can add the following option to your theme’s function.php, reload the site and then remove it once you have gained access. Keep in mind that this will also remove the unsuccessful attempts block for all IP’s:
add_action( 'init', 'remove_unsuccessfull_attempts_block' );
function remove_unsuccessfull_attempts_block() {
update_option( 'sg_security_unsuccessful_login', array() );
}
Site Security
With this toolset you can harden your WordPress аpplication and keep it safe from malware, exploits and other malicious actions.
Lock and Protect System Folders
Lock and Protect System Folders allows you to block any malicious or unauthorized scripts to be executed in your applications system folders.
Hide WordPress Version
When using Hide WordPress Version you can avoid being marked for mass attacks due to version specific vulnerabilities.
Disable Themes & Plugins Editor
Disable Themes & Plugins Editor in the WordPress admin to prevent potential coding errors or unauthorized access through the WordPress editor.
Disable XML-RPC
You can Disable XML-RPC protocol which was recently used in a number of exploits. Keep in mind that when disabled, it will prevent WordPress from communicating with third-party systems. We recommend using this, unless you specifically need it.
Disable RSS and ATOM Feeds
Disable RSS and ATOM Feeds to prevent content scraping and specific attacks against your site. It’s recommended to use this at all times, unless you have readers using your site via RSS readers.
Advanced XSS Protection
By enabling Advanced XSS Protection you can add an additional layer of protection against XSS attacks.
Delete the Default Readme.txt
When you Delete the Default Readme.txt which contains information about your website, you reduce the chances of it ending in a potentially vulnerable sites list, used by hackers.
Activity Log
Here you can monitor in detail the activity of registered, unknown and blocked visitors. If your site is being hacked, a user or a plugin was compromised, you can always use the quick tools to block their future actions.
Post-Hack Actions
Reinstall All Free Plugins
If your website was hacked, you can always try to reduce the harm by using Reinstall All Free Plugins. This will reinstall all of your free plugins, reducing the chance of another exploit or the re-use of malicious code.
Log Out All Users
You can Log Out All Users to prevent any further actions done by them or use.
Force Password Reset
Force Password Reset to force all users to change their password upon their next login. This will also log-out all current users instantly.
Requirements
- WordPress 4.7
- PHP 7.0
- Working .htaccess file