开发者 | giuse |
---|---|
更新时间 | 2025年8月25日 19:47 |
PHP版本: | 7.2 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
No. While this plugin provides strong deterrents, a determined user can still bypass them, for example, by taking a physical screenshot of the screen. However, these protections are highly effective at stopping most casual users and automated scrapers. But don’t underestimate the value of a deterrent. Think about the methods used to keep mosquitoes away. Even if they don’t work 100%, would you rather be surrounded by hundreds of mosquitoes or just a couple? That’s the idea of a deterrent.
The plugin does not protect images for users who have the privilege to upload files.\ Please test it in a browser where you are not logged in.
No. Only images that you explicitly mark as protected in the media library will be affected.
The protected images will include the following headers:
header( 'Expires: Thu, 01 Jan 1970 00:00:00 GMT' ); // Already expired header( 'Cache-Control: no-store, no-cache, must-revalidate, max-age=0' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); // For Internet Explorer header( 'Pragma: no-cache' );
These headers instruct browsers and CDNs not to store the protected images in cache.
In general, CDNs should respect these headers. If, for any reason, your CDN does not, you can exclude URLs containing /protect-image/ from being cached.
If a CDN still caches the images despite these rules, the protection will not work. However, this would require two failures: the CDN ignoring the headers and the cache exclusion not taking effect. For this reason, CDNs should normally not be an issue.
Yes. The key protections rely on JavaScript to detect user actions. However, the plugin will still provide a warning for users who have JavaScript disabled.
The plugin may interfere with how protected images are indexed by search engines. This is why Selective Image Guard is designed to be selective—you can choose which images to protect, ensuring that other, unprotected images remain fully accessible to search engine crawlers.