4 ms·
FWIW, the plugin system is supposed to have sandboxing as well.
by bobbyskelton41 3y ago
FWIW, the plugin system is supposed to have sandboxing as well.
- Zambyte 3y agoScheme has sandboxing in the form of environments. You can evaluate[0] / load[1] untrusted code by applying an environment specifier[2] with all of the symbols you trust the code to use. For example, if you don't want the code to be able to use IO, simply don't add (scheme read) and (scheme write) to the environment that you eval / load the code with. [0] https://index.scheme.org/filterset/r7rs_small/%28scheme%2520eval%29/eval https://index.scheme.org/filterset/r7rs_small/%28scheme%2520... [1] https://index.scheme.org/filterset/r7rs_small/%28scheme%2520load%29/load https://index.scheme.org/filterset/r7rs_small/%28scheme%2520... [2] https://index.scheme.org/filterset/r7rs_small/%28scheme%2520eval%29/environment https://index.scheme.org/filterset/r7rs_small/%28scheme%2520...