Security Profiles - Conditions

Applies to Security Profiles.

imgEach security profile has an "Always" condition. This means that the actions associated with that condition are always executed.

imgWhen you add a new condition, the following window appears:

img

Select the kind of condition you want to create, fill in the fields (when required) and press OK to continue.

img

WARNING:  the Trial and Registered modes + "following certificate(s) active" options are only supported if you create a restricted publication.

imgThe "following certificate(s) is/are active" condition allows you to make different registered editions of your publication. For example, you could lock some HTML pages or PDF documents if the current certificate is the "Default" one (in this case, you know that the publication is not registered). Moreover you can go further by making one certificate per edition, each certificate unlocking a given number of pages.

When this option is active, use the list to indicate which certificate(s) should be checked. Use the checkboxes to select/unselect certificates.

img About certificates

imgThe best way to create a new condition is to use an HEScript Boolean function. A Boolean function returns True or False, so this is enough to create a new condition. If the HEScript Boolean function returns true, then the associated actions will be executed.

img Creating an HEScript script

imgIf you prefer to work with publication global variables, you can use the third option. In this case, you must enter the global variable's name and the value the latter should have to consider the condition to be fulfilled. This is not case-sensitive.

img Working with global variables

img

IMPORTANT: please keep in mind that a condition cannot be edited once it has been created. If you want to modify an existing condition, you will first need to delete it and create it again.

img Return to Security Profiles


About

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.

Learn more - Free Trial