[Ironpython-users] Sandbox support for IronPython console

Cesar Mello cmello at gmail.com
Mon Mar 19 22:26:51 CET 2012


Actually if you find interesting for me to pull this through a command line
argument, do you have any suggestions on what argument should I create for
it?

Thanks

Best regards
Mello

On Mon, Mar 19, 2012 at 6:21 PM, Cesar Mello <cmello at gmail.com> wrote:

> Hi Slide,
>
> You mean I should do a pull request when I'm finished?
>
> But I'm still just playing around. I've hard-coded a sandboxed appdomain
> here just for testing the idea:
>
>
> https://github.com/cmello/IronLanguages-main/commit/3241688e4917c70a6db4c1b671f42c4144e8bf96
>
>
> But I get remoting exceptions as soon as the PythonContext is requested
> here:
>
> Microsoft.Scripting.Hosting.Providers.HostingHelpers
>
>         public static LanguageContext GetLanguageContext(ScriptEngine
> engine) {
>             ContractUtils.RequiresNotNull(engine, "engine");
>             return engine.LanguageContext;
>         }
>
>
> I don't know what could be done here...
>
> Thanks for the attention!
>
> Best regards
> Mello
>
>
> On Mon, Mar 19, 2012 at 6:10 PM, Slide <slide.o.mix at gmail.com> wrote:
>
>> Cesar,
>>
>> I think this sounds like a pretty good idea for debugging stuff. Are you
>> familiar with how we work with patches should you get something going?
>>
>> Thanks,
>>
>> slide
>>
>> On Mon, Mar 19, 2012 at 1:35 PM, Cesar Mello <cmello at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I would like to know if someone other than me would find useful to have
>>> a command line argument for sandboxing the ipy console.
>>>
>>> I'm trying to implement this but I'm not sure if it is worth. For me it
>>> would make easier to debug and reproduce stuff.
>>>
>>> Also I'm curious to know how many people are using IronPython with
>>> Internet-zone sandbox.
>>>
>>> Thanks!
>>>
>>> Best regards
>>> Mello
>>>
>>> _______________________________________________
>>> Ironpython-users mailing list
>>> Ironpython-users at python.org
>>> http://mail.python.org/mailman/listinfo/ironpython-users
>>>
>>>
>>
>>
>> --
>> Website: http://earl-of-code.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120319/f69a788f/attachment.html>


More information about the Ironpython-users mailing list