<?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>FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx</link><description>We released the first beta of .NET 3.5 SP 1 this morning, and it includes a change to the default grant set for applications launched from the LocalIntranet zone. The quick summary is that as of .NET 3.5 SP1, applications run from a network share will</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9425397</link><pubDate>Mon, 16 Feb 2009 09:09:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9425397</guid><dc:creator>Subli</dc:creator><description>&lt;p&gt;This change WAS acceptable if you simply added the evidence of MyComputer to the network launced appliications by setting registry key: say, something like &amp;quot;ExpandMyComputerZone&amp;quot; to 1. &lt;/p&gt;
&lt;p&gt;How come can't you imagine that changing default behaviour of run-time causes huge problems? It looks like all of sudden you began to follow any demand of republicans and don't give an inch against GOP.&lt;/p&gt;</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9441689</link><pubDate>Mon, 23 Feb 2009 22:36:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9441689</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;There are two important things to note about this change:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;1. It will not cause existing code to fail. &amp;nbsp;That is, code that used to fail with a SecurityException will now execute, however code that used to execute will not start failing now.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;2. Code that was sandboxed previously was not actually any more secure -- there was a false sense of security there.&lt;/p&gt;
&lt;p&gt;For point #2, running an application is in and of itself a trust decision. &amp;nbsp;If you do not trust the applicationn, but run it hoping that it is all managed code and therefore sandboxed by being on the network, you've already lost. &amp;nbsp;The reason is, I could have had my application be native code and therefore not subject to managed security policy.&lt;/p&gt;
&lt;p&gt;Note that this specifically does not affect hosted applications, where you trust the host but not the managed assemblies.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9444283</link><pubDate>Wed, 25 Feb 2009 19:44:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9444283</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Hi, Shawn:&lt;/p&gt;
&lt;p&gt;How about this scenario.&lt;/p&gt;
&lt;p&gt;entry.exe is a managed code on \\root&lt;/p&gt;
&lt;p&gt;program1.exe is in subfolder \\root\subfolder&lt;/p&gt;
&lt;p&gt;entry.exe launches program1.exe by using Process.Start().&lt;/p&gt;
&lt;p&gt;According to the blog post that for 3.5 SP1, entry.exe has fulltrust, how about program1.exe lauched by entry.exe?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9449813</link><pubDate>Sat, 28 Feb 2009 02:00:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9449813</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Process.Start is going to kick off a new process, where the full trust root is in \\root\subfolder. &amp;nbsp;In the second process, Entry.exe is not trusted, in the first process Program1.exe is not trusted, but they are each fully trusted in their own processes.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9456556</link><pubDate>Tue, 03 Mar 2009 14:58:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9456556</guid><dc:creator>amish</dc:creator><description>&lt;p&gt;you could have also included the &amp;quot;Assemblies loaded from a subdirectory of the share where the .exe was launched from&amp;quot;&lt;/p&gt;
&lt;p&gt;because, now we'll have to do separate settings for following scenerio.&lt;/p&gt;
&lt;p&gt;&amp;lt;assemblyBinding xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot; &amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;probing privatePath=&amp;quot;bin;utils&amp;quot; &amp;nbsp; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/assemblyBinding&amp;gt;&lt;/p&gt;</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9458804</link><pubDate>Wed, 04 Mar 2009 22:02:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9458804</guid><dc:creator>Sune Scherfig</dc:creator><description>&lt;p&gt;So happy to find a solution.&lt;/p&gt;
&lt;p&gt;But wondering what have to be done:&lt;/p&gt;
&lt;p&gt;- rebuild my program in Visual Studio 2008 ?&lt;/p&gt;
&lt;p&gt;- just install 3.5SP1 on the client ?&lt;/p&gt;
&lt;p&gt;I did first think that it was done by re-building (after converting from VS2005 to VS2008). &lt;/p&gt;
&lt;p&gt;But I found that VS2008 still only uses Framework 2 in references... &lt;/p&gt;
&lt;p&gt;and not I am confused...&lt;/p&gt;</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9464535</link><pubDate>Sun, 08 Mar 2009 01:36:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9464535</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;You only have to install v3.5 SP1 on the client. &amp;nbsp;No need to rebuild your application.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9484748</link><pubDate>Tue, 17 Mar 2009 23:53:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9484748</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;I think the .NET Framework configuration tool needs updating. &amp;nbsp;If I evaluate an assembly, it still shows permissions as coming from the local intranet.&lt;/p&gt;
&lt;p&gt;Before I found this post I couldn't understand why my machine always worked regardless of CAS settings while others didn't. &amp;nbsp;Now it makes sense.&lt;/p&gt;</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9559559</link><pubDate>Tue, 21 Apr 2009 18:51:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9559559</guid><dc:creator>Derek Smyth</dc:creator><description>&lt;p&gt;Hi, this change caught me out today (in a good way) when running a small application. &lt;/p&gt;
&lt;p&gt;I'm curious why &amp;quot;Assemblies loaded from a subdirectory of the share where the .exe was launched from&amp;quot; also do not have full trust?&lt;/p&gt;
&lt;p&gt;Could you spare a little time to expand on the reasons for this? I'd appreciate it.&lt;/p&gt;</description></item><item><title>Visual guard for .Net, Visual guard for PowerBuilder, Security Application, Application Security , Authentication and Permission.</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9627187</link><pubDate>Tue, 19 May 2009 10:31:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9627187</guid><dc:creator>Ronak jain </dc:creator><description>&lt;p&gt;Is .net 3.5 is worth its price or it is not worth paying for it.&lt;/p&gt;</description></item><item><title>Security Policy in the v4 CLR</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9634179</link><pubDate>Thu, 21 May 2009 22:03:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634179</guid><dc:creator>.NET Security Blog</dc:creator><description>&lt;p&gt;One of the first changes that you might see to security in the v4 CLR is that we’ve overhauled the security&lt;/p&gt;
</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9634344</link><pubDate>Fri, 22 May 2009 00:24:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634344</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi Derek,&lt;/p&gt;
&lt;p&gt;&amp;gt;I'm curious why &amp;quot;Assemblies loaded from a subdirectory of the share where the .exe was launched from&amp;quot; also do not have full trust?&lt;/p&gt;
&lt;p&gt;The reason is that this was a service pack release, and we wanted to make the smallest scoped change that still enables the majority of applications to take advantage of it.&lt;/p&gt;
&lt;p&gt;As you'll see in .NET 4.0 beta 1, we've significantly expanded this exemption, and now all assemblies loaded by unhosted applications are fully trusted by default.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: FullTrust on the LocalIntranet</title><link>http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx#9634366</link><pubDate>Fri, 22 May 2009 00:29:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634366</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;&amp;gt; I think the .NET Framework configuration tool needs updating. &amp;nbsp;If I evaluate an assembly, it still shows permissions as coming from the local intranet.&lt;/p&gt;
&lt;p&gt;This is a side-effect of the fact that this feature only applies to the entry point of an applications and assemblies loaded from directly next to that entry point.&lt;/p&gt;
&lt;p&gt;Since your app won't be loaded from next to the framework evaluation tool, it will look to that process as if the assembly is loaded from the intranet rather than the local machine.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item></channel></rss>