Skip to main content

How To: Protect visualizations

Various protection mechanisms are available for visualization projects, depending on the technology used.

Protection of the source code

The same protection options apply to a visualization project as for any other CODESYS project.

For more information, see the following: How To: Protect the development and source code

Protection when using a TargetVisu

When the visualization is displayed on a panel, communication between the controller and the display unit should always be encrypted. To do this, use a certificate to safeguard the connection.

For more information, see the following: How To: Protect communication to the remote TargetVisu

Protection when using a WebVisu

In the case of a WebVisu, you need to protect your system particularly against the risks of Internet-based communication (for example, remote access, remote monitoring, and diagnostic functions). The web browser communicates with SSL encryption via JavaScript with the web server of the controller and displays the visualization in HTML5. Protect both the connection and the used HTML5 elements by taking the following measures:

  • Access restriction: Use the runtime-based user management, which can be specifically configured for visualization access.

    For more information, see the following: How To: Use user management to protect visualizations

  • Safeguarding of HTML5 controls: Sign HTML5 controls in the visualization element repository to prevent unauthorized access in online mode.

    For more information, see the following: How To: Sign HTML5 controls

  • Encrypted communication: Set up an HTTPS connection between the web server and the visualization client to protect data transmission via SSL/TLS.

    For more information, see the following: How To: Protect communication to the WebVisu

If interested, see also: Login Procedure on the Display Variants