4 ms·
Is this true of server side only, or is there a practical solution for locking down JS within the browser?
by nix0n 5y ago
Is this true of server side only, or is there a practical solution for locking down JS within the browser?
- the_duke 5y agoWasm has no access to any browser APIs by default, so yes. You can expose the required functionality via JavaScript bridges. The current Rust (wasm-bindgen) and C/C++ (emscripten) tooling exposes the the whole browser API by default though, which isn't ideal.