Linux 软件免费装
Banner图

Loyal Security - Firewall & Malware Scanner

开发者 totalsecuritywp
更新时间 2026年10月16日 14:00
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security two factor authentication firewall malware scanner waf

下载

1.5.3 1.5.1 1.5.2

详情介绍:

Loyal Security - Firewall & Malware Scanner is an all-in-one WordPress security suite: a dual-mode web application firewall, malware scanner with file integrity monitoring, server hardening, two-factor authentication, backups, and audit logging — in a single self-contained plugin. Every protection runs on your own server with the rules bundled in the plugin. No Node.js, no build step: the admin dashboard is a React app powered by WordPress core's own bundled wp-element, and every PHP class is loaded by a built-in autoloader. Install it, activate it, and it works. A small number of features use outside services; each one is listed under "External services" below, with what it sends and how to switch it off. Everything in this plugin is free and fully functional — nothing is locked, limited or time-restricted. Loyal Security Pro is a separate plugin, sold and downloaded from our website, that adds automation and agency tools on top. Features Loyal Security Pro Loyal Security Pro is a separate plugin for people running security across many sites. It is not needed for anything listed above. It adds:

安装:

  1. Upload the loyal-security folder to /wp-content/plugins/, or install it directly from Plugins → Add New.
  2. Activate the plugin through the Plugins screen.
  3. Open Loyal Security in the admin menu and run the Setup Wizard — it deploys the firewall in the best mode for your hosting environment automatically.
  4. Review the defaults under Loyal Security → Settings, and enable two-factor authentication for every admin account.
Server requirements: PHP 8.0 or later. Optimized Mode (recommended) needs either auto_prepend_file support (mod_php/CGI) or a writable .user.ini (PHP-FPM). Where neither is available, the firewall automatically falls back to Standard Mode — no manual configuration required.

屏幕截图:

  • Firewall panel — web application firewall, sign-in lockout, bot management and active virtual patches.
  • Malware scanner — findings list with one-click quarantine and repair.
  • Live Traffic monitor — real-time request feed with user-agent classification.

升级注意事项:

1.5.3 Makes the plugin fully translatable and fixes settings saves that erased trusted addresses, false "file missing" integrity findings and duplicate security headers. Recommended for all users. 1.5.2 Reduces malware scanner false alarms and fixes the loading spinners. Recommended for all users. 1.5.1 Stops firewall false positives on checkouts, forms, webhooks and editors' posts, and no longer blocks common integrations and SEO tools by default. Recommended for all users. 1.5.0 Fixes stale files behind CDNs, real visitor addresses behind Cloudflare, country blocking without a CDN, two-factor sign-in counted as failures, and wider malware and database scanning. Recommended for all users. 1.4.11 Fixes backups of data containing the % character, restores the weekly automatic scan, and removes every feature limit. Requires WordPress 6.6. Recommended for all users.

常见问题:

Does this require Node.js or a build step?

No. The dashboard uses WordPress's bundled React via ES modules, so there's nothing to compile — and no Composer install either, since the plugin ships its own lightweight autoloader.

Does it work with both block and classic themes?

Yes. The dashboard lives entirely in wp-admin, so it's completely independent of your active theme.

Will this slow down my site?

Optimized Mode runs the firewall before WordPress even loads, so malicious requests are blocked before the WordPress bootstrap, database connection, or plugin/theme loading happen. Standard Mode, used automatically when the prepend can't be deployed, still runs as early as possible inside WordPress.

What happens if the firewall itself breaks?

The Optimized Mode prepend is written to fail open: if its configuration or any of its files are missing or unreadable, it does nothing rather than breaking the site. The Setup Wizard also self-tests the deployment and automatically rolls back if the test fails.

Is anything in this plugin limited or locked?

No. Every feature in this plugin is complete and has no time, usage or licence limits. Loyal Security Pro is a separate plugin that adds its own features (listed above); installing it unlocks nothing in this one.

Which outside services does the plugin contact?

By default, three: our threat-intelligence feed (twice a day, to keep the firewall and scanner rules current), Have I Been Pwned's Pwned Passwords range API (at login, k-anonymous), and WordPress.org's own checksum service (with the weekly file-integrity check, the same service WordPress uses for updates). All three can be switched off in Settings. Everything else — CAPTCHA, Safe Browsing, bypass reports, the CSP scanner — is off until you enable it or click it. See "External services" above for exactly what each one sends.

Can I use this alongside another security plugin?

You can, but running two firewalls or two file scanners at once is generally redundant and can occasionally conflict (for example, both plugins trying to write competing rules to .htaccess). We recommend deactivating other firewall plugins before activating Loyal Security's.

Can I bring my IP block and allow lists over from another security plugin?

Yes. If Wordfence, Sucuri Security or iThemes/Solid Security is or has been installed on the site, Loyal Security can read the IP block and allow lists those plugins stored in your own database, so you do not have to type them in again. It only ever reads, never writes to or changes the other plugin's data, nothing is sent anywhere, and it runs only when an administrator starts it from the Firewall screen. Those product names are used here solely to identify whose stored lists are being read; Loyal Security is not affiliated with, endorsed by, or connected to any of them.

Where do I report a security vulnerability in the plugin itself?

Please report it privately rather than in the public support forum so it can be fixed before details become public.

What happens to my data if I delete the plugin?

By default, deleting Loyal Security keeps your security data (logs, scan history, settings) in the database in case you reinstall it. Any deployed server-level changes — the firewall prepend, .htaccess rules, wp-config markers — are always reverted on delete regardless. If you want a full data wipe instead, enable "Delete all data on uninstall" under Settings before removing the plugin.

Where does the country data come from?

Country rules use the visitor's country from Cloudflare (when your site is behind Cloudflare) or from a trusted proxy you configured. Otherwise they look the address up in a table bundled with the plugin: IP Geolocation by DB-IP, "IP to Country Lite", licensed under CC BY 4.0 and converted to a compact lookup format (details in data/geo/NOTICE.txt). The table is updated with each plugin release, and looking an address up never contacts any outside service. The admin screens that show a country (the audit log, Live Traffic and Pro's Threat Hunting), and notification emails that include a country, link to DB-IP as its licence asks. The page a visitor sees when a country rule blocks them can show the same link: turn on "geo credit on block page" in the Firewall settings. It is off by default because a plugin may not add links to your public site without your consent.

Does it work behind Cloudflare?

Yes. Requests that come from Cloudflare's published addresses are recognised automatically, so bans, rate limits and logs use the real visitor's address ("Trust Cloudflare", on by default). Cloudflare's own addresses are never banned or allowlisted. For another proxy or load balancer, add its address under Firewall → Trusted proxies.

更新日志:

1.5.3 1.5.2 1.5.1 1.5.0 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8