Update security.md (#27449)
This commit is contained in:
parent
5a8f40ae13
commit
b11c5533e8
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ possible through the modules you allow past the filter.
|
||||||
const readOnlyFsProxy = require(/* ... */) // exposes only file read functionality
|
const readOnlyFsProxy = require(/* ... */) // exposes only file read functionality
|
||||||
|
|
||||||
const allowedModules = new Set(['crypto'])
|
const allowedModules = new Set(['crypto'])
|
||||||
const proxiedModules = new Map(['fs', readOnlyFsProxy])
|
const proxiedModules = new Map([['fs', readOnlyFsProxy]])
|
||||||
const allowedElectronModules = new Set(['shell'])
|
const allowedElectronModules = new Set(['shell'])
|
||||||
const allowedGlobals = new Set()
|
const allowedGlobals = new Set()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue