mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
@@ -704,6 +704,13 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
|
||||
'markdownDescription': localize('security.allowedUNCHosts', 'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'),
|
||||
'included': isWeb ? true /* web maybe connected to a windows machine */ : isWindows,
|
||||
'scope': ConfigurationScope.MACHINE
|
||||
},
|
||||
'security.restrictUNCAccess': {
|
||||
'type': 'boolean',
|
||||
'default': true,
|
||||
'markdownDescription': localize('security.restrictUNCAccess', 'If enabled, only allowes access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'),
|
||||
'included': isWeb ? true /* web maybe connected to a windows machine */ : isWindows,
|
||||
'scope': ConfigurationScope.MACHINE
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user