跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

FPX Security Guard

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

FPX Security Guard

作者:mamuniu06
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

FPX Security Guard protects your WordPress site with:

  • Two-Factor Authentication (2FA) — Standard TOTP support (Google Authenticator, Authy, Microsoft Authenticator, 1Password). Users enable it individually from their Profile page with QR-code setup, and receive 10 one-time recovery codes. Works fully offline — no external service or email required.
  • Login Protection — Limits failed login attempts per IP with configurable lockout duration, generic error messages (no username/password hints), and a hidden honeypot field that silently blocks bots.
  • Firewall & Headers — Sends modern security headers (X-Frame-Options, nosniff, Referrer-Policy, Permissions-Policy, HSTS on HTTPS) and blocks requests containing common SQL injection / XSS / path traversal patterns.
  • Hide WordPress Info — Removes the WP version from meta tags and asset URLs, blocks ?author=N user enumeration scans, and hides the public REST API users endpoint.
  • Hardening — Disables XML-RPC (a common brute-force vector) and the built-in theme/plugin file editor.

Want more? FPX Security Guard Pro adds daily File Change Detection with malware-injection alerts — a background scanning service, hosted and sold separately from this free plugin.

All features can be toggled individually from Settings → FPX Security Guard. A lockout log shows the last 20 blocked login attempts.

External Services

This plugin’s optional Country Block feature (disabled by default) uses the free geo-location service ip-api.com to determine the country of a visitor’s IP address.

  • What is sent: Only the visitor’s IP address is sent to ip-api.com, and only when the Country Block feature is manually enabled by the site administrator and a visitor’s country is not already cached.
  • When: On the first request from a given IP; the result is cached locally for 24 hours, so repeat visitors trigger no external calls.
  • No other data (no personal info, no site data) is ever transmitted.

Service provider: ip-api.com — Terms: https://ip-api.com/docs/legal — Privacy: https://ip-api.com/docs/legal

If the Country Block feature is disabled (the default), the plugin makes no external requests whatsoever.

Does rate limiting slow down my site?

Rate limiting tracks each visitor’s request count using WordPress’s core Transients API. If your host has a persistent object cache (Redis/Memcached), this data is stored there with no database writes at all. Without one, it falls back to the options table like any request-level counter — the tracked data expires within seconds, so it never accumulates.

安装

  1. Upload the fpx-security-guard folder to /wp-content/plugins/, or upload the zip via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins menu.
  3. Configure options under Settings → FPX Security Guard.

常见问题

I’m locked out of two-factor authentication. How do I get back in?

There are three rescue paths, in order of ease:

  1. Recovery codes — enter one of your saved one-time recovery codes in the Authentication Code field on the login screen.
  2. Ask an administrator — any admin can open Users → your profile and reset your 2FA with one click. You can then log in with just your password and set 2FA up again.
  3. Server access (site owners) — add this line to your wp-config.php file: define( 'FPXSG_DISABLE_2FA', true ); — this temporarily bypasses 2FA for all logins. Log in, reset your 2FA from your profile, then REMOVE the line again. Because it requires file access, only someone who controls the server can use it.

Will this conflict with other security plugins?

Avoid running multiple firewall/login-limit plugins at once — features may overlap.

I use Jetpack or a mobile app to publish.

Disable the “Disable XML-RPC” option in settings.

评价

此插件暂无评价。

贡献者及开发者

「FPX Security Guard」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • mamuniu06

帮助将「FPX Security Guard」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.0

  • Initial release.
  • Login protection: per-IP attempt limits, lockouts, honeypot, generic error messages.
  • Two-Factor Authentication (TOTP): QR-code setup, recovery codes, low-code warnings, works offline.
  • DDoS/flood protection via per-IP rate limiting.
  • Firewall: malicious query blocking and modern security headers.
  • Country blocking (optional, via ip-api.com with local caching).
  • Comment spam protection: honeypot and link limits.
  • Hardening: XML-RPC off, file editor off, version hiding, user-enumeration blocking.
  • Bundled QRCode.js by davidshimjs (MIT license, GPL-compatible) for local QR rendering.

额外信息

  • 版本 1.0.0
  • 最后更新:1 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.8 或更高版本
  • 已测试的最高版本为 7.0.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    Brute Forcefirewallhardeninglogin protectionsecurity
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • mamuniu06

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.