Can an appdomain be restricted to one directory?
Posted
by Caerbanog
on Stack Overflow
See other posts from Stack Overflow
or by Caerbanog
Published on 2010-05-19T22:35:27Z
Indexed on
2010/05/19
22:50 UTC
Read the original article
Hit count: 210
I am developing a plugin host. The plugins should have as little trust as they need, however I want to have the possibility for a plugin to read and write files.
Can the AppDomain where the assembly will be loaded be restricted to have access to only one directory for reading and writing?
Other options and ways to go about this are also appreciated like for example easy ways to stream file data from the host to the plugin (reading) and from the plugin to the host (writing).
If its relevant: I am using the MAF infrastructure for the plugins. http://msdn.microsoft.com/en-us/library/bb384200.aspx
© Stack Overflow or respective owner