Linux 软件免费装
Banner图

Takumi Private Gate

开发者 yoshiromoriyama
更新时间 2026年9月13日 10:27
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security login private rest-api lockout

下载

1.2.4 1.2.3 1.2.2

详情介绍:

Takumi Private Gate turns a WordPress install into a fully private site: nothing is reachable without logging in first. It's built for people running a diary, notes site, or internal tool on WordPress that should never be publicly visible or crawlable. Unlike most "force login" or "password protect" plugins, Takumi Private Gate combines four protections in a single, dependency-free plugin: Developed and maintained by Yoshiro Moriyama, founder of Takumi Web Services, a WordPress development studio based in Toronto, Canada. Features

安装:

  1. Upload the takumi-private-gate folder to /wp-content/plugins/, or install it directly from the Plugins screen.
  2. Activate the plugin through the "Plugins" screen in WordPress.
  3. Open Private Gate in the admin sidebar to adjust the failed-login threshold and lockout duration.

升级注意事项:

1.2.4 Private Gate now has its own item in the admin sidebar. The old Settings > Private Gate entry is gone; the screen and every setting on it are unchanged. 1.2.3 Fixes two-factor authentication, which could not be switched on or off from the profile screen at all in earlier versions. Also closes an Application Password gap in the lockout and stops per-IP records accumulating in the database. 1.2.2 Bundled translation files have been removed for guideline compliance; translations are now provided through translate.wordpress.org. 1.2.1 Internationalization (English source strings plus a Japanese translation) and conflict-safe admin asset handles. 1.2.0 Adds an IP whitelist, optional TOTP two-factor authentication, and multisite network-activation support. 1.1.0 Adds a lockout list with manual unlock, a login attempt log, and email notifications on lockout.

常见问题:

Will this lock me out of my own site?

Only if you fail to log in more times than the configured threshold (5 by default). wp-login.php itself is never blocked, since it's the only way to authenticate.

Does this block search engines and RSS readers too?

Yes. Since the entire site requires authentication, no unauthenticated client (including search engine crawlers and feed readers) can access any content.

Why doesn't the login form say I'm locked out?

By default, Takumi Private Gate intentionally shows a generic "incorrect username or password" message instead of revealing that the IP is locked out. This keeps an attacker running a brute-force attempt from learning that their requests are being blocked outright. This can be changed on the Private Gate screen.

Will I get emailed every time someone fails to log in?

No. An email is only sent when an IP actually crosses the failed-attempt threshold and gets locked out, not on every failed attempt. This can be turned off on the Private Gate screen.

Does the login log grow forever?

No. Only the most recent 1000 login attempts are kept; older entries are pruned automatically.

Can I make sure I never get locked out?

Yes. Add your own IP address (or a CIDR range covering it) to the whitelist on the Private Gate screen. Whitelisted IPs bypass the site-wide lockdown, the REST API/XML-RPC blocking, and the failed-login lockout.

How do I set up two-factor authentication?

Go to your own Users > Profile screen, find the "Takumi Private Gate: Two-Factor Authentication (2FA)" section, add the displayed key to an authenticator app, enter the 6-digit code it shows, then click "Update Profile" at the bottom of the page. To turn 2FA off later, tick the box in that same section and click "Update Profile" again. No QR code is generated by the plugin, since that would mean sending your secret to a third-party image service; the manual-entry key works with every authenticator app.

Does /xmlrpc.php still respond?

The file still exists and WordPress still answers its unauthenticated introspection methods (for example system.listMethods), but every method that requires authentication is refused, so it cannot be used to log in, publish, or brute-force credentials. If you want the file itself to return 403 or 404, block it in your web server configuration -- a plugin runs too late in the request to do that.

Does this work on a multisite network?

Yes. If you network-activate the plugin, each site gets its own settings and login-log table, including sites created after activation. Two-factor authentication is tied to the user account and applies network-wide.

更新日志:

1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.0 1.0.0