Share

About Dynamo Graph Security

You can also access this documentation from within Dynamo. In the top menu, click Dynamo > Preferences > Security > Warning, and click the question mark icon next to the Trust Warning toggle.

A graph must be designated by you as trusted before it can run in Dynamo. In this documentation, a “trusted” graph means that its folder location has been added to the Trusted Locations list, or you have granted it one-time trust.

To minimize risk to your system security, it’s important to only run graphs from sources that you know and trust. You can configure security settings in Dynamo to allow graphs to run from the file locations you choose or remove folders from the Trusted Locations list.

To grant trust

Dynamo will not run an untrusted graph. When a graph from an untrusted location is opened, Dynamo will show a warning, and the run will be blocked. You can choose to grant trust to a graph either on a per-session basis or long-term by selecting different options in the warning dialog (Figure 1 below):

Warning dialog for Dynamo

Figure 1: Warning dialog for Dynamo

To grant temporary trust to the graph, select Yes. This will grant trust until you close the graph. The warning will be shown again the next time you open the graph after closing it.

To grant long-term trust to the graph, select the “Trust this file’s location in the future” checkbox and then click Yes. This will add the graph’s folder to your list of trusted locations and allow you to run the graph. When opening graphs from a folder in your trusted locations, the graph will open normally and the security warning will no longer be displayed, until the folder is removed from trusted locations.

If you select the checkbox and then click “No, close file,” the file location will NOT be added to trusted locations.

Once trust is granted, the graph is no longer blocked, and you’ll be able to run it normally.

To access security settings

You can access security settings in the following ways:

  • When opening an untrusted graph, click Settings in the warning that displays, or
  • Go to Dynamo > Preferences > Security.

In the security settings, you can enable or disable the trust warning and manage your trusted locations.

Warning settings for Dynamo

When a graph from an untrusted location is opened, Dynamo will show a warning dialog (see Figure 1 above), and the run will be blocked. In the Warning section of the Security settings, you have the option to enable or disable the warning dialog. By default, the warning dialog will display when opening untrusted graphs.

We recommend keeping the warning dialog enabled to ensure you are notified when opening a graph from an untrusted location.

Enabling or disabling the warning dialog in Dynamo’s Security Settings will only impact the trust warning dialog in Dynamo, not Dynamo Player, Steel Connections for Dynamo, or Generative Design in Revit.

Trusted file location settings

You can configure trusted locations in the Trusted File Locations section of the Security settings. You can manually add paths to the Trusted Locations list by clicking Add Path. Current trusted locations are listed below the Add Path button. For each path, you can edit it or remove it from trusted locations.

When a folder is removed from the list, a security warning will display when attempting to run a graph from that folder, and the run will be blocked.

Trusted locations in Dynamo Player, Steel Connections for Dynamo, and Generative Design in Revit

Similarly, Dynamo Player, Steel Connections for Dynamo, and Generative Design in Revit will only open a graph or study type that is in a trusted location. When opening an untrusted graph or study type, the applications will also display a warning dialog (see Figure 2 below), and the run will be blocked until you grant trust to the folder.

Warning dialog for Dynamo Player, Generative Design in Revit, and Steel Connections for Dynamo

Figure 2: Warning Dialog for Dynamo Player, Steel Connections for Dynamo, and Generative Design in Revit

In Dynamo Player, Steel Connections for Dynamo, and Generative Design in Revit, individual graphs and study types cannot be granted trust for a one-time run. Instead, to enable graphs or study types, their folder location must be added to trusted locations.

You can add a folder to trusted locations in three ways:

  • Select “Yes, I trust it” in the trust warning.
  • Manage folders in Dynamo Player, Steel Connections for Dynamo, or Generative Design in Revit by clicking the Manage Folders icon at the top of the application. Folders added to the list will also be added to trusted locations in Dynamo.
  • Add the folder to trusted locations in Dynamo (see Trusted File Location Settings, above).

Once trust is granted to a folder, graphs or study types stored in that folder will no longer be blocked, and you’ll be able to run them normally.

If a folder is removed from the Manage Folders list in Dynamo Player, Steel Connections for Dynamo, or Generative Design in Revit, the warning will once again display, and the run will be blocked when opening graphs or study types from that folder.

Please note that adding a folder to your Trusted Locations is not a guarantee by Autodesk that graphs stored in those locations are safe or trustworthy, either now or in the future. You are responsible for the security of your systems and any content that you use with Dynamo, Dynamo Player, Steel Connections for Dynamo, and Generative Design in Revit. Autodesk recommends that you only add graph-storing folders to the Trusted Locations list, or grant one-time trust to a graph, if you can verify their source and are confident that they pose no security risks.

Was this information helpful?