TN 026: Blocking the Downloading of Report Files from the Dream Report Web Portal

Summary

There are certain situations where you may need to block the downloading of report files from the DR Web Portal to local computers – e.g., if the web portal is embedded in an HMI, and you wish to restrict access to the local operating system or local drives. This document describes how to block the downloading of report files in the .pdf and .xls formats from the Dream Report Web portal, when it is used with Microsoft Internet Explorer or Google Chrome web browsers.

The downloading of report files form the Dream Report Web portal is not a built-in functionality of Dream Report, so to prevent the downloading, the corresponding features have to be disabled on a browser side.

Blocking Report Files Downloading in Microsoft Internet Explorer

  • Open Internet Explorer and click on Tools on the menu bar. Select Internet Options.

  • In the Internet Options window, click on the Security tab and then click on the Custom Level button – refer to the following image:

  • In the Settings box, scroll down to the Downloads section and locate an option titled File Download.  Change this option from Enabled to Disabled. Click the OK button.

  • Internet Explorer asks if you want to change the settings for this zone. Click OK.

  • Return to the Security tab, and repeat the two previous steps for Local intranet and Trusted sites.

Blocking Report Files Downloading in Google Chrome

  • This procedure is supported on:

    • Google Chrome (Linux, Mac, Windows) since version 61

    • Google Chrome OS (Google Chrome OS) since version 61.

  • Open Windows Registry editor, and go to the \HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome folder

  • Add a new key:
    Name: DownloadRestrictions
    Data type: Integer [Windows:REG_DWORD]

  • When the value is 3 (Block all downloads), all downloads are blocked.  Other values are:
    0 = No special restrictions
    1 = Block dangerous downloads
    2 = Block potentially dangerous downloads.