Visitor IP BanningThe below form generates the appropriate .htaccess code to ban visitor(s) from your site based on their IP address. You can enter a partial IP address (see "Valid Entries" below) to catch all IP addresses that contain the partial IP within it. Separate each IP address with a line break, so each IP occupies its own line. Enter User IPs to ban, each separated by a line break: |
Examples of valid entries:In general a valid IP should be in the format
FYI, your IP is: 94.87.15.185 Be careful when banning entire ranges of IPs, as you may also be blocking legitimate traffic! The syntax for a valid IP is in fact very broad and complex depending on your needs. Note that the above form currently only accomodates the basic syntax above. Please Email Us if you'd like a specific IP syntax to be supported (include example please). |
Site Referrer BanThe below form generates the appropriate .htaccess code to ban visits originating from certain domains. For example, if an undesirable domain is showing up a lot in your web site referrer logs, you can ban that domain so any traffic coming from it- human or otherwise- is blocked. Separate each domain with a line break, so each domain occupies its own line. Enter list of domains to ban. Do NOT include the "www." portion! |
Examples of valid entries:
|
Disable HotlinkingThe below form generates the appropriate .htaccess code to disable hot linking of common file types from other sites, so only your own domain(s) are allowed to reference/ access them. For example, by disabling hotlinking on .gif files, any site not within the allowed list of domains will get a broken image when they try to reference a .gif file that's on your server. Enter a list of ALLOWED domains/ site IPs below that will be allowed to access the specified file types (see second text box) on this server. Then in the second text box, fill out the desired file types that are subject to "no hotlinking" by all domains thar aren't on the list of allowed domains. Enter list of allowed domains/ site IPs. Do NOT include the "www." portion!:Enter list of file types (its extension) that should be disallowed from hotlinking: |
Examples of valid entries:-For "Allowed Domains/ IPs"
-For "List of File Types"
|
Deny browser access to generated .htaccess file. Not necessary unless .htaccess file is uploaded to a web accessible directory on your site AND server isn't configured to disable browser access to it (most servers are).