All-In-One Security (AIOS) – Security and Firewall
Protect your WordPress site with All-In-One Security (AIOS): login security, a firewall, and much more.
Install in
THE TOP RATED WORDPRESS SECURITY AND FIREWALL PLUGIN
All-in-One Security (AIOS) is a WordPress security plugin from the same, trusted team that brought you UpdraftPlus.
It’s called ‘All-In-One’ because it’s packed full of ways to keep your WordPress website(s) safe and secure.
It includes:
Login security features keep bots at bay. Lock out users based on a configurable number of login attempts, get two-factor authentication and more.
File and database security. Get notified of file changes that occur outside of normal operations. Block access to key files and scan files and folders to spot insecure permissions.
Firewall. Get PHP, .htaccess and 6G firewall rules courtesy of Perishable Press. Spot and block fake Google Bots and more!
Spam prevention. Prevent annoying spam comments and reduce unnecessary load on the server. Automatically and permanently block IP addresses that exceed a set number of spam comments.
Audit log. View events happening on your WordPress website. Find out if a plugin or theme has been added, removed, updated and more.
WHY ALL-IN-ONE SECURITY?
AIOS has a near-perfect 4.7 / 5-star user rating across more than 1 million installs.
Great for beginners and experts alike. AIOS guides you logically and clearly through each of its features which are all clearly explained. Security features are marked as basic, intermediate and advanced. Each step increases your security score. Turn them on and watch your protection grow!
We have a large support team of software developers. That means we have the availability and the skillset to help you with the trickiest of queries.
We comb the WordPress plugin directory for support tickets daily – most queries are responded to within 24 hours.
Excellent plugin with numerous well-thought-out options for making a website more secure. I have been using it for years and am very happy with it. I recently had a small problem setting up a website and – even as a non-premium user – I received support very quickly. Highly recommended!
For even more ways to stay safe and secure, upgrade to AIOS Premium – it packs a punch security-wise, whilst being extremely cost-competitive.
LOGIN SECURITY
Two-factor authentication (TFA) – Require TFA for specific user roles. Supports Google Authenticator, Microsoft Authenticator, Authy, and many more.
Detect and manage ‘admin’ usernames – Identify default ‘admin’ usernames and guide users to change them to protect against brute force attacks.
Identify and correct identical login and display names – Detect cases where the display name matches the username and provide guidance to improve login security.
Prevent user enumeration – Block unauthorised access to URLs that can reveal sensitive information such as usernames or other details.
Control login attempts – Prevent brute force attacks by limiting the number of failed login attempts. Choose how many login attempts are allowed, set lockout durations, and more.
Force user logout – Automatically log out users after a specified period of time. Unattended sessions are closed, reducing the risk of unauthorised access.
Manually approve new registrations – Review and approve new user registrations to prevent spam and fake sign-ups.
Enhance WordPress salt security – Adds 64 extra characters to WordPress salts, rotating them weekly. Makes cracking passwords virtually impossible, even if your database is stolen.
Plugin Support
- If you have a question or problem with the All-In-One Security plugin, post it on the support forum and we will help you. Premium customers can log queries directly with the team via https://teamupdraft.com/all-in-one-security/
Monitor and manage active sessions – If a user is logged in who shouldn’t be, log them out or add them to a blacklist.
SPAM PREVENTION
Block spam coming from bots – Reduce the load on your server and improve the user experience by automatically blocking spam comments from bots.
Monitor spam IP addresses – Monitor the IP addresses of people or bots leaving spam comments. Choose which ones to block based on a configurable number of comments left.
FILE / DATABASE Security
Scan and fix file permissions – Scan for insecure file permissions. Click once to fix issues and safeguard critical files and folders.
Disable PHP file editing – Disable editing of PHP files (such as plugins and themes) via the dashboard. It’s often the first tool that attackers use as it allows for code execution.
Protect sensitive files – Prevent access to files like readme.html that might reveal information about your WordPress installation.
File change scanner – Get notified of any file changes which occur on your system. Exclude files and folders which change as part of normal operations.
Prevent image hotlinking – Prevent other websites from displaying your images via hotlinking and protect server bandwidth.
Secure database backups – Perform a database backup via UpdraftPlus from AIOS. Change the default ‘wp_’ prefix to hide your WordPress database from hackers.
FIREWALL
Get .htaccess firewall rules – Deny access to the .htaccess and wp-config.php files. Disable the server signature and limit file uploads to a configurable size.**
Block access to the debug.log file and prevent Apache servers from listing the contents of a directory when an index.php file is not present
Get PHP firewall rules – PHP firewall rules prevent malicious users from exploiting well-known vulnerabilities in XML-RPC. Safeguard your content by disabling RSS and Atom feeds and avoid cross-site scripting (XSS) attacks.
Block fake Google bots and POST requests made by bots – Block fake Google bots and stop bots from making POST requests by blocking IP addresses where the user-agent and referrer fields are blank.
Utilise 6G firewall rules – Employ flexible blacklist rules to reduce the number of malicious URL requests that hit your website (courtesy of Perishable Press).
And more – Blacklist (and whitelist) IP ranges and user agents and block unauthorized access to data by disabling REST API access for non-logged-in requests.
TWO-FACTOR AUTHENTICATION ENHANCED [Premium]
Two-factor authentication is included in the free plugin. Upgrade to Premium if you’d like to:
Require TFA after a set time period – Mandate TFA for all admins or other roles after their accounts reach a specified age.
Control how often TFA is required – Set TFA to be required after a certain number of days on trusted devices instead of every login.
Customise design layout – Adjust the TFA design to match your website’s existing layout and branding.
Emergency codes – Generate one-time use emergency codes to regain access if you lose your TFA device.
WordPress Multisite Compatible – Ensure compatibility with WordPress multisite networks and their sub-sites for consistent TFA application.
Integration with login forms – Integrate TFA with various login forms, including WooCommerce, Affiliates-WP, Elementor Pro, bbPress, and ‘Theme My Login’ without additional coding.
SMART 404 BLOCKING [Premium]
Block IPs based on 404 errors – Detect hackers probing your URLs via script and bots by the 404 errors they leave behind.
Smart 404 Configuration – Set a figure for the maximum number of 404 events allowed before an IP address is blocked. Choose a time period within which the 404 events must occur (e.g., 10 errors within 10 minutes).
Smart 404 block by URL string – Instantly block an IP address if a 404 event includes a specific URL string.
Smart 404 whitelisting – Prevent particular IP addresses from being permanently blocked due to 404 events.
COUNTRY BLOCKING [Premium]
Block traffic to the entire site or to specific pages or posts – Useful if you’re an e-commerce site and you want to block sales to some countries for shipping or tax reasons.
Whitelist some users from blocked countries – Whitelist IP addresses or IP ranges even if they are part of a blocked country.
MALWARE SCANNING [Premium]
Automatic malware scanning – Detect and protect against the latest malware, trojans, and spyware.
Alerts you to blacklisting by search engines – Monitor your site for blacklisting by search engines due to malicious code.
Response time monitoring – Keep track of your website’s response time to identify and address any performance issues.
Uptime monitoring – Checks your website’s uptime every 5 minutes and alerts you immediately if your site or server goes down.
Advice and malware removal – Need hands-on advice and support for malware removal? Our team of genuine cybersecurity experts is here to help.
Notification if something’s amiss – Receive notifications about any issues with your site so you can address problems before they escalate.
Plugin Support
If you have a question or problem with the All-In-One Security plugin, post it on the support forum and we will help you. Premium customers can log queries directly with the team via https://teamupdraft.com/all-in-one-security
Developers
- If you are a developer and you need some extra hooks or filters for this plugin then let us know.
Translations
- All-In-One Security plugin can be translated to any language.
Currently available translations:
- English
- German
- Spanish
- French
- Hungarian
- Italian
- Swedish
- Russian
- Chinese
- Portuguese (Brazil)
- Persian
Privacy Policy
This plugin may collect IP addresses for security reasons such as mitigating brute force login threats and malicious activity.
The collected information is stored on your server. No information is transmitted to third parties or remote server locations.
Usage
Go to the settings menu after you activate the plugin and follow the instructions.
Usage
Go to the settings menu after you activate the plugin and follow the instructions.
Written by Joobi from the project's own listing. See the source page
5.5.1 – 30/Oct/2026
- FIX: Updated Cloudflare Turnstile key check regex to allow underscores and hyphens.
- TWEAK: Removed unused lib-central library.
- TWEAK: Add a Black Friday promo.
5.5.0 – 26/Oct/2026
- SECURITY: Prevented unauthorised clearing of login lockouts via an empty aiowps_auth_key parameter by requiring a valid nonce and unlock key. Thanks to Filip Kowalski for disclosing this defect.
- SECURITY: Do not allow WooCommerce to auto-login a user who has TFA active when they perform a password reset. i.e. On previous versions, if using WooCommerce’s “Lost password” facility, someone with access to the email account to which the password reset link was sent could login without providing a TFA code.
- SECURITY: On a site where users with lower privilege levels (e.g. subscriber) existed, a lower-privileged user could forge a request and thereby have his own TFA code accepted for someone else’s account. To complete login he would also need to know the password of the account he was logging into. Thanks to Karol Czubernat for the responsible disclosure, via WPScan.
- FEATURE: Added an Integration settings tab to connect a TeamUpdraft account, providing the authentication used by features that connect to the TeamUpdraft cloud.
- FEATURE: Added an optional redirect URL to the Rename Login Page feature, so non-logged-in visitors who try to access wp-admin can be sent to a chosen page instead of seeing a “you do not have permission” message.
- FEATURE: Added audit and debug logging to the firewall.
- FEATURE: Added a session mechanism to the firewall.
- FEATURE: Added a pagination dropdown to the audit logs table, allowing users to customize the number of logs displayed per page.
- FIX: Error log entry for Beginning attempt to port private key encryption over to openssl when unnecessary.
- FIX: Fixed warning “username” in notify_incorrect_tfa_code_attempts()
- FIX: If TFA is compulsory for user roles (Premium), it remains required even after downgrading to the free version.
- FIX: Resolve a PHP E_STRICT deprecation notice
- FIX: QR code overflow on some resolutions
- FIX: Two factor user settings block not appearing on new post creation.
- FIX: Typo in Emergency Code Usage Email Notification Text.
- FIX: Added confirmation when importing settings from another website for captcha keys and admin email.
- FIX: Bulk actions row not visible on AJAX-driven list tables (e.g. Logged in users) until the page is manually reloaded.
- FIX: Deleted users no longer remain visible in the Manual Approval table on WordPress Multisite.
- FIX: Firewall IP allowlist setting is now included in settings import and export.
- FIX: Google and Bingbot update failures could overwrite existing bot ranges.
- FIX: Google reCAPTCHA secret key validation.
- FIX: Invalid Google reCAPTCHA configuration notice still displaying after disabling CAPTCHA.
- FIX: Improved InnoDB table migration task to handle upgrade scenarios where automatic table conversion may have been skipped.
- FIX: Large database tables (over 10 MB) are no longer converted automatically during the InnoDB migration. Manual conversion instructions are displayed instead to help prevent timeouts and database lockups.
- FIX: List table filters remain visible when no records exist.
- FIX: Non-WWW wp-login.php canonical redirect exposing the renamed login page.
- FIX: Potential PHP deprecation notice on PHP 8.1 or later.
- FIX: Prevented file scans from failing on sites with many installed plugins, and added a live “Downloading Checksums” step so scan progress is clearer.
- FIX: Search bar remains visible after an AJAX table refresh when no records remain.
- FIX: Password reset email body could be truncated when REMOTE_ADDR was not a valid IP address.
- FIX: Max file upload size setting in the .htaccess rules not reflected on the Add Media page in the admin area.
- FIX: UpdraftCentral integration audit log event details were blank.
- FIX: User deletion caused a HTTP 500 error on older WordPress versions leading to missing user details in audit logs.
- FIX: Various translation and translation-help comments.
- FIX: Fixed an issue where HTML links were displayed as plain text in lists and confirmation popups.
- FIX: Prevent AIOS TFA code from loading when an incompatible TFA Premium plugin is active.
- FIX: The file change scan results now show each file’s MD5 and SHA-256 checksums correctly without generating a PHP warning.
- FIX: IP blacklisting within an IP range not being logged properly.
- FIX: Renamed login page URL exposed in remove personal data email confirmation.
- FIX: Too few arguments to function AIOWPSecurity_Audit_Events::user_removed_from_blog on WordPress 5.3 or lower.
- FIX: Prevent the data-colname attribute from being displayed as content in the List on mobile devices.
- TWEAK: Prevent AIOS activation when on an incompatible WordPress version.
- TWEAK: Updated the minimum required of PHP version to 7.4.
- TWEAK: Updated the minimum required of WordPress version to 5.3.
- TWEAK: Enhanced the locked IP table to work with AJAX.
- TWEAK: Added AJAX support to debug logs table.
- TWEAK: Added AJAX support to the logged-in users table.
- TWEAK: Added AJAX support to the smart 404 blocked IPs list table.
- TWEAK: Added AJAX support to the spammer IP table.
- TWEAK: Added Cloudflare Turnstile site and secret key verification.
- TWEAK: Added an ‘aios_file_scan_completed’ action hook with file change scan results for other integrations
- TWEAK: Added a constant to disable the setup wizard. Add define(‘AIOS_DISABLE_SETUP_WIZARD’, true); to wp-config.php to disable it.
- TWEAK: Added audit log data retention settings.
- TWEAK: Added block reason filtering and filtered bulk unblock actions to the Permanent Block List table.
- TWEAK: Added handling for deleting 404 event logs when no logs are available.
- TWEAK: Added no-cache headers to lockout and redirect responses to prevent caching by cache plugins and CDNs.
- TWEAK: Allow subsite admins to permanently block IPs from their subsite in the spammer IPs list.
- TWEAK: Audit the firewall and replace appropriate
error_logcalls with the debug log. - TWEAK: Changed default audit log retention period to 30 days.
- TWEAK: Changed script enqueue hook from admin_print_scripts/admin_print_styles to the more standard admin_enqueue_scripts.
- TWEAK: Changed the UI for User Security > user accounts tab to match the UI for the PHP firewall rules tab.
- TWEAK: Disabled the ability to collapse UI sections.
- TWEAK: Drop a redundant user_id index from the logged in users table.
- TWEAK: Enhance the security for .htaccess and wp-config.php restore by matching file content hash.
- TWEAK: Improved scanner start up time.
- TWEAK: Improved PHPCS naming convention compliance by standardizing custom hook prefixes to aios_* and adding PHPCS ignore comments where appropriate for WordPress core hooks.
- TWEAK: Improved badge positioning to be more consistent across admin pages.
- TWEAK: Moved “More info” help text to tooltips.
- TWEAK: Moved the Have I Been Pwned “HIBP” tab & related settings to User Security Password Settings.
- TWEAK: Refactored comment commands class to use response helper method.
- TWEAK: Refactored the 404 log export to work with AJAX.
- TWEAK: Refactored user command class to use new AJAX response helper method.
- TWEAK: Replace htmlspecialchars() with WordPress escaping functions where appropriate.
- TWEAK: Updated AIOS documentation links to the TeamUpdraft Docusaurus documentation routes.
- TWEAK: Updated audit log SQL queries to use prepared statements, resolving unescaped database parameter warnings.
- TWEAK: Updated the review request notice design.
- TWEAK: Updated some help texts for better readability.
- TWEAK: Updated numeric settings to use HTML number inputs.
- TWEAK: Removed unnecessary stripslashes() usage to improve code consistency.
- TWEAK: Removed unused ‘aios_loaded’ action.
- TWEAK: Removed the legacy security log files and logs directory as they’re no longer used.
- TWEAK: Removed the message store as it’s no longer needed.
- TWEAK: Removed unused “Internet bots” and “6G firewall rules” tabs.
5.4.10 – 16/Sep/2026
- SECURITY: Login lockout unlock requests allowed users to unlock another account’s lockout because they were validated based only on the IP address, without checking the user account. Thanks to Ananda Dhakal for disclosing this defect. (This would allow an attacker sharing the same IP address as a user with an active lockout to clear that user’s lockout.)
5.4.9 – 5/Jun/2026
- TWEAK: Added a filter that validates POST requests containing UDRPC messages
- TWEAK: Update the internal common libs package to latest version
5.4.8 – 2/Jun/2026
- SECURITY: Escaped debug log messages before rendering them in the admin area to prevent a stored XSS vulnerability. Thanks to Dmitrii Ignatyev for disclosing this defect. (This issue required both the debug logging feature and the “Disallow unauthorized REST API requests” setting to be enabled. Under those conditions, an attacker could inject malicious scripts into the debug logs via specially crafted requests, which could execute when viewed by an administrator on the AIOS debug logs page).
- FEATURE: Add notification method to reporting class to handle mails
- FEATURE: Added bulk actions to audit log table for blacklisting IPs
- FIX: Fixed minor bug when setting up TFA with the Onboarding wizard where correct codes are rejected if they are entered more than once.
- FIX: Log out button/link not working immediately after enabling the rename login feature
- FIX: On the dashboard page, the login summary for a subsite in a multisite environment incorrectly shows details from the main site.
- FIX: PHP Warning: Undefined global variable $hook_suffix in class-wp-screen.php when doing ajax table actions.
- FIX: Properly decode the URI for the ‘advanced character filter’ in order to handle UTF-8 encoded URIs.
- FIX: Resolve spammer IP address bulk block action not working issue.
- TWEAK: Introduced .htaccess versioning to update only when needed during AIOS upgrades.
- TWEAK: Prevent empty CSV download when no audit logs are available for export.
- TWEAK: Removed jQuery dependency on front end when “Enforce strong password” is enabled
- TWEAK: The audit log list now includes the executed 2FA WP-CLI command.
- TWEAK: Update the 404 log table to work with AJAX
- TWEAK: Update permanent block IP table to work with AJAX
- TWEAK: Usernames containing URLs in site lockout notification emails are prevented from being auto-linked by mail clients.
5.4.7 – 27/Apr/2026
- FEATURE: Added a dashboard widget for the top 5 failed login attempts by IP & username and a chart for the number of failed logins over the last 7 days.
- FIX: WordPress 7.0 admin UI compatibility issues resolved.
- FIX: Blacklist IP and User Agent firewalls could still be active when turned off.
- FIX: Table sorting indicators not being shown on WordPress version 6.3 and above.
- FIX: “Set up IP address detection settings” button not working in setup notice.
- FIX: Bulk actions and filter missing from tables on mobile resolutions.
- FIX: Resolved an issue where HTML tags were appearing in the “Rename Login Page” description.
- FIX: 404 events no longer logged for genuine search bots (e.g. Google/Bing/Yahoo).
- FIX: Used esc_url_raw() instead of sanitize_url() to resolve the deprecation notice in WordPress 5.0.
- FIX: Fixed “ReflectionMethod::setAccessible is deprecated as of PHP 8.5” notice.
- FIX: PHP Notice on WP < 5.5.0 when installing from zip. Undefined property: Plugin_Upgrader::$new_plugin_data
- FIX: Resolved PHP warning – WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated.
- TWEAK: Improved password strength tool readability by using zxcvbn library included in WordPress.
- TWEAK: Various text improvements/updates for better clarity and explanation of features.
- TWEAK: Updated the Googlebot IP range API URL.
- TWEAK: Updated the UI for the security points breakdown widget
- TWEAK: Hash HTTP Authentication password.
- TWEAK: Add a notice for PHP 7.3 and below end of support.
5.4.6 – 27/Jan/2026
- FIX: PHP Fatal error: Uncaught Error: Call to a member function get_user_otp_algorithm() on null.
- FIX: Prevent redirection to settings when AIOS is installed through the onboarding wizard of another plugin.
5.4.5 – 05/Jan/2026
- FEATURE: Added onboarding wizard on activation of the plugin.
- FEATURE: Added reports function for UDC.
- FEATURE: Added additional commands for interoperability with UDC
- FIX: Logged in users table not correctly tracking multiple sessions.
- FIX: Removed scrolling from the PHP Rules tab so that Internet Bot settings, WP REST API, and other options are visible.
- FIX: Exempt UDC commands from brute force prevention.
- FIX: Login lockout save command for UDC.
- FIX: Update needed in spam protection command for UDC.
- FIX: Resolved incorrectly displayed some privileges in the debugging report for database information.
- TWEAK: Updated the rename login page URL parser to prevent a deprecated error caused by passing null to the rtrim() function.
- TWEAK: Update scanner command to output last scan time at end of scan for UDC.
5.4.4 – 5/Nov/2025
- FEATURE: Added new and improved existing modules for UpdraftCentral.
- FIX: The theme’s custom 404 page does not parse and instead displays the shortcodes for wp-login.php, due to the login page having been renamed.
- FIX: 404 detection was not working when using a custom 404 template page.
- FIX: PHP Strict Standards warning for AIOWPSecurity_Base_Tasks::run_for_a_site()
- FIX: Changed slider control class name from
slidertoaiowps_sliderand updated CSS to prevent conflict with other plugins. - FIX: Resolved deprecated error in fputcsv() by providing the required $escape parameter when exporting CSV files.
5.4.3 – 8/Sep/2025
- FEATURE: Added a feature to enforce the use of strong passwords by users
- FIX: Bypass Cookie based brute force prevention using AJAX request.
- FIX: PHP notice – the translation load text domain was called incorrectly.
- FIX: Resolved call to undefined function disk_total_space in wp-security-debug.php when the hosting provider has disabled this PHP function.
- FIX: Fatal error when accessing an array query parameter when the login page has been renamed.
- FIX: Chrome console error where the maths captcha referencing a missing input ‘id’, causing autofill and accessibility issues.
- FIX: The AIOS translation .pot file does not include TFA labels.
- FIX: When a user profile is updated, HIBP’s ‘Enforce on profile update’ setting incorrectly triggers an error if the password has not been changed.
- TWEAK: Added ‘aios_blocked_request_redirect_url’ filter to allow permanently blocked IPs to be redirected to a custom URL rather than 127.0.0.1.
- TWEAK: Create new AIOS tables and update current AIOS tables to use the InnoDB engine.
- TWEAK: Moved the ‘6G firewall rules’ feature to the PHP rules tab
- TWEAK: Moved the ‘Internet bots’ tab into the PHP rules tab
- TWEAK: Resolved issue where IP detection status was always off for Debugging tab.
- TWEAK: The Manually approve registered users list should display the error message “You cannot block your own IP address”.
5.4.2 – 15/Jul/2025
- FEATURE: Ability to enforce checking passwords against the HIBP API when updating user profiles and resetting passwords.
- FEATURE: Add ability to upgrade all unsafe http calls on the site.
- FIX: Disabled application password link doesn’t go back to the correct place.
- FIX: Fatal in the firewall’s message store.
- FIX: Malformed URLs in User accounts tab.
- FIX: Users are logged out on Contact Form 7 submit if salt postfix enabled
- FIX: The ‘Set Password’ page does not load for the user when cookie-based brute-force protection is enabled.
- FIX: Disallow unauthorized REST request is enabled, but the /wp-json/ shows the rest routes and rest api details
- TWEAK: Add AJAX message store helper
- TWEAK: Disable user enumeration error; aios_user_lists_forbidden should return a 403 response code instead of a 500.
- TWEAK: Rename the WP Admin menu item from ‘WP Security’ to ‘AIOS’ and update the icon to current version.
- TWEAK: Show AJAX table action response in popup modal
- TWEAK: Make the plugin more PCP compliant
- TWEAK: Add a notice for PHP 5.6 end of support.
- TWEAK: Change url from twitter.com to x.com
- TWEAK: Made changes to the advert links in the thank you dashboard notice.
5.4.1 – 21/May/2025
- FIX: Call to undefined function AIOWPS\Firewall\sanitize_text_field() fatal error solved.
- FIX: Resolved an issue where some information in the debugging report email was inconsistent with the information shown at Dashboard > Debugging
- FIX: Fixed a “call to undefined function wp_strip_tags” error in wp-security-user-login.php
- FIX: Resolved an issue where raw HTML was displaying in the info box under User Security > User Accounts > User Display Name
- FIX: Renamed the login page when it was exposed via auth_redirect by other plugins (e.g., Gravity Forms preview)
- FIX: Fixed an issue where the password reset functionality did not work with the renamed login page feature
- FIX: Resolved missing translations on the login page after enabling the “Rename login page” feature
- FIX: Updated the custom login page layout to match the new default WordPress login page design
- FIX: Fixed the redirection issue occurring after plugin reactivation when the cookie brute force options are saved in the database
- FIX: Fixed the undefined variable $error in wp-security-user-security-commands.php
- FIX: Fixed the login lockout request issue
- FIX: Bulk “Delete selected” action in the Audit Log list was not working
- FIX: Corrected AIOWSPEC prefixes to AIOWPSEC
- FIX: The 5G Fi
Follow this listing's changes (Atom feed)