Hi, I'm having trouble understanding how we sandbox code from an unreliable source in asp.net. I have attempted to use the PermissionSet class but I dont seem to be able to achieve what I want. Basically we have a set of UserControls that are loaded dynamically from user input and I want to make sure that even if the main application can perform registry operations and file operations, that these user controls are restricted.
I need the user control to be able to have access to the file system but to restrict a certain directory inside the web application. I'm sorry if this is a silly question but I cannot work out how to do this from the documentation as it is quite advanced and I just want to enforce these simple restrictions.
Many Thanks.
Chris.
...
Go to the complete details ...