如何实施沙盒

发布于 2024-10-01 03:33:17 字数 239 浏览 0 评论 0原文

正如我所看到的,Sandboxie 在硬盘上创建了一个虚拟空间,并且允许程序写入。

Sandboxie 演示

这如何实现为软件? 需要覆盖哪些 Windows(内核、shell?)函数?

As I saw Sandboxie makes a virtual space on hard disk and there are allowed the programs to write.

Sandboxie Demo

This how can be implemented as software?
Which windows (kernel,shell ?) functions needed to be overriden?

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

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

发布评论

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

评论(2

人│生佛魔见 2024-10-08 03:33:17

像 Sandboxie 这样的软件基本上为(沙盒)应用程序提供了虚拟执行环境。他们通过虚拟化文件系统和注册表(读/写/删除/执行操作)等来实现这一点。它们也被称为轻量级虚拟机,因为它们为单个应用程序提供类似虚拟机的环境。您可以参考以下页面了解更多信息:
http://sourceforge.net/projects/fvm-rni/(开源应用程序)< br>
http://citeseerx.ist .psu.edu/viewdoc/download?doi=10.1.1.74.1367&rep=rep1&type=pdf(论文)
http://www.ecsl.cs.sunysb.edu/tr/TR224.pdf (纸质)

Software like Sandboxie basically provide a virtual execution environment for (sandboxed) applications. They do this by virualizing file system and Registry (read/write/delete/exec operations) among other things. They are also called feather-weight virtual machines, as they provide a virtual machine like environment for individual applications. You can refer to these pages for more info:
http://sourceforge.net/projects/fvm-rni/ (open source app)
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.74.1367&rep=rep1&type=pdf (paper)
http://www.ecsl.cs.sunysb.edu/tr/TR224.pdf (paper)

心的位置 2024-10-08 03:33:17

我不知道Sandboxie是如何做到的,但通常的方法是通过 文件系统过滤器驱动程序:

文件系统过滤驱动拦截
针对文件系统的请求或
另一个文件系统过滤驱动程序。经过
拦截之前的请求
达到预定目标,
过滤器驱动程序可以扩展或替换
原版提供的功能
请求的目标。

I don't know how Sandboxie does it, but the usual way is through File System Filter Drivers:

A file system filter driver intercepts
requests targeted at a file system or
another file system filter driver. By
intercepting the request before it
reaches its intended target, the
filter driver can extend or replace
functionality provided by the original
target of the request.

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