Linux 软件免费装
Banner图

ScrapeLock – Content & AI Bot Protection

开发者 codebunnyhube
更新时间 2026年11月27日 20:01
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

content protection bot protection rate limit ai crawlers anti-scraping

下载

3.13.0 3.4.3 3.6.0 3.12.10 3.12.12 3.12.13 3.5.0 3.3.1 3.4.2

详情介绍:

Most content protection plugins only disable right click. Scrapers and AI crawlers never click: they download the HTML, read the REST API and the feeds, or drive a headless browser. ScrapeLock works on your server, where the copying happens: it blocks bots that identify themselves and slows fast scraping from one address; scrapers that imitate a browser and rotate IPs are only partly slowed. Real visitors, shoppers and search engines are left alone. Key features What it cannot do Whatever a visitor sees has already reached their device, so nothing stops a person copying by hand or taking screenshots. ScrapeLock closes the automated routes and leaves traces: watermarks, a source link on copied text and a TDM declaration. The full feature list and more answers are in the user guide.

安装:

  1. Upload the scrapelock folder to /wp-content/plugins/, or install the plugin from the Plugins screen.
  2. Activate it. A new install runs in Monitor only for 7 days: watch the Log, then let it block.
  3. If your site is behind Cloudflare or another proxy, set "Real visitor IP" first (Bots and limits).
  4. Go to Settings → ScrapeLock and choose a preset, or adjust each tab.
Upgrading from "Content Protect" (folder content-protect), the former name of this plugin: deactivate the old plugin, activate ScrapeLock. Your settings, tokens and log are kept. If you pasted the old Apache rules, replace the "# BEGIN Content Protect" block with the new "# BEGIN ScrapeLock" block.

屏幕截图:

  • For my site: detects the shop, cache plugin, CDN and web server and suggests matching settings; only the ticked ones are applied.
  • On the page: right click, copy shortcuts, dragging images and text, screenshot blur, copying with the source link appended, and printing.
  • Members and readers: a faint “who is reading” mark over protected pages, an invisible trace in copied text, per-account limits and shared-account alerts, plus iframe and AI opt-out (TDM) headers.
  • Scrapers and bots: the bot list, requests without a User-Agent, fake Googlebot and Bingbot, headless browsers, the bot trap and bans for scanners.
  • AI search and training: AI search assistants may visit (checked against their official IP lists) while AI training crawlers stay blocked; robots.txt and Content Signals.
  • Limits per IP for pages, searches, the REST API, “page not found”, sitemaps and data centers, automatic Emergency Mode, and the reputation of each IP.
  • Check a request: what ScrapeLock would answer to any IP, User-Agent and address, here a fake Googlebot.
  • Feeds and API: an access token for private XML feeds with per-feed statistics, and post text hidden from the REST API, GraphQL and RSS.
  • Vulnerable points: XML-RPC, the file editor, usernames, PHP files and more, each with its attacks and the risk of locking it; lock with one click.
  • Lockdown: freezes plugins, themes, users and settings behind a code from an authenticator app, with what is locked and what keeps working.
  • Server rules: Cloudflare and Apache rules (Nginx further down) generated for your own site.
  • Bunny CDN: the Edge Rules ScrapeLock manages at Bunny, and the points that can be locked at the edge with one click.
  • Log: blocked requests in the last 24 hours by reason, and the top IPs.
  • Log: IPs blocked now, IPs that keep coming back, and the latest events with path and User-Agent.
  • Visitors sent by AI assistants (ChatGPT, Perplexity, Gemini…) in the last 30 days, and the pages they landed on.
  • Attack report: attacks per day, failed sign-ins, the share refused, and each kind of attack with how to close it.
  • Traffic: every request the site answered, per hour, by status code, by kind of visitor and by User-Agent.
  • Dashboard widgets: the protection status and the attacks of the last 7 days.
  • Site Health: ScrapeLock’s checks, e.g. password guessing and attacked points that are still open.

升级注意事项:

