|
-
September 29th, 2008, 07:54 AM
#1
Assembly security: Revoke thread manipulation
I'm loading plugins into the main appdomain. I want to prevent the plugin assemblies from being able to control threads/timers (create new ones or modify the existing ones).
I've figured out that I need to create a new Evidence class that I load the assemblies with. And SecurityPermissionAttribute.ControlThread will probably do what I want regarding the threads.
But I can't figure out how to add the PermissionSet to the Evidence.
"The making of software, like the making of sausages, should never be watched."
http://blog.gauffin.org - .NET Coding/Architecture
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|