Dody Gunawinata wrote:
Ah, my knowledge is out of date then.
I think the more apt thread is here
http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2008-June/007523.html
Yep - Dino confirming that sandboxing is one of the intended uses of
IronPython and that it should work (and a link to a blog entry about why
some sandboxing problems are very difficult - particularly server
applications where you need to protect against DoS through CPU and
memory over use).
Michael
On Sat, Aug 23, 2008 at 9:44 PM, Michael Foord
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
2008/8/23 Dody Gunawinata <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2008-April/006765.html
Points to a bug in IronPython that is now fixed:
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=15928
http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2007-April/004740.html
A discussion by someone who wants to do a lot more than just
restrict imports and file access.
Michael
On Sat, Aug 23, 2008 at 3:32 PM, Michael Foord
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
> Search the mailing list archive on this issue. The
bottom line is, you
> can't
> - but there are tricks to make it more difficult.
>
Is that true? You can create an IronPython Engine in an
AppDomain
(IronPython 2 has lots of explicit support for this) and
restrict the
privileges of the AppDomain. Why would that not work?
Michael
> Dody G.
>
> On Fri, Aug 22, 2008 at 10:03 PM, Huzaifa
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>>
>> how can i restrict my user that he can not perform any
imports or I/O
>> operations in the script.
>> --
>> View this message in context:
>>
http://www.nabble.com/Restrict-imports-tp19113682p19113682.html
>> Sent from the IronPython mailing list archive at
Nabble.com.
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
<mailto:[email protected]>
>>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>
>
>
> --
> nomadlife.org <http://nomadlife.org>
> _______________________________________________
> Users mailing list
> [email protected]
<mailto:[email protected]>
>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
http://www.ironpythoninaction.com
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
nomadlife.org <http://nomadlife.org>
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.ironpython.info/
http://www.resolverhacks.net/
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
nomadlife.org <http://nomadlife.org>
------------------------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com