--permission
为当前进程启用权限模型。启用后,以下权限将受到限制:
¥Enable the Permission Model for current process. When enabled, the following permissions are restricted:
-
文件系统 - 可通过
--allow-fs-read、--allow-fs-write标志进行管理¥File System - manageable through
--allow-fs-read,--allow-fs-writeflags -
网络 - 可通过
--allow-net标志进行管理¥Network - manageable through
--allow-netflag -
子进程 - 可通过
--allow-child-process标志进行管理¥Child Process - manageable through
--allow-child-processflag -
工作线程 - 可通过
--allow-worker标志进行管理¥Worker Threads - manageable through
--allow-workerflag -
WASI - 可通过
--allow-wasi标志进行管理¥WASI - manageable through
--allow-wasiflag -
插件 - 可通过
--allow-addons标志进行管理¥Addons - manageable through
--allow-addonsflag