MPS 2023.3 Help

Project security

To prevent potential security risks, MPS lets you decide how to open a project if you're not sure about its source. MPS 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 any project, MPS 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:

Untrusted Project

You can select one of the following actions:

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

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

Trusted locations

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

You can add your home directory to the trusted locations to disable MPS'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 project from one of those locations, MPS will implicitly trust it.

Last modified: 07 March 2024