-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
System
C:\>ver
Microsoft Windows [Version 10.0.19045.4780]
C:\>code --version
1.92.2
fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
x64
Description
When I open some files in an untrusted workspace, the following banner pops up:
Transcribed for searchability:
Do you trust the authors of the files in this folder?
Creating a terminal process requires executing code
If you don't trust the authors of these files, we do not recommend continuing as the files may be malicious. See our docs to learn more.
I would like to request the ability to disable this pop-up. To clarify, I very much want to keep the workspace untrusted and I very much want to prevent the creation of a terminal session, I just don't want to be prompted about it. I have the following settings enabled already:
{
"security.workspace.trust.startupPrompt": "never",
"security.workspace.trust.banner": "never",
}but neither achieves the desired result.
In a recent session, this banner actually became a potential security risk; as I had assumed to be rid of the banner, I started typing immediately after opening the file. I happened to press Space in the exact moment that this banner popped up, confirming the default selection to trust the workspace, which was absolutely not what I intended.
