| Validation of User Licenses |
HTML Executable lets you add a license validation to your ebooks or publications. Validation is a process that checks the validity of the end user's registration key before letting him access the ebook. Since it can be performed periodically, validation allows you to control the use of your ebook: for instance, you can remotely block access to your publication in case of fraudulent purchases or refunds.
To add a validation process to your ebook, go to the Certificate Manager, double-click on a certificate and choose the "Validation Properties" tab as shown below:
About the validation processThe validation process is automated: the publication interacts with the activation server automatically. To perform validation, the publication sends the activation key, the registration key and the unique system ID to the activation server. No private personal data is sent. The latter checks the received information and looks for the user's account in the databases. If the account is marked as "blocked" or if an error occurs, validation is negative. Otherwise, validation is positive and the activation server returns a validation code. The publication finally checks this validation code and determines whether access is granted or not. Validate the user keyYou can choose the validation frequency. For example, you can check the validity every X times the publication is run. In that case, you have to enter the value for X (an integer such as 3). For advanced users, you have two ways to customize the validation process:
...
if not RunSimpleBooleanFunc("Trial.DoServerValidate", false) then
begin
// Actions to perform when the validation was unsuccessful, for instance display an error
// message and exit publication: ExitPublication;
ShowMessage("Could not validate your license. Please ensure you have a valid subscription");
ExitPublication;
end;
function OnKeyValidation: Boolean; begin Result := True; // Returns True to perform validation end; If the key cannot be validatedSelect the action that should be performed if the validation is unsuccessful:
function OnKeyNotValidated: Boolean;
begin
MessageBox("This program will close now because it could not verify your license", "User Error", MB_OK);
Result := True; // Returns True to exit the program
end;
|
This is the online documentation of HTML Executable.
About HTML Executable
HTML Executable is a versatile HTML compiler and ebook compiler: it lets you create secure ebooks and desktop applications with your websites, HTML or PDF documents.
You can easily create attractive ebooks, full-featured HTML applications (RIA) and software, digital publications from your websites, PDF files and HTML documents for online or offline distribution.