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 2024-02-03100,050,000 157 2024-02-04100,050,000 124 2024-02-05100,050,000 164 2024-02-06100,050,000 161 2024-02-07100,050,000 144 2024-02-08100,050,000 165 2024-02-09100,050,000 163 2024-02-10100,050,000 153 2024-02-11100,050,000 141 2024-02-12100,050,000 141 2024-02-13100,050,000 137 2024-02-14100,050,000 165 2024-02-15100,050,000 136 2024-02-16100,050,000 147 2024-02-17100,050,000 148 2024-02-18100,050,000 137 2024-02-19100,050,000 122 2024-02-20100,050,000 140 2024-02-21100,050,000 153 2024-02-22100,050,000 149 2024-02-23100,050,000 159 2024-02-24100,050,000 131 2024-02-25100,050,000 133 2024-02-26100,050,000 159 2024-02-27100,050,000 135 2024-02-28100,050,000 154 2024-02-29100,050,000 167 2024-03-01100,050,000 161 2024-03-02100,050,000 140 2024-03-03100,050,000 123 2024-03-04100,050,000 140 2024-03-05100,050,000 160 2024-03-06100,050,000 158 2024-03-07100,050,000 138 2024-03-08100,050,000 144 2024-03-09100,050,000 124 2024-03-10100,050,000 112 2024-03-11100,050,000 128 2024-03-12100,050,000 112 2024-03-13100,050,000 134 2024-03-14100,050,000 123 2024-03-15100,050,000 98 2024-03-16100,050,000 139 2024-03-17100,050,000 130 2024-03-18100,050,000 145 2024-03-19100,050,000 135 2024-03-20100,050,000 108 2024-03-21100,050,000 147 2024-03-22100,050,000 170 2024-03-23100,050,000 107 2024-03-24100,050,000 128 2024-03-25100,050,000 127 2024-03-26100,050,000 135 2024-03-27100,050,000 148 2024-03-28100,050,000 124 2024-03-29100,050,000 136 2024-03-30100,050,000 130 2024-03-31100,050,000 135 2024-04-01100,050,000 163 2024-04-02100,050,000 102 2024-04-03100,050,000 151 2024-04-04100,050,000 143 2024-04-05100,050,000 136 2024-04-06100,050,000 153 2024-04-07100,050,000 131 2024-04-08100,050,000 140 2024-04-09100,050,000 161 2024-04-10100,050,000 201 2024-04-11100,050,000 170 2024-04-12100,050,000 160 2024-04-13100,050,000 192 2024-04-14100,050,000 163 2024-04-15100,050,000 156 2024-04-16100,050,000 188 2024-04-17100,050,000 163
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 8,939 Block Hosting Netblocks 695 Block Bot Netblocks 421 Countries To Block 352 Check Headers 153 Validate Search Engine Bots 149 Block Bot Useragents 63 Block Suspects 15 Default 6 Block Open Proxies 3 Block Translation 1 Block Tor 10,797 Total Log Entries 7,766 Unique IP Addresses