stephen at pairhome.net
Thu Mar 18 16:01:59 UTC 2010
On Thu, Mar 18, 2010 at 11:25 AM, Ralph Johnson <johnson at cs.uiuc.edu> wrote:
> In my opinion, if you want to grab some code off the internet and run
> it in a sandbox, you should spawn a slave image and run it inside that
> image. The VM should ensure that any important requests have to go
> through the master image.
> In the same way, Croquet really ought to run each island as a separate
> image. The UI ought to be able to look into each island to display
> it. This would make it easy to prvent cross-island references.
> Similarly, the way to write parallel programs is to spawn an image for
> each core. In general, a single image should be a single process. It
> should be easy to develop an application that consists of a set of
> -Ralph Johnson
There are many ways one could go about sand boxing untrusted code. I think
what Michael is after is a more direct, language/framework level support for
it. Also, I think we're mixing two orthogonal (but related) matters here,
security and concurrency. You don't necessarily need to dump everything
into a separate, isolated memory space in order to sand box untrusted code,
though that certainly is one way to go about it (and given the current state
of things, is probably the most expedient and practical approach). I do
agree with your point on parallel programs (one image, one OS process).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev