Navigation: Learn About All Features  > Security >

Security Profiles





Security profiles are a powerful security feature in HTML Executable. They allow you to group pages of your ebook or publication into "profiles". These determine the accessibility of a page based on certain conditions such as a password, trial publication, certificates, script function result, and so on. They also dictate the actions that end users are allowed to perform when viewing the page, including copying text, printing pages, copying images, and more.



Description of Security Profiles


A security profile contains one or more "conditions": when a condition is fulfilled (if .... is True), the associated actions are executed (then do .....).


Security profiles are linked with HTML pages and/or PDF documents. When a page is requested, the publication first loads its security profile, then analyses the different conditions. If any of these conditions are met, their corresponding actions are executed.


📢 IMPORTANT: Security profiles only work for PDF documents if the built-in PDF viewer is activated.


Goal of Security Profiles


Security profiles can be employed for a variety of purposes. Here are some examples:


You can create a security profile that password-protects pages. If an end user fails to provide the correct password when prompted, the page is not displayed. See the steps for this example.

You could disable the print function for a group of pages.

You can effortlessly disable the "Copy to Clipboard" functions.

If you create trial or restricted ebooks or publications, you can lock certain chapter pages in the demo version of your ebook. You can then send a key to registered end users to unlock the remaining chapters.


For a detailed example of working with security profiles, including an animated tutorial, sample projects, and a complete ebook, visit Be sure to grab a copy!


Managing Security Profiles


To manage security profiles, navigate to the "Application Behavior - Security Profiles" page.


Before you assign security profiles to HTML pages, you must first create them. These profiles are managed using the tree editor, as depicted below:


ØTo add a security profile, simply click 'Add' and select 'Add New Security Profile'. Each new security profile is created with a condition named "Always".

ØTo add a new condition, select the profile you wish to modify, press 'Add', and select 'Add New Condition'. You will be prompted to determine the condition (see conditions of security profiles).

ØFinally, you can configure the actions, restrictions or page locking of a given condition by clicking 'Configure'.

ØTo remove an action, a condition, or a security profile, select it and press 'Remove'. Note that the 'Always' conditions and the 'Default' profile cannot be removed.


Associating Security Profiles to HTML Pages and PDF Documents


Once your security profiles are ready, go to the File Manager, select the HTML page(s) you want to modify and click 'Properties'. The File Properties editor will appear, select the Security tab and choose the security profile you want to assign to the selected HTML page(s) or PDF document(s).


Conditions of Security Profiles


Please see the dedicated topic about conditions of security profiles.


Actions, Restrictions, and Page Locking


Please see the dedicated topic about actions and restrictions of security profiles.