[racket] Limiting net-repl provided functions

From: Eric Hanchrow (eric.hanchrow at gmail.com)
Date: Mon Jun 27 11:04:43 EDT 2011

My IRC bot uses sandboxes to securely evaluate racket code; take a
look at https://github.com/offby1/rudybot/blob/master/sandboxes.rkt

On Mon, Jun 27, 2011 at 6:10 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
> On Mon, Jun 27, 2011 at 8:48 AM, Jukka Tuominen
> <jukka.tuominen at finndesign.fi> wrote:
>>
>> The basic client/server functionality is already working, but it's too big a
>> security risk outside LAN use. It seems to be easier to add functionality
>> than ripping them off. Perhaps creating a custom #%top definition to
>> interfere with the default symbol lookup...?
>
> The right place to look is at sandboxes:
>  http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html
> and namespaces:
>  http://docs.racket-lang.org/guide/mk-namespace.html
>
> --
> sam th
> samth at ccs.neu.edu
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



Posted on the users mailing list.