Applies to HTML Viewer, IE Browser publications.
Security profiles are a high-level security feature of HTML Executable. They let you group pages of your ebook or publication into “profiles” that determine whether a page may be accessed (given some conditions like password, trial publication, certificates, script function result…) and what end users are allowed to do when viewing this page (usual actions like copying text, printing page, copying images, etc…).
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 associated with HTML pages and/or PDF documents. When a page is being requested, the publication first loads its security profile, then analyzes the different conditions and when one or more of the latter are fulfilled, their related actions are executed.
IMPORTANT: security profiles only work for PDF documents if the built-in PDF viewer is activated.
Security profiles may be used for a lot of reasons. Here are some examples:
You can create a security profile that password protects pages. When such a page is requested, the end user is prompted for the password. If he/she fails to give the right password, the page is not displayed. See the steps for this example.
You could forbid the print function for a group of pages.
Easily disable Copy to clipboard functions.
If you create Trial/restricted publications, you may lock some chapter pages of the demo version of your ebook. When an end user registers, you send him/her a key that unlocks the remaining chapters.
A detailed example about how to work with security profiles (with an animated tutorial, sample projects and a full ebook) is available at https://www.htmlexe.com/samples. Be sure to grab a copy!
Choose 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 shown below:
To add a security profile, just click Add and select Add New Security Profile. Each security profile is created with a condition named “Always”.
To add a new condition, select the Profile you wish, 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 can’t be removed.
When your security profiles are ready, go to the File Manager, select the HTML page(s) you want and click Properties. The File Properties editor will appear, select the Security tab and the security profile you want to assign to the selected HTML page(s) or PDF document(s).
Please see the dedicated topic about conditions of security profiles.
Please see the dedicated topic about actions and restrictions of security profiles.
Copyright G.D.G. Software 2019. All rights reserved