All-In-One Security (AIOS) is a good fit when you want login lockouts, two-factor authentication and WordPress hardening in one free plugin. Start with a backup and a recovery route, then enable one control at a time. Choose Premium if you need malware scanning or compulsory two-factor authentication; the free file-change scanner serves a different purpose.
I'd use AIOS for a deliberate security setup, where someone can review alerts and check that legitimate users still get through. Don't turn on every option to increase the dashboard score. The useful result is a site that keeps working while restricting the access you intended to restrict.
Choose free or Premium by the job
The official AIOS listing includes a firewall, login protection, basic two-factor authentication, file-change detection and an audit log in the free plugin. These controls cover different risks, so check the feature you need rather than treating “security” as a single switch.
| Your task | Free AIOS | Premium distinction |
|---|---|---|
| Limit repeated failed logins | Login lockout controls | Country blocking and Smart 404 add other ways to restrict traffic |
| Add an authenticator code to your login | Basic two-factor authentication | Compulsory use, trusted devices and emergency codes |
| Notice changed files | File-change scanner | Malware scanning is a separate Premium feature |
| Filter malicious requests | PHP and server-dependent firewall controls | Check the host and the rule's requirements before enabling it |
| Get help | WordPress.org support forum | Ticket support |
Free two-factor authentication lets a user activate an extra login factor. Requiring users to enroll is a paid feature: the 5.5.1 authentication settings explicitly reserve compulsory authentication and emergency codes for Premium. Making authentication available to a role doesn't prove every person in that role has enabled it.
Premium extends the free plugin, so both must remain installed and active. Check the current AIOS plan details for the site allowance, renewal terms and features you need before purchasing. A subscription doesn't replace a separate backup or a plan for recovering access.
If malware scanning is your main reason for choosing a free security plugin, I'd compare Wordfence before settling on AIOS. The free Wordfence feature set includes a malware scanner, with a 30-day delay for new malware signatures and firewall rules compared with Premium. That's a useful feature distinction; it doesn't establish a detection-rate ranking between the products.
Prepare recovery before changing access
Take a complete files-and-database backup and confirm you can reach the hosting account or its file manager without signing in to WordPress. Our UpdraftPlus setup guide covers the backup workflow. Keep a usable copy outside the site, along with the host's restoration instructions.
AIOS can also save the active wp-config.php file and, where used, .htaccess. Open AIOS → Settings → wp-config.php file and use the backup button. Store the download privately: it contains configuration details such as database credentials and security keys. This individual file backup doesn't include your database, uploads or the rest of WordPress.

