SoftwareShield
System Feature Guide > License Recovery > Auto-Recover
Auto-RecoverBefore reading the rest of this page, you should already understand the basics of license recovery. If not, please read License Recovery in this Feature Guide. Auto-Recover is an option you can set in your license project before you compile it for distribution. When set, in the case that an inconsistent state arises which could possibly be recovered from using this option, an attempt to do so is made. If you enable this option, an attempt to Auto-Recover will be made if:
To best understand when and where a license will be Auto-Recover during the scope of the StartUp call, please have a copy of the SoftwareShield ClientProtector Control Flow Charts on hand as you read the rest of this section. If one of the above inconsistent states arises and you have set the option to Auto-Recover, the following occurs:
Note that Auto-Recover will synchronize all the Alias Files with the current Main License File, regardless of its state. This happens even if one of the Hidden Alias Files (for example) was actually a more recent copy of the license and it contained the true state of the license before the inconsistent state arose. Example
Using the Auto-Recover option requires no user intervention if one of the above mentioned inconsistent states arises. While this is convenient for you and the user, it is not highly secure because a cracker may be able to make repeated attacks on your software to observe its behaviour without the need to contact you to recover it. It is important to consider the tradeoffs here and make a careful decision about its use. More InformationFor help on actually setting the Auto-Recover option in your license, see License Behaviour Tab in the SoftwareShield License Manager Reference. For help on understanding the flow of control during the call to StartUp and how the logic behind Auto-Recover works, see SoftwareShield ClientProtector Control Flow-Charts in the ClientProtector Reference. |