3.13.0 Recommended: Lockdown no longer locks administrators out of wp-admin, security fixes, safer Bunny CDN rules, and payment webhooks are never blocked. Settings kept; new options start off on existing sites. 3.12.13 Passes the WordPress.org Plugin Check with no errors or warnings. No change in what ScrapeLock does: settings and server rules unchanged. 3.12.12 Fixes "The plugin does not have a valid header." when activating ScrapeLock 3.12.11 right after uploading it. Settings kept. 3.12.11 Recommended on hosts that scan files for malware (SiteGround and others): ScrapeLock no longer writes PHP files at runtime; Lockdown is converted on its own and stays locked. If your host quarantined ScrapeLock's files, restore them or reinstall, then ask for a new scan. Settings kept. 3.12.10 Fixes the site going down after a WP-CLI command run as root changed ScrapeLock's settings (wp-config.php became root's). Files keep their owner and permissions; run WP-CLI as the site's user when you can. Settings and server rules unchanged. 3.12.9 Recommended: APCu for PHP-FPM or a Redis object cache, so a visit never touches the disk or the database. ScrapeLock updates the pre-cache line in wp-config.php itself (or copy it from Settings). New: wp scrapelock precheck and wp scrapelock breaker. Settings kept. 3.12.8 After updating, copy the Stealth rules again (Server rules, Stealth, nginx -t, reload) or run wp scrapelock rules install --stealth=<file>, then wp scrapelock stealth test and wp scrapelock cdn purge --all --minify --yes. Settings kept. 3.12.7 With an Nginx fastcgi cache: run wp scrapelock cache status, add the line it prints to wp-config.php (or set Nginx Helper's folder), then wp scrapelock cache purge --all. Server and Stealth rules unchanged. Settings kept. 3.12.6 Copy the server and Stealth rules again (Server rules tab, then nginx -t and reload) or use wp scrapelock rules install: the Stealth rules now carry a fingerprint and cover WP Rocket's minified files. "Block technology profilers" starts off. Settings kept. 3.12.5 The screenshot blur can now apply only to visitors who are not signed in (On the page → Applies to). Existing sites keep "Everyone". Settings are kept. 3.12.4 Nginx: copy part 2 of the server rules again (Settings → ScrapeLock → Server rules), then nginx -t and reload: it now answers the status check before aaPanel's server-level WordPress rewrite. The fingerprint is unchanged. Settings are kept. 3.12.3 After updating, copy the server rules again from Settings → ScrapeLock → Server rules (Nginx: both parts, then nginx -t and reload; Apache: the .htaccess block): the new rules never block the server's own requests. Settings are kept. 3.12.2 Fixes Vulnerable points "Check again" and Site Health behind Bunny CDN without "Forward Host Header", and says who refuses the site's own requests (Bunny, Cloudflare, Wordfence, the web server). Settings are kept. 3.12.1 Fixes the site's own requests getting a 403 behind a CDN (Vulnerable points, Site Health), FluentCommunity members' limits and AI search blocking. The pre-cache check's line in wp-config.php is rewritten on the next wp-admin page. Settings are kept. 3.12.0 New Traffic tab: every request from the Bunny CDN logs, the access log or WordPress, with User-Agents, problem URLs, visitors, CSV and email alerts. Off until you press "Start collecting"; nothing is stored or scheduled before. Settings and exports from 3.11 are kept. 3.11.0 Fewer false blocks (the site's own requests through the CDN, /.well-known/, static files, plugin service bots, allowed AI search bots), a "For my site" assistant and grouped tabs. Settings kept; with "Allow AI search" on, its bots leave the bot list once (a copy is saved). 3.10.1 Site Health can create a missing apple-touch-icon.png and OneSignalSDKWorker.js with one click, and checks that Wordfence reads the visitor's address behind the CDN. 3.10.0 Locks at Bunny with more than 5 addresses (such as "Secret files") now work with the real Bunny API. Fewer false blocks of Google, Apple, DuckDuckBot, WP Rocket and Claude-User; site-metadata files no longer count as attacks. 3.9.1 Fixes for the lock of wp-login.php at Bunny: the allowed IPs can no longer be emptied while the lock is on, and changes reach Bunny at once. 3.9.0 New "Send temporary blocks to the CDN" switch: off on new installs, kept on for sites that already send them (a notice says so). Every lock at Bunny now asks for a Confirm first; wp-login.php needs your IP in "Allowed IPs for the login page at Bunny".

常见问题:

My server's CPU spikes, often at night. Can ScrapeLock help?

Often, yes: the cause is usually a crawler reading thousands of pages. Open the Log: the 24-hour summary shows the top IPs, User-Agents and reasons. The bot list, the per-IP limits and the data center limit handle most of it; during an attack, start Emergency Mode.

GPTBot or Bytespider is eating my bandwidth.

They are on the bot list, which is on by default, and are refused with a 403 (in Monitor only they are just logged). robots.txt also asks them to stay away. A 403 costs your server far less than a full page.

Bots fill carts or try coupon codes.

With WooCommerce, ScrapeLock limits cart actions and coupon attempts per IP and blocks IPs that keep going. It is not a fraud or card-testing tool: use your payment provider's fraud protection for that.

Will it block real visitors, shoppers or forms?

Verified search engines are never limited or blocked, there is no captcha, and the first 7 days are Monitor only. If someone is blocked, the Log shows why: unblock the IP under "IPs blocked now", add it to "Always allowed IPs", or press "Always allow this User-Agent".

Will it block Google or Bing?

No. Verified search engines are never limited or blocked. Only fakes that pretend to be Googlebot or Bingbot are blocked.

Can I allow ChatGPT or Perplexity search but block training?

Yes. Turn on "Allow AI search engines and assistants" (Bots and limits). Training crawlers stay blocked. With "Verify AI search bots" on, only requests from the official addresses count as those bots; copies of the name get a 403. Turn the option off and ScrapeLock blocks them again from its own list, whether or not they are in your bot list.

Can it stop screenshots or screen recording?

No plugin can: the phone or computer takes the screenshot itself. ScrapeLock can blur the page on known screenshot keys, put the reader's user name and time over protected pages, and hide an invisible trace of the account in copied text (On the page → Members and readers).

I can still right-click and copy. Is it working?

Probably: staff are exempt while logged in ("Who is excluded", On the page tab). Test in a private window ("Check a request" tests the server-side checks, not the browser scripts). Right-click, copy, print and devtools blocking are deterrents for casual copying: the text is still in the page source.

How do I test it?

"Check a request" (Log tab) shows what ScrapeLock would answer to GPTBot, a fake Googlebot, curl and more, without sending anything. Its "Check it yourself" lines test for real with curl from another computer.

Does it work with page cache?

WP Rocket does not serve cached pages to listed bots. For other page caches turn on the pre-cache check (Bots and limits): on cached pages it applies the bot list, blocks, the page, network and human-check limits, fake Googlebot / Bingbot (with fresh official lists) and headless browsers; not "Browsers only", countries, data centers, reputation or the trap. A cache in the web server (Nginx FastCGI cache, LiteSpeed, Varnish) answers before PHP: use the "Server rules" tab or the CDN.

My site is behind Cloudflare. What should I set?

Set "Real visitor IP" to CF-Connecting-IP and keep "Trust Cloudflare addresses" on. With Nginx, also set real_ip_header CF-Connecting-IP; and set_real_ip_from for the Cloudflare ranges, so the server rules see the real IP.

My site is behind Bunny CDN. What should I set?

"Real visitor IP" X-Real-IP, "Trust Bunny CDN addresses" on, then "Send the secret from Bunny" in the Bunny card. Without the secret anyone's pull zone can write X-Real-IP: those IPs stay unreliable (no bans or CDN blocks; no login lock at Bunny).

What personal data does it store?

For a blocked request: the IP, User-Agent, page and time, deleted after 1, 7 or 30 days (over a per-account limit, also the username). The attack record keeps the IP, the address asked for, the hour and, for a failed sign-in, the username tried, for 7 to 90 days. The optional features keep only hashes or a signed expiry. No visitor data is sent anywhere by default. The full list is in the user guide.

I lost my phone. How do I unlock the site?

Type a recovery code instead of an app code. With none left, add define( 'SCRAPELOCK_UNLOCK', true ); to wp-config.php (over SSH: wp config set SCRAPELOCK_UNLOCK true --raw --type=constant), connect a new app on the Lockdown page, then remove the line (also for a forgotten staff password). If another plugin or the theme keeps you out of wp-admin while locked, unlock at wp-login.php?action=scrapelock-unlock.

Where are the other answers?

CDN setups (Cloudflare, Bunny CDN), the server rules and aaPanel, the pre-cache and early checks, Stealth, Lockdown, WP-CLI, the filters for developers and more: see the user guide.

更新日志:

3.13.0 3.12.13 3.12.12 3.12.11