权限


【Permissions】

权限可以用来控制 Node.js 进程可以访问哪些系统资源,或者进程可以对这些资源执行哪些操作。权限还可以控制其他模块可以访问哪些模块。

【Permissions can be used to control what system resources the Node.js process has access to or what actions the process can take with those resources. Permissions can also control what modules can be accessed by other modules.】

  • 基于模块的权限 控制在应用执行期间其他模块可以访问哪些文件或 URL。这可以用于控制第三方依赖可以访问哪些模块,例如。

如果你发现潜在的安全漏洞,请参考我们的 安全策略

【If you find a potential security vulnerability, please refer to our Security Policy.】