<?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>Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx</link><description>One of the first changes that you might see to security in the v4 CLR is that we’ve overhauled the security policy system.&amp;#160; In previous releases of the .NET Framework, CAS policy applied to all assemblies loaded into an application (except for in</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Security Policy in the v4 CLR | Microsoft Share Point</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9634200</link><pubDate>Thu, 21 May 2009 22:26:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634200</guid><dc:creator>Security Policy in the v4 CLR | Microsoft Share Point</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://microsoft-sharepoint.simplynetdev.com/security-policy-in-the-v4-clr/"&gt;http://microsoft-sharepoint.simplynetdev.com/security-policy-in-the-v4-clr/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9634232</link><pubDate>Thu, 21 May 2009 22:53:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634232</guid><dc:creator>Timothy Fries</dc:creator><description>&lt;p&gt;How far does this extend?&lt;/p&gt;
&lt;p&gt;Can an application still create a sandboxed AppDomain (without needing to opt back in to the full managed policy on the primary AppDomain)?&lt;/p&gt;
&lt;p&gt;Is the Strong Name signature of a referenced assembly that's not located in the GAC still verified by the loader when loaded into a context where the managed security policy is disabled?&lt;/p&gt;
&lt;p&gt;And finally, is there an MSDN article that describes the change in more detail?&lt;/p&gt;</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9634318</link><pubDate>Fri, 22 May 2009 00:08:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634318</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi Timothy,&lt;/p&gt;
&lt;p&gt;You can absolutely still create a sandboxed domain - in that aspect you're acting as a bit of a host yourself ... you're creating a sandbox to host untrusted code within. &amp;nbsp; Instead of using policy to setup that domain however, you should instead use the simple sandbox APIs to do so.&lt;/p&gt;
&lt;p&gt;Non-GACed assemblies will not have their strong name signautres verified in the default domain of an unhosted application since they will be fully trusted without the use of their signature (&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/shawnfa/archive/2008/05/14/strong-name-bypass.aspx"&gt;http://blogs.msdn.com/shawnfa/archive/2008/05/14/strong-name-bypass.aspx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/dd233103"&gt;http://msdn.microsoft.com/en-us/library/dd233103&lt;/a&gt;(VS.100).aspx is the best starting point in MSDN for the v4 changes.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9634519</link><pubDate>Fri, 22 May 2009 03:12:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634519</guid><dc:creator>Stephen Cleary</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;I'm glad to hear that this long-standing pain point has finally been resolved.&lt;/p&gt;</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9634796</link><pubDate>Fri, 22 May 2009 10:00:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634796</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Hi Shawn,&lt;/p&gt;
&lt;p&gt;picking up Dominick's idea I totally agree with him that it'd be a great idea to convince you to write a book on .NET 4.0 Security. Please think about starting that book project.&lt;/p&gt;
&lt;p&gt;In the meantime: Thanks for starting this very useful series of articles!&lt;/p&gt;
&lt;p&gt;-- Tom&lt;/p&gt;</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9635062</link><pubDate>Fri, 22 May 2009 14:33:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635062</guid><dc:creator>Smith Daves</dc:creator><description>&lt;p&gt;What means &amp;quot;unhosted applications&amp;quot;?&lt;/p&gt;</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9635065</link><pubDate>Fri, 22 May 2009 14:40:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635065</guid><dc:creator>Andy Mackie</dc:creator><description>&lt;p&gt;Are there any changes in how CAS applies to XBAP and ClickOnce apps ? I'm thinking specifically of clickonce &amp;amp; xbap apps with Intranet permissions, rather than Internet.&lt;/p&gt;
&lt;p&gt;When things work ClickOnce deployment is great, but when the dreaded &amp;quot;Trust not granted&amp;quot; pops up, it's a right pain to sort! Admittedly, some of it is a developer education issue re. CAS/caspol.&lt;/p&gt;</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9635374</link><pubDate>Fri, 22 May 2009 19:17:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635374</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi Smith,&lt;/p&gt;
&lt;p&gt;An unhosted application is basically just a managed .exe that you run directly. &amp;nbsp;That is, it's not run within a larger host (think ASP.NET, SQL Server, or as an addin in another application for instance).&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9635378</link><pubDate>Fri, 22 May 2009 19:18:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635378</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
&lt;p&gt;ClickOnce will still evaluate what permissions it thinks is safe for an application to request based upon where the application is coming from. &amp;nbsp;If the app is requesting more than that safe set, it will continue with its v3.5 behavior of prompting the user to allow the elevation.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>Sandboxing in .NET 4.0</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9635606</link><pubDate>Fri, 22 May 2009 20:54:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635606</guid><dc:creator>.NET Security Blog</dc:creator><description>&lt;p&gt;Yesterday I talked about the changes in security policy for managed applications , namely that managed&lt;/p&gt;
</description></item><item><title>Coding with Security Policy in .NET 4 part 2 – Explicit uses of CAS policy</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9717569</link><pubDate>Tue, 09 Jun 2009 22:15:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9717569</guid><dc:creator>.NET Security Blog</dc:creator><description>&lt;p&gt;Over the last few posts, I’ve been looking at how the update to the CLR v4 security policy interacts&lt;/p&gt;
</description></item><item><title>Temporarily re-enabling CAS policy during migration</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9737039</link><pubDate>Fri, 12 Jun 2009 21:27:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9737039</guid><dc:creator>.NET Security Blog</dc:creator><description>&lt;p&gt;Over the last few weeks we’ve been looking at the changes to security policy in .NET 4, namely that security&lt;/p&gt;
</description></item><item><title>CLR v4 Security Policy Roundup</title><link>http://blogs.msdn.com/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx#9737129</link><pubDate>Fri, 12 Jun 2009 21:33:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9737129</guid><dc:creator>.NET Security Blog</dc:creator><description>&lt;p&gt;Over the last few weeks we’ve been taking a look at the updates to the CLR security policy system in&lt;/p&gt;
</description></item></channel></rss>