--permission
为当前进程启用权限模型。启用后,以下权限将受到限制:
【Enable the Permission Model for current process. When enabled, the following permissions are restricted:】
- 文件系统 - 可通过
--allow-fs-read、--allow-fs-write标志进行管理 - 网络 - 可通过
--allow-net标志管理 - 子进程 - 可通过
--allow-child-process标志管理 - 工作线程 - 可通过
--allow-worker标志管理 - WASI - 可通过
--allow-wasi标志管理 - 插件 - 可通过
--allow-addons标志管理