Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Creating a sandbox
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Grant Rettke  
View profile  
 More options May 2 2012, 10:48 pm
From: Grant Rettke <gret...@acm.org>
Date: Wed, 2 May 2012 21:48:27 -0500
Local: Wed, May 2 2012 10:48 pm
Subject: [Sbcl-help] Creating a sandbox

Hi,

Although I've not yet learned Lisp and SBCL well, I'm curious about whether
preparing an eval sandbox so that it would be restricted in it's bindings,
file system access, memory usage, network access, and CPU time, something
like this

http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html

would be possible?

Best wishes,

Grant

--
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE

--------------------------------------------------------------------------- ---
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Sbcl-help mailing list
Sbcl-h...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikodemus Siivola  
View profile  
 More options May 3 2012, 2:54 am
From: Nikodemus Siivola <nikode...@random-state.net>
Date: Thu, 3 May 2012 09:54:19 +0300
Local: Thurs, May 3 2012 2:54 am
Subject: Re: [Sbcl-help] Creating a sandbox
On 3 May 2012 05:48, Grant Rettke <gret...@acm.org> wrote:

> Although I've not yet learned Lisp and SBCL well, I'm curious about whether
> preparing an eval sandbox so that it would be restricted in it's bindings,
> file system access, memory usage, network access, and CPU time, something
> like this

> http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html

> would be possible?

/Possible/, yes. Straightforward, actually, mostly yes. Easy to get right? No.

Racket's language abstraction is pretty cool, and we don't have
anything like that. So you'd be rolling up some infrastructure to
start with.

Cheers,

 -- nikodemus

--------------------------------------------------------------------------- ---
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sbcl-help mailing list
Sbcl-h...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grant Rettke  
View profile  
 More options May 3 2012, 1:38 pm
From: Grant Rettke <gret...@acm.org>
Date: Thu, 3 May 2012 12:38:34 -0500
Local: Thurs, May 3 2012 1:38 pm
Subject: Re: [Sbcl-help] Creating a sandbox

Thanks guys.

On Thu, May 3, 2012 at 1:54 AM, Nikodemus Siivola <

--
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE

--------------------------------------------------------------------------- ---
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Sbcl-help mailing list
Sbcl-h...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anton Vodonosov  
View profile  
 More options May 3 2012, 5:30 pm
From: Anton Vodonosov <avodono...@yandex.ru>
Date: Fri, 04 May 2012 01:30:46 +0400
Local: Thurs, May 3 2012 5:30 pm
Subject: Re: [Sbcl-help] Creating a sandbox

Check this https://github.com/tlikonen/cl-eval-bot. This project receives lisp code from
external source and executes it in a sandbox. Will not give you control over memory
usage and CPU time I think, but will allow to control what API's (file system functions, network
functions) are available to the lisp code.
 
Another thought is that OS process is a sanbox. Running lisp process from a
restricted OS user (quitas, fs access rights) might be usefull probably
if you are lookiing for a sandbox solution.
 
If you find a better solution, please drop news here. I am curious in sandboxing
common lisp.
 
03.05.2012, 21:38, "Grant Rettke" <grettke@acm.org>:
Thanks guys.

On Thu, May 3, 2012 at 1:54 AM, Nikodemus Siivola <nikodemus@random-state.net> wrote:
On 3 May 2012 05:48, Grant Rettke <grettke@acm.org> wrote:

> Although I've not yet learned Lisp and SBCL well, I'm curious about whether
> preparing an eval sandbox so that it would be restricted in it's bindings,
> file system access, memory usage, network access, and CPU time, something
> like this
>
> http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html
>
> would be possible?
/Possible/, yes. Straightforward, actually, mostly yes. Easy to get right? No.

Racket's language abstraction is pretty cool, and we don't have
anything like that. So you'd be rolling up some infrastructure to
start with.

Cheers,

 -- nikodemus


--
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Sbcl-help mailing list
Sbcl-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help

--------------------------------------------------------------------------- ---
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Sbcl-help mailing list
Sbcl-h...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Teemu Likonen  
View profile  
 More options May 3 2012, 11:11 pm
From: Teemu Likonen <tliko...@iki.fi>
Date: Fri, 04 May 2012 06:11:20 +0300
Local: Thurs, May 3 2012 11:11 pm
Subject: Re: [Sbcl-help] Creating a sandbox
* Anton Vodonosov [2012-05-04 01:30:46 +0400] wrote:

> Check this https://github.com/tlikonen/cl-eval-bot. This project
> receives lisp code from external source and executes it in a sandbox.
> Will not give you control over memory usage and CPU time I think, but
> will allow to control what API's (file system functions, network
> functions) are available to the lisp code.

Yes. Especially files sandbox-impl.lisp and sandbox-cl.lisp.

(I'm doing a database which looks like a simple virtual filesystem. Its
basic framework is ready but have been too busy with my dayjob to finish
it yet.)

--------------------------------------------------------------------------- ---
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sbcl-help mailing list
Sbcl-h...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grant Rettke  
View profile  
 More options May 5 2012, 2:18 pm
From: Grant Rettke <gret...@acm.org>
Date: Sat, 5 May 2012 13:18:58 -0500
Local: Sat, May 5 2012 2:18 pm
Subject: Re: [Sbcl-help] Creating a sandbox

Excellent thanks guys.

On Thu, May 3, 2012 at 10:11 PM, Teemu Likonen <tliko...@iki.fi> wrote:
> * Anton Vodonosov [2012-05-04 01:30:46 +0400] wrote:

> > Check this https://github.com/tlikonen/cl-eval-bot. This project
> > receives lisp code from external source and executes it in a sandbox.
> > Will not give you control over memory usage and CPU time I think, but
> > will allow to control what API's (file system functions, network
> > functions) are available to the lisp code.

> Yes. Especially files sandbox-impl.lisp and sandbox-cl.lisp.

> (I'm doing a database which looks like a simple virtual filesystem. Its
> basic framework is ready but have been too busy with my dayjob to finish
> it yet.)

--
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE

--------------------------------------------------------------------------- ---
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Sbcl-help mailing list
Sbcl-h...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »