Successfully!

Error!

Template Encryption

  • Last update:  2020-12-16
  • I. Overview

    1) With FineReport templates integrated into your product, you may need end-users to preview templates only, rather than modify or update.

    2) With the CPT template encryption feature, unauthorized end-users will have to input a password when carrying out modifications.

    3) CPT template encryption mode applies to all templates within your project.

    II. Instructions for Encryption

    1. Log in as an Administrator

    1) Go to the encryption setting page: http://localhost:8075/webroot/decision/view/report?op=ecp

    2) If you access the resource as a visitor or regular user, the login interface of the decision-making system will appear requesting an administrator login.


    2. Password Settings

    1) After successfully signing in with the administrator account, you will be redirected to the encryption setting page, where you can set up the encryption password as shown below.

    2) Password must have 6 to 16 characters in length, supporting alphanumeric characters only.

    3) Check "Backup the template before encryption" to make a backup in advance.

    4) Set up the password and click on "Start to encrypt".

    Note: The encrypted files will be irreversibly converted into ciphertext. Please backup the templates before encryption.



    3. Template Backup and Encryption

    1) To make a backup, click on "Start to encrypt" and a selection box will be displayed for storage path settings.

    2) Templates can only be backed up to folders under %FR_Home%\webapps\webroot.

    3) Click OK. FineReport will encrypt all the templates within your project, and will display a pop-up that prompts "Encrypted successfully" if everything goes well.

    Note: With CPT template encryption successfully configured, a file named "encryption.key" that stores the encrypted information will be automatically generated under %FR_Home%\webroot\WEB-INF\resources. Please don't delete the file. Otherwise, all the templates within your project will be unavailable.


    4. Preview Results

    1) Restart the designer. Double click the encrypted template and input the password as required.

    2) You are allowed to preview the template only with the correct password.

    Note: Once entered the correct password, you are no longer required to do it again to view all templates on your report server.


    III. Instructions for Re-encryption

    To re-encrypt the templates, go to http://localhost:8075/webroot/decision/view/report?op=ecp, type in the old password and you can reset the encryption.

     


    Attachment List


    Theme: Decision-making Platform
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback