跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

NaveenCodes Login Guard

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

NaveenCodes Login Guard

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

描述

Login Guard is a powerful, privacy-first login security plugin that runs entirely on your own server — no cloud service, no external API calls, no telemetry.

Core Features

Brute-Force Protection
Automatically detects repeated failed login attempts from the same IP address. When a configurable threshold is reached, the IP is locked out and can be automatically added to the block list.

Live Login Activity Log
Every login attempt — successful, failed, or blocked — is recorded with IP address, username, user agent, and timestamp. Full filter, paginate, and export to CSV.

IP Block List
Manually block specific IP addresses, with permanent or time-limited expiry. Auto-blocked IPs are automatically pruned when their lockout period ends.

IP Allow List
Protect your own IP or your developer’s IP from ever being blocked — even during testing.

Instant Email Alerts
Get notified when a suspicious number of failed attempts is detected from a single IP, or when a successful login occurs from a new location for any user.

Dashboard Overview
At-a-glance stats with a 7-day bar chart (no external chart libraries), auto-refreshed every 30 seconds.

WP Admin Dashboard Widget
Quick stats and last 5 login attempts visible from the main WordPress dashboard.

Privacy

Login Guard stores IP addresses and usernames in your own database. No data leaves your server.

Free, Forever

No upsells, no premium tier, no usage limits. Login Guard is completely free.

❤️ Dedicated in loving memory of Maa — 18 May.

屏幕截图

Dashboard — stat cards + 7-day bar chart + recent attempts
Dashboard — stat cards + 7-day bar chart + recent attempts
Activity Log — full log with filters, inline Block IP button, CSV export
Activity Log — full log with filters, inline Block IP button, CSV export
IP Manager — blocked and allowed lists with add/remove controls
IP Manager — blocked and allowed lists with add/remove controls
Settings — thresholds, alerts, log retention
Settings — thresholds, alerts, log retention

安装

  1. Upload the naveencodes-login-guard folder to /wp-content/plugins/
  2. Activate through Plugins → Installed Plugins
  3. Visit Login Guard → Settings to configure thresholds
  4. Done — your site is now protected

常见问题

Will this lock me out of my own site?

Add your own IP to the Allow List from IP Manager → Allowed to guarantee you are never blocked.

Does it work with Cloudflare or load balancers?

Yes. Login Guard checks HTTP_CF_CONNECTING_IP, HTTP_X_REAL_IP, and HTTP_X_FORWARDED_FOR before falling back to REMOTE_ADDR, so Cloudflare and most reverse-proxy setups work correctly.

How do I unblock an IP?

Go to Login Guard → IP Manager → Blocked and click Unblock next to the IP address.

Does this slow down my login page?

No. The lockout check is a single indexed database query — typically under 1 ms.

Can I export the log?

Yes. Click Export CSV on the Activity Log page to download the full log with applied filters.

Does it send data to any external service?

No. Every feature runs entirely on your server with zero external requests.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者
  • Naveen Goyal

帮助将「NaveenCodes Login Guard」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.0

  • Initial release
  • Brute-force lockout (configurable max attempts + window + lockout duration)
  • Login activity log with filters, pagination, and CSV export
  • IP block list: manual + auto-block with optional expiry
  • IP allow list: IPs that are never blocked
  • Email alert on suspicious activity (configurable threshold)
  • Email alert on successful login from a new IP address
  • 7-day bar chart dashboard (no external libraries)
  • WP Admin dashboard widget
  • Block IP inline from activity log
  • Daily cron: prune old log entries + expired blocks
  • Full WP.org Plugin Check compliance

额外信息

  • 版本 1.0.0
  • 最后更新:1 周前
  • 活跃安装数量 不到10
  • WordPress 版本 6.5 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 8.0 或更高版本
  • 语言
    English (US)
  • 标签
    Brute Forceip blocklogin protectionlogin securitysecurity
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • Naveen Goyal

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • 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.