The configuration backup instructions also explain recovery through file access when the dashboard is unavailable. Restore only a known-good file from this site; replacing a configuration file from another installation can break its database connection.
Keep your current administrator session open while verifying changes in a separate browser session. That gives you a way to reverse the latest setting if the new login fails. It doesn't replace hosting access, because a firewall rule can affect both sessions.
Check IP detection before blocking addresses
Open AIOS → Settings → Advanced settings and review IP address detection settings. Behind Cloudflare or another reverse proxy, make sure AIOS identifies the visitor rather than a shared proxy address. If every visitor appears to use the same proxy address, blocking that address can block legitimate traffic too.
The current IP detection panel defaults to REMOTE_ADDR and recommends asking the host to set it correctly when it doesn't contain the visitor address. Don't choose a forwarded header merely because its value looks plausible; confirm the trusted proxy arrangement with the host before relying on it for bans.
Set up login protection and verify a fresh login
In 5.5.1, open AIOS → User Security → Login lockout. Older instructions may call the parent menu “WP Security.” The current login lockout controls include maximum attempts, a retry window and minimum and maximum lockout periods. Choose values that allow ordinary mistakes, then save and check the lockout list and any enabled email notifications.
If expected lockout notifications don't arrive, verify the notification address and mail delivery before depending on alerts. Review the dashboard's locked-IP list while resolving delivery. Silence in your inbox doesn't establish that there were no blocked attempts.
I'd leave instant lockout for invalid usernames off during the initial rollout. First confirm the normal login and password-reset paths for administrators and other users. Shared office connections and proxy detection make an aggressive IP rule more consequential than a single mistyped password.
For your own second factor, open AIOS → Two Factor Auth, enroll the displayed account key in your authenticator app, activate two-factor authentication and save. Keep the QR code and key private. The app and server must agree on time for time-based codes to work; the account settings panel explains this requirement.
Use a separate browser session to sign in with your password and current authenticator code. Verify that the extra factor is requested and that the login completes before closing your original session. Check each login form you use, including customer or membership forms; a working WordPress administrator login doesn't establish coverage for a different form.
If you have Premium emergency codes, save them privately before relying on the new login. Free users shouldn't assume those codes are available. Confirm the recovery route for your installed edition and keep hosting access ready before changing your only administrator account.
If you've lost the authenticator and have no usable recovery code or session, ask the host or site administrator to use the documented TWO_FACTOR_DISABLE recovery setting through protected file access. It temporarily disables this module's second factor for the site, so it belongs in a controlled recovery window. Re-enroll the affected account, remove the temporary override and verify a fresh password-and-code login before ending recovery.
Enable firewall rules selectively
AIOS combines PHP rules with features that depend on server configuration. Its server compatibility guidance says features using .htaccess don't apply on Nginx or Windows/IIS. Check your actual host rather than copying an Apache tutorial onto another server.
Make one change, then check the front end, administrator login, password reset and the forms or checkout your site depends on. Also check integrations that call the REST API or XML-RPC before restricting those interfaces. A rule that blocks a required integration needs a narrower configuration, even if enabling it adds dashboard points.
Assign one tool to each overlapping job. If another plugin already changes the login URL, don't enable AIOS's equivalent at the same time. The AIOS installation instructions recommend deactivating other security plugins to avoid conflicts; plan a controlled transition on staging before removing protections from a working site.
Use alerts and updates to decide what needs attention
A file-change alert tells you that something changed. Review the affected paths against a known plugin update or deployment before deciding what caused it. The free scanner doesn't identify every changed file as malicious, and a quiet change log isn't evidence that the site is clean.
Update AIOS before relying on its login controls. The 5.5.0 release notes describe fixes for unauthorized lockout clearing, a WooCommerce password-reset route that could bypass TFA, and a lower-privileged user's forged TFA request. These are reasons to leave old versions behind, rather than assuming a security plugin is exempt from security updates.
Published findings also need their version boundaries. The Wordfence vulnerability directory marks a two-factor bypass affecting AIOS through 5.4.0, a security-control bypass through 5.4.8 and a REST-path stored-XSS issue through 5.4.7 as patched. Those separate findings support keeping the plugin current; they aren't a protection percentage or a finding about every later release.
If login stops working, identify the control first
| What you see | Check first | Next action |
|---|---|---|
| A temporary login block | The failed-login lockout and detected IP | Use the retained administrator session to review the lockout and the last change; correct the cause before tightening limits again |
| A redirect to 127.0.0.1 after cookie-based protection | Whether you visited the saved secret URL | Use that URL to set the required login cookie; if it is unavailable, follow the documented cookie-protection recovery route |
| An authenticator code is rejected | The enrolled account and device/server time | Correct time or account selection; use the recovery method available for your edition if the device is lost |
| A form or integration fails after a firewall change | The most recent rule and the affected request | Reverse that change through your retained session or the host's recovery route, then test a narrower rule |
For cookie-based brute-force protection specifically, the AIOS lockout guidance documents AIOS_DISABLE_COOKIE_BRUTE_FORCE_PREVENTION in wp-config.php. Use the documented method with a backup and hosting file access; it disables that particular control, not every firewall rule, TFA requirement or IP ban. Don't delete security tables or replace configuration files at random.
Save the configuration that works
After checking logins and required visitor actions, open AIOS → Settings → Import/Export and select Export AIOS settings. Older versions call the button Export AIOWPS Settings, as shown below. Keep the export private with notes about the changes you verified.

A settings export doesn't back up the site. Before importing one elsewhere, review domain-dependent login URLs and site-specific values; the import guidance warns that blind imports can lock you out. Save a working configuration, rather than a collection of switches chosen to maximize a score. You can compare other tools by their purpose in the plugin catalog.

Setup guide
- Prepare a fallback. Back up the database and files, confirm hosting file access and plan any transition from an existing security plugin on staging.
- Install the correct plugin. In Plugins → Add New Plugin, search for All-In-One Security (AIOS), confirm David Anderson / Team Updraft as the publisher, then install and activate it. The free 5.5.1 release requires WordPress 5.3 or later and PHP 7.4 or later; use currently supported versions for the site itself.
- Save configuration files. In AIOS → Settings, download the wp-config.php backup and an .htaccess backup if that file is used. Keep the files private.
- Check IP detection. Review Advanced settings with the host if a proxy sits in front of WordPress. Resolve incorrect visitor identification before enabling IP bans.
- Configure login controls. Set Login lockout limits under User Security. Enroll your account through Two Factor Auth, then verify a fresh password-and-code login while retaining the original session and recovery access.
- Apply rules gradually. Match firewall rules to the server and required integrations. Check a real visitor path and login after each change; reverse a rule that blocks needed activity.
- Keep a working record. Configure and review relevant alerts, export the verified settings and keep AIOS updated. Premium is an add-on: retain the free plugin when installing it.
