Welcome to MSDN Blogs Sign in | Join | Help

Peter Torr Provides More Details on Sandboxing AppDomains

Peter Torr from the Visual Studio Tools for Office team recently expanded on my sandboxed AppDomain set of posts.  Peter adds some aditional code to change the code base of the AppDomain, which prevents untrusted addin types from sneaking into the FullTrust domain the original domain executes in.  He also adds my suggestion from the first post of adding evidence to the sandboxed domain.

Peter also pointed out that in v1.0, v1.1, and beta 1 of v2.0, SHA1 and MD5 objects are not serializable, meaning that if you modify the sample code I provided to create HashMembershipConditions instead of the strong name membership conditions it currently creates, you won't be able to set up the policy on the new domain from the old domain in the way that's shown in the sample.

Published Monday, November 08, 2004 9:30 AM by shawnfa
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Peter Torr Provides More Details on Sandboxing AppDomains

Monday, November 08, 2004 4:20 PM by Peter Torr
You think we could get a Vegas show as "Farkas and Torr" or something? We could do cool stuff with AppDomains in front of a live audience!

Eric Lippert (http://blogs.msdn.com/ericlippert/) is already my "Evil Security Twin"... ;-)

# re: Peter Torr Provides More Details on Sandboxing AppDomains

Monday, November 08, 2004 4:57 PM by Shawn
Vegas Baby!

-Shawn

# AllowPartiallyTrustedCallers and AppDomain Boundaries

Tuesday, November 09, 2004 2:26 AM by Office Development, Security, Randomness...

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker