跳到内容

Sectora Connector

v0.1.0

braineetech · 2026年11月27日 上架

Refuses requests that skipped Sectora Shield, restores visitors' real IP addresses, and shows whether your site is protected.

正在使用
10 以下
评分
暂无
累计下载
0
最近更新
2026年11月27日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Settings → Sectora Shield on a protected site: DNS, Shield mode, origin lock and Verify all pass, and WordPress sees the visitor's real IP.
Settings → Sectora Shield on a protected site: DNS, Shield mode, origin lock and Verify all pass, and WordPress sees the visitor's real IP.
Connecting: paste the token from the Sectora dashboard.
Connecting: paste the token from the Sectora dashboard.
A site that is only partly protected: each warning says what is missing and links to the fix.
A site that is only partly protected: each warning says what is missing and links to the fix.

Sectora Shield is an edge web application firewall. It blocks attacks before they reach your server. This plugin adds the parts only your server can do:

  • Origin lock. Shield adds a secret header to every request it forwards. The plugin refuses requests without it, so someone who finds your server’s IP address cannot go around Shield.
  • Real visitor IP. On requests that came through Shield, WordPress and every other plugin see the visitor’s IP address instead of Shield’s.
  • Status at a glance. One screen shows whether DNS points to Shield, which protection layer is active, and whether Sectora could verify it from the outside.

All blocking stays at Shield. The plugin does not run firewall rules and never executes code sent from Sectora: it only fetches a secret and a few settings.

A Sectora account with a Shield site is required.

Two layers

  • PHP layer (on whenever origin lock is on): a small must-use plugin checks the header before any other plugin loads, and answers 404 when it is missing or wrong. It only sees requests that load WordPress.
  • Server layer (recommended): a rule at the top of .htaccess (Apache, LiteSpeed), or a snippet you paste into your nginx configuration. It also covers static files and plugin PHP files requested directly, which never load WordPress.

With the PHP layer only, the plugin reports Partial, never Protected.

External services

This plugin connects to the Sectora API at https://sectora.io/api/shield/connector/v1/ (operated by Sectora, terms, privacy policy). It sends nothing until you paste a connection token and click Connect. Every request carries that token in an Authorization header.

  • GET config (on connect, then every 5 minutes, and when you open the settings page): receives the origin-lock secret(s), the header name and the Shield mode. Sends nothing else.
  • POST heartbeat (after each config fetch and after you change a setting): sends the plugin version, WordPress version, PHP version, the web server name (SERVER_SOFTWARE), which layer is active (none, php or server), whether the lock is on, the site URL, and the first 16 hex characters of the SHA-256 hash of each secret it holds (so Sectora knows a new secret has arrived before switching Shield to it).
  • GET status (when you open the settings page, at most once a minute): receives Shield’s view of the site (DNS, mode, verification result, time of the last request).
  • POST verify (when you click Verify): asks Sectora to send test requests to your server, with and without the header, to the home page, wp-includes/js/jquery/jquery.min.js and this plugin’s index.php.
  • POST disconnect (when you click Disconnect or delete the plugin): revokes the token.

No user accounts, posts, comments, options or other content are ever sent.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums