title: .NET 4.0 - setting access permissions to file system for dll functions
body: <p>In my application, users can dynamically load their dll files and run functions from the dll. 
  I want to prevent their code from accessing the file system (read/write to local files).</p>
  
  <p>Is it possible?</p>