Text file configuration format

HotlinkBlocker uses text format configuration files to store its settings. You may edit these files manually, this is especially useful if you are using manual install of HotlinkBlocker.

Configuration file should have the same filename as a DLL file but with a .ini file extension ( by default it is HotlinkBloker.ini ) and should be placed in the same directory among with the DLL file. There is an example file in the HotlinkBlocker installation package. The following is a list of configuration directives with short explanation:

RegistrationName=
RegistrationCode=

Put your registration name and code in these directives to unlock trial limitations.

Signature=

Put a unique signature here, it will be used as a private key to sign URLs in a LINK and REDIRECT protection mode. All ANSI characters are allowed. We recommend you to generate a new GUID and put it there.

LinkExpires=

Link expiration time in seconds when working in LINK protection mode.

DoNotInvolveIP=True

Forces HotlinkBlocker not to use client IP address for signature generation and verification.

[Protect]

Section that should contain protection instructions. Every instruction comes on a separate line and include fields separated by spaces. Here is a format:

ProtectionType DirectoryMask optRedirectURI

Here is a few examples of possible records in this section:

[Protect]
LINK /wall
REFERER /images http://www.mysite.com
REDIRECT /swf

[ReferersBlackList]

Section containing referrers black list separated by a new line.

[ReferersWhiteList]

Section containing referrers white list separated by a new line.

[UserAgentsBlackList]

Section containing User-Agents black list separated by a new line.

[UserAgentsWhiteList]

Section containing User-Agents white list separated by a new line.

© 2002 - 2007 Helicon Tech. All rights reserved.