: Saturday, October 03, 2009 10:06 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Running IR in an isolated AppDomain
Hello Tomas,
Thanks you for your quick response. The permission assert works very well!
Regarding the StringBuilder you are right the host created instance stays
mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek
Sent: October-03-09 3:36 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Running IR in an isolated AppDomain
Adding this:
FileIOPermission f = new FileIOPermission(PermissionState.Unrest
Adding this:
FileIOPermission f = new FileIOPermission(PermissionState.Unrestricted);
f.AllLocalFiles = FileIOPermissionAccess.Read;
f.Assert();
to GetFileContent method should make the SecurityException go away.
However, passing data out of the sandbox via StringBuilder won't work.
StringBuild