<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>An Enhanced Version of the Sandboxed AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx</link><description>Last week I showed how to create an AppDomain with a limited set of permissions . I also presented an easy way to create a StrongNameMembershipCondition . Now I'll put the two together to make an enhanced version of the sandboxed AppDomain. Why create</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Secure AppDomain example</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#251307</link><pubDate>Wed, 03 Nov 2004 00:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:251307</guid><dc:creator>Robert Hurlbut's .NET Blog</dc:creator><description /></item><item><title>re: An Enhanced Version of the Sandboxed AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#251600</link><pubDate>Wed, 03 Nov 2004 11:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:251600</guid><dc:creator>Kevin Westhead</dc:creator><description>Thanks for the sample. I have applied a slightly different approach myself where, instead of specifying a CodeGroup I use a speparate method to add StrongNames (or StrongNameMembershipConditions) for fully trusted assemblies. I then call PolicyLevel.AddFullTrustAssembly for each of them before creating the AppDomain. I guess the advantage of this approach is that it allows greater flexibility per assembly, e.g. you might want another assembly to run under LocalIntranet instead of Internet or FullTrust.</description></item><item><title>Secure AppDomain example</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#251689</link><pubDate>Wed, 03 Nov 2004 17:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:251689</guid><dc:creator>Robert Hurlbut's .NET Blog</dc:creator><description /></item><item><title>re: An Enhanced Version of the Sandboxed AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#251738</link><pubDate>Wed, 03 Nov 2004 16:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:251738</guid><dc:creator>Shawn</dc:creator><description>Hi Kevin,&lt;br&gt;&lt;br&gt;I've actually been planning a post on what that full trust list means, its for a different purpose than what you've been using it for.   To accomplish what you're trying to do I would write a method that got a strnong name membership condition fore each assembly and matched them to the correct permission set.  Then make all of those code groups children of a big union code group that granted all code nothing.&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>re: An Enhanced Version of the Sandboxed AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#252546</link><pubDate>Thu, 04 Nov 2004 22:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:252546</guid><dc:creator>Kevin Westhead</dc:creator><description>Thanks for the extra info Shawn. I look forward to your posts about evidence and full trust.</description></item><item><title>re: An Enhanced Version of the Sandboxed AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#253133</link><pubDate>Sat, 06 Nov 2004 00:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:253133</guid><dc:creator>Jonathan de Halleux</dc:creator><description>Bookmarked...</description></item><item><title>re: An Enhanced Version of the Sandboxed AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#253596</link><pubDate>Sun, 07 Nov 2004 19:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:253596</guid><dc:creator>LF</dc:creator><description>FullTrustAssemblies are those that implement CAS permissions. I think they are not evaluated by CAS at all. While it will work and I used it myself at first. It sounds wrong.</description></item><item><title>Creating a partially-trusted AppDomain</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#253650</link><pubDate>Mon, 08 Nov 2004 02:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:253650</guid><dc:creator>Office Development, Security, Randomness...</dc:creator><description /></item><item><title>Partially-Trusted AppDomains</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#253704</link><pubDate>Mon, 08 Nov 2004 05:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:253704</guid><dc:creator>Robert Hurlbut's .NET Blog</dc:creator><description /></item><item><title>Peter Torr Provides More Details on Sandboxing AppDomains</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#253975</link><pubDate>Mon, 08 Nov 2004 20:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:253975</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>Partially-Trusted AppDomains part 2</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#254404</link><pubDate>Tue, 09 Nov 2004 16:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:254404</guid><dc:creator>Robert Hurlbut's .NET Blog</dc:creator><description /></item><item><title>New and Notable 66</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#267271</link><pubDate>Sat, 20 Nov 2004 20:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:267271</guid><dc:creator>Sam Gentile's Blog</dc:creator><description /></item><item><title>New and Notable 66</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#267277</link><pubDate>Sat, 20 Nov 2004 20:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:267277</guid><dc:creator>Sam Gentile's Blog</dc:creator><description /></item><item><title>Creare un AppDomain con restrizioni sui permessi</title><link>http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx#268924</link><pubDate>Wed, 24 Nov 2004 03:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:268924</guid><dc:creator>Il Blog di Paolo Pialorsi</dc:creator><description /></item></channel></rss>