Skip to content

Commit

Permalink
doc: remove mentions of policy model from security info
Browse files Browse the repository at this point in the history
PR-URL: #53249
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
RedYetiDev authored and targos committed Jun 20, 2024
1 parent 48f78cd commit 923d24b
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions doc/contributing/security-model-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 923d24b

Please sign in to comment.