跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

ITPS Shield

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

ITPS Shield

由 IT Pro Services 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

ITPS Shield locks down a WordPress site in a few clicks. Open Settings → ITPS Shield → Security Audit, press Harden now, and the plugin switches on every protection that is safe for any site. Server (.htaccess) rules are only written when you ask for them, and each one is tested and rolled back automatically if your server rejects it. The plugin never edits or deletes WordPress core files; the audit tells you what to fix by hand.

HTTPS / SSL

  • Force HTTPS: every http:// request is redirected to https://, the admin and login use HTTPS, cookies are marked secure and browsers are told to upgrade insecure requests.
  • The SSL certificate is tested before Force HTTPS can be switched on, so you can’t lock the site into a broken HTTPS.
  • Optional mixed-content fixer and HSTS.

Login protection

  • Custom login address: move wp-login.php to an address you choose. /wp-login.php and /wp-admin/ show “Not Found” to logged-out visitors.
  • Brute-force lockout per IP, applied after the password check so a correct password can’t bypass it, with email alerts and an unlock screen.
  • Login honeypot and real-browser check that stop scripted brute-force tools.
  • Generic login errors, strong-password enforcement, optional idle logout and maximum session length.
  • Email alerts when any account becomes an Administrator, or an administrator logs in from a new IP.

Spam protection without CAPTCHA

  • Comments, WordPress and WooCommerce sign-ups, and contact forms: Contact Form 7, WPForms, Gravity Forms, Elementor Pro Forms, Fluent Forms, Formidable Forms and Ninja Forms.
  • Invisible honeypot, real-browser check and minimum fill time. Real visitors see nothing.
  • Sign-ups from disposable email addresses are refused; comments with too many links go to spam.
  • Disable comments site-wide in one click (comments, pingbacks, admin menus, comment blocks, comment feeds and the comments REST API).

Firewall and attack surface

  • Request firewall for SQL injection, XSS, path traversal, stream wrappers, code injection, null bytes and probes for .env, .git and wp-config.php, plus vulnerability-scanner user agents.
  • XML-RPC and pingbacks disabled, user enumeration blocked (?author=N, REST /wp/v2/users, oEmbed, user sitemap).
  • Optional REST API restriction for logged-out visitors with an allow-list.
  • Theme/plugin file editor disabled; optional block on installing or uploading plugins and themes from the dashboard (updates still work).

Hide WordPress

  • Removes the generator tag, WordPress links and headers and the emoji script.
  • Replaces ?ver= on every core, theme and plugin file with a hash, so versions can’t be read but caches still refresh after updates.
  • Hides the plugin list in /wp-json/ and blocks plugin readme and changelog files, logs and backups in wp-content.
  • Your own site icon and name on the login page, and no WordPress logo as a fallback favicon.
  • Optional “Protected by ITPS Shield” page for blocked visitors (off by default; it includes a credit link).

Server hardening

  • Security headers (nosniff, frame protection, referrer and permissions policy).
  • No PHP execution in uploads; optional root .htaccess hardening that also blocks readme.html, license.txt and wp-config-sample.php.
  • Every .htaccess file is tested with a real request after it is written and removed again if the server answers with an error.
  • The audit checks wp-config.php permissions and version-revealing files and explains how to fix them.

Audit and monitoring

  • Security Audit with a score, per-check Fix buttons and a one-click Harden now.
  • Core file integrity scan against the official checksums from WordPress.org, plus detection of unknown PHP files in wp-admin and wp-includes.
  • Activity log, locked-IP list and IP allow-list (IPv4 / IPv6 addresses and IPv4 ranges).

ITPS Shield has no external service, no account and no tracking. The only outside request is the core file scan, which downloads WordPress’s official checksums from api.wordpress.org when you run it.

螢幕擷圖

Security Audit with score, Harden now and per-check Fix buttons.
Security Audit with score, Harden now and per-check Fix buttons.
Settings: HTTPS, login address, login protection and spam protection.
Settings: HTTPS, login address, login protection and spam protection.
The optional "Protected by ITPS Shield" page.
The optional “Protected by ITPS Shield” page.
Locked IPs: brute-force lockouts with one-click unlock.
Locked IPs: brute-force lockouts with one-click unlock.
Activity log of blocked attacks, login lockouts and spam.
Activity log of blocked attacks, login lockouts and spam.
The Security Audit after one click on "Harden now".
The Security Audit after one click on “Harden now”.

