From d6921500cc5ffed898252133e2e6be41d92d0205 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Fri, 7 Jun 2024 20:39:52 -0400 Subject: [PATCH] doc: remove mentions of policy model from security info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/53249 Reviewed-By: Luigi Pinca Reviewed-By: Marco Ippolito Reviewed-By: Michael Dawson Reviewed-By: Matteo Collina Reviewed-By: Rafael Gonzaga Reviewed-By: Ulises Gascón Reviewed-By: James M Snell --- doc/contributing/security-model-strategy.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/doc/contributing/security-model-strategy.md b/doc/contributing/security-model-strategy.md index 42caadc8deb856..d0ccca10032d28 100644 --- a/doc/contributing/security-model-strategy.md +++ b/doc/contributing/security-model-strategy.md @@ -50,28 +50,13 @@ models are defined. The initial list includes: * Single executable application * CI/CD pipeline components -### Support experimentation on features like permissions and policies +### Support experimentation on features like permissions The project is not currently planning to provide supported sandbox functionality, but wants to support experimentation on -related features like policies and permission enforcement. +related features like permission enforcement. Features in this category should: * be opt-in, and additional overhead when not enabled must be low * limit change in core to just what is needed to enable experimentation - -## Current implementation and assets - -Node.js has an experimental implementation of -[policies](https://nodejs.org/docs/latest/api/policy.html#policies). - -The core implementation is in: - -* [`lib/internal/process/policy.js`](https://github.com/nodejs/node/blob/HEAD/lib/internal/process/policy.js) -* [`lib/internal/policy`](https://github.com/nodejs/node/blob/HEAD/lib/internal/policy) - -along with integration into the CJS and ESM loaders in: - -* [`lib/internal/modules/esm`](https://github.com/nodejs/node/blob/HEAD/lib/internal/modules/esm) -* [`lib/internal/modules/cjs`](https://github.com/nodejs/node/blob/HEAD/lib/internal/modules/cjs)