DataSpell 2024.1 Help


To prevent potential security risks, DataSpell lets you decide how to open a project if you're not sure about its source. DataSpell warns you about tasks or configurations that will be executed during the opening process and lets you configure sources that you can trust.

Open a project from unknown sources

When you open attach or clone remote directories, DataSpell immediately lets you decide how to handle a project that contains unfamiliar source code.

Every time you open a project for the first time, the IDE shows the Trust Project dialog. This helps to ensure that the project is safe to perform the following actions:

Trust Project dialog

You can select one of the following actions:

  • Preview in Safe Mode: in this case, DataSpell opens the project in Safe Mode, meaning you can browse the project's sources, but there are restrictions in running any notebooks or scripts. .

    DataSpell notifies you about Safe Mode on top of the editor area. You can click the Trust project link and load your project at any time.

  • Trust Project: in this case, DataSpell opens and initializes the project, resolves project plugins, adds dependencies, and enables all DataSpell features.

  • Don't Open: in this case, DataSpell cancels the action.

Startup tasks

When you open a project created on a different machine, it might contain some scripts or tasks that are executed during the opening process. If such tasks are found, DataSpell displays a notification suggesting that the code you are about to execute might be harmful.

You can review what tasks will be executed and modify the settings.

Review the startup tasks

  1. In the Settings dialog (Ctrl+Alt+S) , go to Tools | Startup Tasks.

  2. On the Startup Tasks settings page, you can review and modify the startup tasks.

Trusted locations

You can configure what sources DataSpell should consider safe and load such projects automatically during the opening process.

You can add your home directory to the trusted locations to disable DataSpell's warnings about untrusted projects.

Configure trusted locations

  1. In the Settings dialog (Ctrl+Alt+S) , go to Build, Execution, Deployment | Trusted Locations.

  2. On the Trusted Locations settings page, specify the local directories that the IDE should trust. Click OK to save the changes.

    Trusted Locations

    The next time you open a directory from one of those locations, DataSpell will implicitly trust it.

Last modified: 29 March 2024