是否有适用于 Windows 平台的轻量级、可编程的 Sandbox API?

编程入门 行业动态 更新时间:2024-10-24 01:49:53
本文介绍了是否有适用于 Windows 平台的轻量级、可编程的 Sandbox API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

为了在家里运行不受信任的代码,我使用了 VMWare 虚拟机.我想找到一个替代的轻量级沙箱 API 来运行不受信任的应用程序,而无需安装 VMWare 或任何其他类型的最终用户虚拟化工具.(我不希望它托管操作系统 - 我希望它运行不受信任的应用程序.

To run untrusted code at home I use a VMWare virtual machine. I want to find an alternate lightweight sandbox API for running untrusted applications, without the overhead of installing VMWare, or any other kind of end-user virtualization tool like that. ( I don't want it to host an OS - I want it to run untrusted apps).

理想情况下,沙箱应该是(或可以做成)透明的,因此在沙箱中运行的应用程序不会显示任何额外的 chrome 或功能.(他们不是在 Mac 上的 Parallels 中执行此操作吗)

Ideally the sandbox would be (or could be made) transparent so the app running in the sandbox doesn't display any extra chrome or features. (Don't they do this in Parallels on the Mac)

我的 Windows .NET 开发人员希望有一个 API,这样我就可以为它编写脚本而不是启动一个特殊的 GUI.

The Windows .NET developer side of me wishes for an API so instead of booting up a special GUI, I can script scenarios for it.

这就像 Google Chrome 网络浏览器如何包含自己的技术来沙箱从 Internet 运行的脚本以保护系统.Google 不需要将 VMWare 与他们的浏览器一起分发,但他们却为应用实现了沙盒安全.

It would be like how the Google Chrome web browser contains its own technology to sandbox scripts running from the Internet to protect the system. Google doesn't need to distribute VMWare with their browser and yet they achieve sandbox security for apps.

寻找像谷歌浏览器这样的轻量级产品,其中包含非常受限的文件/网络/用户界面访问、低权限等功能.而不是寻找运行/托管自己的操作系统.

Looking for something lightweight like Google Chrome contains with features like greatly restricted file/network/UI access, low privileges, etc. Not looking for running/hosting its own OS.

推荐答案

不,没有.

我的意思是,您可以使用不同的 Windows 帐户(具有您认为合适的任何权限),但是您需要确信不受信任的应用程序无法突破该帐户.但是您在使用 VMWare 时确实遇到了同样的问题(它过去曾出现过让您崩溃的错误).最好的办法是在虚拟机中运行.

I mean, you can use a different Windows account (with whatever permissions you consider appropriate), but then you need to be comfortable that the untrusted app can't break out of that. But you do have that same problem with VMWare (it has had bugs in the past that let you break out). Best thing to do is run in a Virtual Machine.

更多推荐

是否有适用于 Windows 平台的轻量级、可编程的 Sandbox API?

本文发布于:2023-06-04 08:35:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/493352.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可编程   适用于   平台   API   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!