[racket] Sandbox needs to access preferences? Why?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Mar 13 22:39:11 EDT 2012

6 hours ago, Jordan Johnson wrote:
> Can you identify what may be triggering the attempt to read
> preferences, and how I can either avoid it or grant appropriate read
> permissions?  Thanks...

You can grant permissions with `sandbox-path-permissions' -- but note
that this could be a security hole since private information can leak
into the sandbox and go from there to the student.  In addition,
*write* permission can be more dangerous, since that means that
running student submissions can affect subsequent submissions, and can
change your own environment.

(IIRC, there were some teachpacks that required preference access, to
get the language for string constants, but that was fixed.  Perhaps
you're seeing something similar?)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.