<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Code Access Security vs Global Assembly Cache vs Full Trust Bin Deployment for SharePoint</title>
	<atom:link href="http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/</link>
	<description>Stories from a SharePoint Engineer that isn&#039;t afraid of Visual Studio.</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:58:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Presentation: &#8220;Establishing Dominance&#8221; &#8211; Admin SharePoint 2010 Custom Development &#8211; SPSColumbus2011 &#171; My Central Admin</title>
		<link>http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/#comment-6035</link>
		<dc:creator><![CDATA[Presentation: &#8220;Establishing Dominance&#8221; &#8211; Admin SharePoint 2010 Custom Development &#8211; SPSColumbus2011 &#171; My Central Admin]]></dc:creator>
		<pubDate>Mon, 22 Aug 2011 20:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.henryong.com/?p=340#comment-6035</guid>
		<description><![CDATA[[...] CAS, the Global Assembly Cache (GAC), and Bin Deployment with SharePoint: http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] CAS, the Global Assembly Cache (GAC), and Bin Deployment with SharePoint: <a href="http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-.." rel="nofollow">http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/#comment-3683</link>
		<dc:creator><![CDATA[Henry]]></dc:creator>
		<pubDate>Wed, 04 Nov 2009 19:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.henryong.com/?p=340#comment-3683</guid>
		<description><![CDATA[I have since figured out how to effectively use Code Access Security with help from http://blog.tylerholmes.com/2008/11/creating-custom-cas-policy-file-for.html so I&#039;ll be looking forward to using CAS more often now.]]></description>
		<content:encoded><![CDATA[<p>I have since figured out how to effectively use Code Access Security with help from <a href="http://blog.tylerholmes.com/2008/11/creating-custom-cas-policy-file-for.html" rel="nofollow">http://blog.tylerholmes.com/2008/11/creating-custom-cas-policy-file-for.html</a> so I&#8217;ll be looking forward to using CAS more often now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/#comment-3637</link>
		<dc:creator><![CDATA[Henry]]></dc:creator>
		<pubDate>Thu, 03 Sep 2009 17:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.henryong.com/?p=340#comment-3637</guid>
		<description><![CDATA[Hey Alex, thanks for the input. 

For the reasons you stated, that&#039;s why I&#039;m starting to prefer deploying code to the bin fully trusted for some scenarios. Since I wouldn&#039;t deploy any code that isn&#039;t trusted in the first place, I wouldn&#039;t really need to worry about needing to check for security flaws. 

For internet facing web applications, if you don&#039;t use CAS would you prefer for the code to be in the GAC and made available to all web apps or put into the bin and scoped to the web app? Also, chiming off that Stack Overflow link you posted, if you utilize SharePoint security best practices, the app pool account really wouldn&#039;t have any worthwhile permission sets to do anything with the OS right?

Basically, if you trust the code enough to deploy to the GAC, why wouldn&#039;t you want to deploy to the BIN with the same trust level? That way, we can at least prevent other web apps from running that code.]]></description>
		<content:encoded><![CDATA[<p>Hey Alex, thanks for the input. </p>
<p>For the reasons you stated, that&#8217;s why I&#8217;m starting to prefer deploying code to the bin fully trusted for some scenarios. Since I wouldn&#8217;t deploy any code that isn&#8217;t trusted in the first place, I wouldn&#8217;t really need to worry about needing to check for security flaws. </p>
<p>For internet facing web applications, if you don&#8217;t use CAS would you prefer for the code to be in the GAC and made available to all web apps or put into the bin and scoped to the web app? Also, chiming off that Stack Overflow link you posted, if you utilize SharePoint security best practices, the app pool account really wouldn&#8217;t have any worthwhile permission sets to do anything with the OS right?</p>
<p>Basically, if you trust the code enough to deploy to the GAC, why wouldn&#8217;t you want to deploy to the BIN with the same trust level? That way, we can at least prevent other web apps from running that code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Angas</title>
		<link>http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/#comment-3636</link>
		<dc:creator><![CDATA[Alex Angas]]></dc:creator>
		<pubDate>Thu, 03 Sep 2009 09:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.henryong.com/?p=340#comment-3636</guid>
		<description><![CDATA[Are you **sure**?? This seems like very bad practice to me. Put your code in the GAC and it is fully trusted, sure. But make the web application fully trusted and the change applies to *all* code hosted by that web application.

So now you don&#039;t just need to check for security flaws in your code, but flaws in every piece of custom code deployed to that web application!

Then what if someone in a few months time decides its a good idea to put the web application on the Internet? Now your server is wide open for attack.

You&#039;re right that CAS policies are difficult and often the only solution is to deploy to the GAC. But at least you are fully trusting code you know about, because you wrote it.

More info on Stack Overflow: http://stackoverflow.com/questions/461650/asp-net-trust-level-full]]></description>
		<content:encoded><![CDATA[<p>Are you **sure**?? This seems like very bad practice to me. Put your code in the GAC and it is fully trusted, sure. But make the web application fully trusted and the change applies to *all* code hosted by that web application.</p>
<p>So now you don&#8217;t just need to check for security flaws in your code, but flaws in every piece of custom code deployed to that web application!</p>
<p>Then what if someone in a few months time decides its a good idea to put the web application on the Internet? Now your server is wide open for attack.</p>
<p>You&#8217;re right that CAS policies are difficult and often the only solution is to deploy to the GAC. But at least you are fully trusting code you know about, because you wrote it.</p>
<p>More info on Stack Overflow: <a href="http://stackoverflow.com/questions/461650/asp-net-trust-level-full" rel="nofollow">http://stackoverflow.com/questions/461650/asp-net-trust-level-full</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Code Access Security vs Global Assembly Cache vs Full Trust Bin Deployment for SharePoint keynote link for different customs</title>
		<link>http://blog.henryong.com/2009/09/02/code-access-security-vs-global-assembly-cache-vs-full-trust-bin-deployment-for-sharepoint/#comment-3634</link>
		<dc:creator><![CDATA[Code Access Security vs Global Assembly Cache vs Full Trust Bin Deployment for SharePoint keynote link for different customs]]></dc:creator>
		<pubDate>Wed, 02 Sep 2009 23:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.henryong.com/?p=340#comment-3634</guid>
		<description><![CDATA[[...] View original here:  Code Access Security vs Global Assembly Cache vs Full Trust Bin Deployment for SharePoint [...]]]></description>
		<content:encoded><![CDATA[<p>[...] View original here:  Code Access Security vs Global Assembly Cache vs Full Trust Bin Deployment for SharePoint [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

