对代码的安全和权限要求

发布于 2025-02-11 13:29:32 字数 205 浏览 1 评论 0原文

我在一个政府组织中,因此是一个相当锁定的环境。我可以获得VS代码和扩展名,但是我必须填写一份要求和理由的表格。我有理由的理由,并且对技术要求有很好的处理,但是我不确定要打开或授予哪些安全/权限例外。例如,我什至无法写入我的临时文件夹。如果我想这样做,我需要提出请求并证明其合理性。好吧,这个请求比在我的临时文件夹上读取/写入更为复杂和详细。我的问题是,我需要请求哪些本地权限,开放端口和库的执行?

I am in a government organization and thus a pretty locked-down environment. I can get VS Code and extensions, but I have to fill out a form for requirements and justification. I have the justification down and I have a good handle on the technical requirements, but I am not sure of what security/permission exceptions to open or grant. For example, I cannot even write to my temp folder. If I wanted to do so I would need to make a request and justify it. Well, this request is much more complicated and detailed than granting read/write on my temp folder. My question is, what local permissions, open ports, and execution of libraries would I need to request?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

勿忘初心 2025-02-18 13:29:32

我建议在其 Portable模式中安装VS代码。那么(!)不需要任何其他目录即可在默认温度DIR之外写入 - 您还可以将其放入VS代码安装目录中。

启用便携式模式:

  1. 下载一个VS代码提取的ZIP软件包
  2. 该文件夹​​内的文件夹中创建一个名称data的目录

以添加TMP DIR:

  1. 在新创建的数据文件夹内部创建一个名为TMP的目录

I would suggest to install VS Code in its portable mode. Then it should(!) not need any other directories to write on besides the default temp dir - which you can also put into the vs code install directory.

To enable portable mode:

  1. Download a zip package of VS code
  2. Extract to a folder
  3. Inside that folder create a directory named data

To add the tmp dir:

  1. Inside the newly created data folder create a directory named tmp
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文