安裝方式

  1. Install through Plugins → Add New, or upload the itps-shield folder to /wp-content/plugins/.
  2. Activate the plugin. Activation only saves the default settings; it does not write any files.
  3. Go to Settings → ITPS Shield and add your own IP address to the allow-list.
  4. If the site is behind Cloudflare or a load balancer, enable “Trust proxy”. Otherwise leave it off.
  5. Open the Security Audit tab and press “Harden now” (or “Install server rules” in the notice) to install the .htaccess rules.
  6. Optional: set a custom login address in Settings and bookmark it.

常見問題集

I forgot my custom login address

Add define( 'ITPS_SHIELD_DISABLE_LOGIN_URL', true ); to wp-config.php, log in at /wp-login.php, check the address in Settings → ITPS Shield, then remove the line. The address is also emailed to the site admin whenever it changes.

My login says “please enable JavaScript”

The real-browser check needs JavaScript. Enable it, or add define( 'ITPS_SHIELD_DISABLE_JS_CHECK', true ); to wp-config.php.

I locked myself out with too many attempts

Wait for the lockout to end, or log in from an IP on the allow-list. As a last resort, rename wp-content/plugins/itps-shield by FTP or your hosting file manager; the plugin deactivates.

Does it work on Nginx?

Yes. Everything except the .htaccess rules works on any server. On Nginx the Security Audit shows the equivalent server rules to add.

Does it slow the site down?

No. The checks are lightweight, run inside WordPress and make no external requests. The spam trap is a small inline script only for logged-out visitors.

Will the spam protection block real visitors?

Real visitors never see it. A submission is only refused when the hidden honeypot field is filled, the form was sent without a real browser, or it was sent within a few seconds of opening the page (adjustable).

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈ITPS Shield〉的開發相關工作。

參與者
  • IT Pro Services

將〈ITPS Shield〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.5.3

  • Custom login address: links and redirects are only rewritten when they point to this site’s own wp-login.php (same host, same path). URLs on other sites, and URLs that only mention wp-login.php in a query parameter, are no longer changed.
  • Stricter URL matching in the mixed-content fixer (only this site’s exact host), the sub-directory check and the REST API allow-list (whole namespaces only).

1.5.2

  • Activation no longer writes any .htaccess file. The rules are installed from the plugin screen, and every location (site root, wp-content, uploads) is tested with a real request and rolled back if the server answers with HTTP 500.
  • IP allow-list: entries are validated strictly. IPv4 ranges need a whole-number prefix from 1 to 32; malformed ranges, /0 and other invalid entries are rejected with a notice and ignored if already saved.
  • The plugin no longer deletes readme.html, license.txt or wp-config-sample.php and no longer changes wp-config.php permissions. The audit explains how to do it, and “Harden root .htaccess” can block those files instead.

1.5.1

  • Security: every value read from the request ($_SERVER, $_POST, $_GET) is now sanitized as it is read; firewall evidence is stored through esc_url_raw().
  • The mixed-content fixer now uses the WordPress 6.9+ template enhancement output buffer instead of opening its own output buffer; older WordPress versions use content, block, widget and image URL filters.
  • Force HTTPS redirects now go through wp_safe_redirect().

1.5.0

  • Prepared for the WordPress.org plugin directory: scripts and styles are now enqueued, WordPress file APIs are used for file changes, and the “Protected by ITPS Shield” page (with its credit link) is now opt-in.
  • Tested with WordPress 7.1.

1.4.1

  • Fix: the protection page uses the ITPS shield as its tab icon; /favicon.ico no longer falls back to the WordPress logo.

1.4.0

  • New: comment, sign-up and contact-form spam protection, disposable email blocking, comment link limit.
  • New: disable comments site-wide.
  • New: login real-browser check.
  • New: “Protected by ITPS Shield” page for blocked visitors.

1.3.0

  • New “Hide WordPress” options, block plugin/theme installs, maximum session length.

1.2.0

  • New: one-click Harden now, security score and per-check Fix buttons.

1.1.0

  • New: Force HTTPS, custom login URL, login honeypot, idle logout, admin alerts, REST restriction, core file scan.

1.0.0

  • Initial release.

中繼資料

  • 版本 1.5.3
  • 最後更新 2 週前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 7.1.5
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    firewalllogin securitysecurityspamssl
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • IT Pro Services

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Taiwan 正體中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