Re: [Ironruby-core] Script Validation

2010-08-12 Thread Tomas Matousek
in this particular case, but you get the point.) Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Dody Gunawinata Sent: Thursday, August 12, 2010 3:17 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Script Validation R

Re: [Ironruby-core] Script Validation

2010-08-12 Thread Charles Strahan
I just recently had the same question in mind - how could one sandbox IronRuby? I'd imagine that .NET's built-in security model could be used to prevent the app from accessing the file system, P/Invoking, etc; however, I don't know if the security model is fine grained enough to apply to just a pa

Re: [Ironruby-core] Script Validation

2010-08-12 Thread Dody Gunawinata
Regex and filter it. I don't think the DLR has a sandbox mechanism for this. On Thu, Aug 12, 2010 at 12:57 PM, Thorsten Hans wrote: > Hi, > > I'm currently hosting IronRuby within a C# Application. Is there any way to > validate the IronRuby scripts that will be invoked by the DLR? > > For exampl

[Ironruby-core] Script Validation

2010-08-12 Thread Thorsten Hans
Hi, I'm currently hosting IronRuby within a C# Application. Is there any way to validate the IronRuby scripts that will be invoked by the DLR? For example I'd like to prevent users from executing scripts that include the "require" statement or an impersonation statement... Any ideas? thx Thor