Template Encryption

  • Last update:August 18, 2024
  • Overview

    Version

    Report Server

    11.0

    Function Description

    Admins integrate FineReport reports into their products and provide them to end users who can preview FineReport reports but cannot open the templates for designing or modifying.

    FineReport offers a report DES encryption function to meet this need. The function is to encrypt templates before they are integrated into the system. If other users want to open the templates for designing or modifying, they need to enter the password. This document introduces how to use the template encryption function.

    iconNote:
    For the FineVis Data Visualization plugin of 2.7.0 and later versions, FVS templates can be decrypted and opened normally. For versions earlier than 2.7.0, encrypted FVS templates will appear as blank templates (.cpt) after being opened.

    Encryption Procedure

    Password Setting

    Log in to the decision-making platform as the admin and enter the link http://localhost:8075/webroot/decision/view/report?op=ecp into the browser address bar to navigate to the template encryption page.

    Set an encryption password (6-16 characters, supporting letters and numbers).

    2065aee6f4689d7ec97cd90ff0155b7.png

    Template Backup

    If you select Template Backup Before Encryption, a path selection box for storing backup files will appear on the homepage, as shown in the following figure.

    iconNote:

    1. You must back up templates before encryption.

    2. The backed-up templates can only be saved to the report project directory %FR_HOME%\webapps\webroot.

    3. All reports within a project will be encrypted together. You cannot encrypt only one template at a time.

    8477a255ce720a9862fc6d44892369b.png

    Template Encryption

    Click OK to encrypt all templates in the project. The message "Encrypted Successfully." will pop up after the encryption is finished.

    26d5c74b7a03268a68ca0dbc8ced0e5.png

    After the encryption is finished, an encryption.key file will be generated in %FR_Home%\webroot\WEB-INF\resources.

    Encryption information is stored in the encryption.key file which cannot be deleted. If you delete the file, all templates in the project will become unusable.

    eafaa1ac97486977dd95916c0c22683.png

    Project Restart

    After confirming that the encryption is successful, you need to restart the report project for the encryption to take effect.

    Effect Display

    When you open a template in the designer, a dialog box for password entering will appear.

    iconNote:
    After you enter the correct password, all templates in the project on the local computer will not require you to enter the password again.

    8fbe8848870e93e3136b2ab42b96ecd.png

    Password Modification

    If you need to modify the password, you can log in to the decision-making platform as the admin and enter the link http://localhost:8075/webroot/decision/view/report?op=ecp into the browser address bar.

    FineReport will read the first template in the reportlets folder of the current project to determine if it is encrypted.

    1. If the template is not encrypted, you will be redirected to the template encryption page. For details, see section "Encryption Procedure."

    2. If the template is encrypted, you will be redirected to the template re-encryption page. The password setting procedure is consistent with that described in section "Encryption Procedure."

    313b8c876d2a17dae4f9faff9bb428b.png

    Template Decryption

    If you need decryption, you can log in to the decision-making platform as the admin and enter the link http://localhost:8075/webroot/decision/view/report?op=ecp into the browser address bar.

    After entering the old password, you need to set the new password to decode and click Start Encryption. Then the message "Template Decryption Success" will pop up after the decryption is finished.

    You can access templates without restarting the project.

    95ebbce0bc80f46e5271fbcc5a986b3.png

    Attachment List


    Theme: Decision-making Platform
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy