Notice: This is a demonstration of BlockScript's powerful features and ease of use.
Discount For Additional Licenses
Protect Any PHP File
Edit any PHP file you want to protect. After <?PHP at the top of the file, add:
Complex integrations are possible using the options bitfield which provides a mechanism to locally override the global settings.
Protect Images And Static Webpages
Edit the .htaccess file in your website's webroot and insert the following code. The list of filename extensions can be customized as needed.
Plugins For Third Party Systems
Here are links to download plugins to integrate BlockScript into third party systems:
API
BlockScript comes equipped with a powerful suite of APIs (Application Programming Interfaces) which enable developers to integrate BlockScript into external systems. Please see the Developer APIs page for complete details.
Instructions
BlockScript includes built-in blacklists of proxy servers, hosting providers, and more. You can add your own lists (or our extra lists ) of IP addresses and IP address ranges below. Please enter IP addresses and IP address ranges in any of the following formats, one per line:
Comments can optionally be entered after any entry. Comments are preceeded with a semicolon, as in the example above. Please note that performance can be negatively effected when using more than a few thousand entries.
Configurable Options
Block Hosting Netblocks: Yes No This option blocks access from IP address networks operated by data centers, hosting companies, and cloud computing providers. Data center clients may include sources of undesirable traffic such as proxies, bots, spiders, and scrapers. Default is on.Allow Hosting Tech Support Netblocks: Yes No When the "Block Hosting Netblocks" option is enabled, this option allows access from IP address networks used by technical support staff in certain data centers and hosting companies. Default is off.Block Tor: Yes No This option blocks access from the Tor proxy network. Default is on.Block PlanetLab: Yes No This option blocks access from the Planetlab proxy network. Default is on.Block Open Proxies: Yes No This option blocks access from open proxy servers. Default is on.Block Suspects: Yes No This option blocks access from IP addresses that are suspected to be associated with spam or other malicious activity. Default is on.Block Bot Netblocks: Yes No This option blocks access from unwanted bots and spiders, filtering companies, and intelectual property (i.e. trademark, copyright, and patent) monitoring companies. Does not block legitimate search engine spiders. Default is on.Block Bot Useragents: Yes No This option blocks access from users with an invalid or blacklisted "User Agent" header. A User Agent header identifies a software application (such as a Web browser, bot, or spider) used to access a website. Default is on.Allow Translation: Yes No When the "Block Bot Useragents" option is enabled, this option allows access from language translation and similar services operated by search engines. Default is off.Check Headers: Yes No This option analyzes each request header transmitted by users and blocks access when an invalid header is detected. Default is on.Validate Search Engine Bots: Yes No This option blocks bots masquerading as search engine spiders while ensuring that legitimate search engine spiders are allowed access. Default is on.Reverse DNS Lookup IPs: Yes NoCaution: Uses network connections. Will result in slower operation. This option performs a reverse DNS lookup on user IP addresses and cross-references them against additional lists of proxy servers and hosting companies. Default is off.Check Proxy Ports: Yes NoCaution: Uses network connections. Will result in slower operation.Caution: May produce false positives. This option attempts to connect to user IP addresses on the selected proxy ports to detect the presence of a proxy server or other server and then block it. Default is off.Ports:
Optional Error Message, Redirection URL, Or Transparent Mode:
Display Default/Custom Error Message Redirect To URL Transparent Mode - No blocking
Text entered here will be displayed, along with BlockScript's own error messages, to users who have been blocked. Enter a URL instead to redirect users who have been blocked. Click here to preview an example of the current error page in a new window.
Logs & Statistics
Enable Logging:
Yes No
This option enables a diagnostic log that shows who was blocked, when, and why. Logfiles are located in the /tmp directory of this BlockScript installation and are not accessible to the public.
Summary: Date IP Lookups Used IP Lookups Total Logged Events 2025-06-13100,050,000 111 2025-06-14100,050,000 150 2025-06-15100,050,000 128 2025-06-16100,050,000 183 2025-06-17100,050,000 158 2025-06-18100,050,000 142 2025-06-19100,050,000 150 2025-06-20100,050,000 157 2025-06-21100,050,000 140 2025-06-22100,050,000 119 2025-06-23100,050,000 195 2025-06-24100,050,000 152 2025-06-25100,050,000 130 2025-06-26100,050,000 122 2025-06-27100,050,000 167 2025-06-28100,050,000 115 2025-06-29100,050,000 174 2025-06-30100,050,000 144 2025-07-01100,050,000 143 2025-07-02100,050,000 243 2025-07-03100,050,000 5 2025-07-04100,050,000 171 2025-07-05100,050,000 143 2025-07-06100,050,000 136 2025-07-07100,050,000 188 2025-07-08100,050,000 153 2025-07-09100,050,000 162 2025-07-10100,050,000 161 2025-07-11100,050,000 169 2025-07-12100,050,000 172 2025-07-13100,050,000 233 2025-07-14100,050,000 167 2025-07-15100,050,000 161 2025-07-16100,050,000 157 2025-07-17100,050,000 173 2025-07-18100,050,000 151 2025-07-19100,050,000 153 2025-07-20100,050,000 127 2025-07-21100,050,000 159 2025-07-22100,050,000 117 2025-07-23100,050,000 170 2025-07-24100,050,000 151 2025-07-25100,050,000 124 2025-07-26100,050,000 169 2025-07-27100,050,000 133 2025-07-28100,050,000 159 2025-07-29100,050,000 129 2025-07-30100,050,000 136 2025-07-31100,050,000 150 2025-08-01100,050,000 158 2025-08-02100,050,000 141 2025-08-03100,050,000 173 2025-08-04100,050,000 139 2025-08-05100,050,000 155 2025-08-06100,050,000 136 2025-08-07100,050,000 188 2025-08-08100,050,000 144 2025-08-09100,050,000 165 2025-08-10100,050,000 131 2025-08-11100,050,000 163 2025-08-12100,050,000 127 2025-08-13100,050,000 178 2025-08-14100,050,000 152 2025-08-15100,050,000 171 2025-08-16100,050,000 130 2025-08-17100,050,000 128 2025-08-18100,050,000 168 2025-08-19100,050,000 147 2025-08-20100,050,000 125 2025-08-21100,050,000 189 2025-08-22100,050,000 185 2025-08-23100,050,000 153 2025-08-24100,050,000 142 2025-08-25100,050,000 172 2025-08-26100,050,000 160 2025-08-27100,050,000 174 2025-08-28100,050,000 193 2025-08-29100,050,000 166 2025-08-30100,050,000 203 2025-08-31100,050,000 160 2025-09-01100,050,000 195 2025-09-02100,050,000 153 2025-09-03100,050,000 150 2025-09-04100,050,000 147 2025-09-05100,050,000 176 2025-09-06100,050,000 176 2025-09-07100,050,000 153 2025-09-08100,050,000 165 2025-09-09100,050,000 168 2025-09-10100,050,000 176 2025-09-11100,050,000 165 2025-09-12100,050,000 168 2025-09-13100,050,000 161 2025-09-14100,050,000 189 2025-09-15100,050,000 207 2025-09-16100,050,000 158 2025-09-17100,050,000 180 2025-09-18100,050,000 174 2025-09-19100,050,000 140 2025-09-20100,050,000 160 2025-09-21100,050,000 137 2025-09-22100,050,000 141 2025-09-23100,050,000 139 2025-09-24100,050,000 151 2025-09-25100,050,000 132 2025-09-26100,050,000 153 2025-09-27100,050,000 165 2025-09-28100,050,000 167 2025-09-29100,050,000 170 2025-09-30100,050,000 136 2025-10-01100,050,000 130 2025-10-02100,050,000 158 2025-10-03100,050,000 152 2025-10-04100,050,000 153 2025-10-05100,050,000 129 2025-10-06100,050,000 127 2025-10-07100,050,000 150 2025-10-08100,050,000 128 2025-10-09100,050,000 175 2025-10-10100,050,000 134 2025-10-11100,050,000 139 2025-10-12100,050,000 123 2025-10-13100,050,000 169 2025-10-14100,050,000 157 2025-10-15100,050,000 142 2025-10-16100,050,000 127 2025-10-17100,050,000 158 2025-10-18100,050,000 171 2025-10-19100,050,000 125 2025-10-20100,050,000 173 2025-10-21100,050,000 156 2025-10-22100,050,000 162 2025-10-23100,050,000 159 2025-10-24100,050,000 162 2025-10-25100,050,000 156 2025-10-26100,050,000 146 2025-10-27100,050,000 160 2025-10-28100,050,000 133 2025-10-29100,050,000 145 2025-10-30100,050,000 175 2025-10-31100,050,000 160 2025-11-01100,050,000 172 2025-11-02100,050,000 147 2025-11-03100,050,000 185 2025-11-04100,050,000 131 2025-11-05100,050,000 110 2025-11-06100,050,000 180 2025-11-07100,050,000 172 2025-11-08100,050,000 174 2025-11-09100,050,000 119
Days to keep logs: 5 days 10 days 20 days 30 days 40 days 50 days 60 days 70 days 80 days 90 days 100 days 200 days 300 days 400 days 500 days 600 days 700 days 800 days 900 days 1,000 days Blocked Requests By Day: Log Stats: Logged Events Option 18,151 Block Hosting Netblocks 1,763 Block Bot Netblocks 1,152 Countries To Block 936 Block Bot Useragents 411 Check Headers 348 Validate Search Engine Bots 257 Block Suspects 133 Default 18 Block Open Proxies 16 Block Translation 9 System Blacklist 23,194 Total Log Entries 16,876 Unique IP Addresses