Get Free Trial

Possible way to lock a specific report on password?

Answered
Daniel Klenovič asked on May 10, 2022

Hello,
I would like to know, if there is any built-in function to lock a specific report on password/credentials? Something like a dialogue that pops up after trying to open a report and defined password is needed.
Thank you very much in advance.

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 11, 2022

Hello, Daniel,

Thank you for contacting us.

Please note that locking a specific report on a password is not supported out of the box.
However, you can add your own logic to protect the report. Since each report is a JSON file/object, you can define where to save and how to load reports in your application.
For example, if your user chooses the report via external UI control, you can add to it any necessary verification. In case you plan to load a remote report via the load API call, you can specify request headers:

flexmonster.load("http://yourserverwithauth.com/report_json.php", 
    {
        AuthToken: "XXXX"
    }
);

You are welcome to check our documentation for reference: https://www.flexmonster.com/api/load/ 
We hope it helps.

Kind regards,
Nadia

Please login or Register to Submit Answer