|
Step5 - Binding options |
Top Previous Next |
|
Expiry date
'Scripts will timeout on' - click on calendar icon to choose the date when you want to set an expiration date for the script. At the left side you will see the hint showing how many days are left from today's date. The script will not run on and after the specified date and comes with the error message: "script has expired".
Binding
'Bind to IP(s)' - bind script to an ip/mask. The encoder will lock the script to run only from the specified IP address(es). The specified IP address mask will be applied to the real IP address before comparing. So you may use this option to lock the script to a multiple IP if mask is specified. If run from not allowed IP script will come with the error message: "script cannot run on this machine" You may add as many IP address/mask pairs as you want using editor. Press '+' button if you need to add another IP/Mask pair (or press down arrow on keyboard while in editor). Press '-' button if you want to delete current IP/Mask pair.
IP address mask 255.255.255.255 is used by default if not specified.
Bind to hostname: - you can bind the script to a domain name. The Encoder will lock the script to run only from the specified domain and all sub domains. If an attempt is made to run the script on a non-authorised domain, the following error message will be displayed: "script cannot run on this machine". You may add as many domain names as you want.
Hint: use the name of the main domain in this option, not the name of any sub domain until you are sure you need to lock to a sub domain.
Example 1: mydomain.com
The script will run from mydomain.com, www.mydomain.com, myname.mydomain.com etc but will NOT run from otherdomain.com, www.otherdomain.com, otherdomain.net etc.
Example 2: www.mydomain.com
Script will run ONLY from www.mydomain.com. It will not run on the Main domain mydomain.com and all other subdomains like myname.mydomain.com as well as other domains like otherdomain.com, www.otherdomain.com, otherdomain.net etc. |