|
From: | Nala Ginrut |
Subject: | Re: RFC: (ice-9 sandbox) |
Date: | Sat, 15 Apr 2017 17:23:17 +0000 |
Hi,
Attached is a module that can evaluate an _expression_ within a sandbox.
If the evaluation takes too long or allocates too much, it will be
cancelled. The evaluation will take place with respect to a module with
a "safe" set of imports. Those imports include most of the bindings
available in a default Guile environment. See the file below for full
details and a number of caveats.
Any thoughts? I would like something like this for a web service that
has to evaluate untrusted code.
Andy
[Prev in Thread] | Current Thread | [Next in Thread] |