2 ms·
Workers are the solution here since they provide a security boundary. Access to the outside world must then be intermediated by your app. You might provide a ve
by laurencerowe 4y ago
Workers are the solution here since they provide a security boundary. Access to the outside world must then be intermediated by your app. You might provide a version of fetch inside the worker that works through postMessage or SharedArrayBuffer allowing your app to filter the requests made by the untrusted script inside the worker.