<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OSTalks &#187; crash</title>
	<atom:link href="http://www.ostalks.com/tag/crash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ostalks.com</link>
	<description>Open Source, Operating Systems, Offtopic Stuff!</description>
	<lastBuildDate>Fri, 04 Nov 2011 13:16:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>The Importance of Sandboxing Plug-ins in Browsers</title>
		<link>http://www.ostalks.com/2010/02/09/the-importance-of-sandboxing-plug-ins-in-browsers/</link>
		<comments>http://www.ostalks.com/2010/02/09/the-importance-of-sandboxing-plug-ins-in-browsers/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 01:00:43 +0000</pubDate>
		<dc:creator>clintcan</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[plug-in]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.ostalks.com/?p=247</guid>
		<description><![CDATA[What happens if a rogue plug-in runs in your browser?  This is when sandboxing plug-ins become apparent.]]></description>
			<content:encoded><![CDATA[<p>We all have our favorite plug-ins for our browsers.  Many people can&#8217;t live without their flash plug-in for their games and watching Hulu and YouTube videos.  Other people use Java applets for their enterprise applications.  Still, others use Quicktime for watching .mov videos on the browser.</p>
<p>What happens if a rogue plug-in runs in your browser?  This is when sandboxing plug-ins become apparent.</p>
<p>Sandboxing applications have had it&#8217;s purpose and use in Java applications, especially plug-ins, where the program is placed in a restrictive environment that is not allowed to access system functions unless it is given access to.</p>
<p>This allows the plug-in to run in it&#8217;s own environment without harming the other browser or system processes.</p>
<p>How is sandboxing applied?  Either through the plug-in itself (like java, and in a lesser way, flash), or through the browser.</p>
<p>Newer browsers such as Google Chrome separate their browser windows through threads, allowing rogue plug-ins to crash the affected window only.  Other browsers implement some sort of sandboxing of their plug-ins.  Which is better?</p>
<p>Since most people are in the fad of flash-bashing these days, let us make a sample of a rogue flash application that crashes the browser.  Here is the <a href="http://flashcrash.dempsky.org/">link</a>.</p>
<p>Mind you, I would say that flash has its uses; however as someone who dabbled in ActionScript one time or the other knows that the Flash runtime has a number of quirks and bugs that are really downright bad.  In my opinion, this example is one of them.</p>
<p>Browsers who do not sandbox their plug-ins or separate their windows as separate threads would find this page crashes their browser really bad.</p>
<p>This includes Firefox, IE and Safari.</p>
<p>The only way to avoid spectacular crashes is to use a browser which implements some sort of separation between the plug-in and the browser itself.</p>
<p>Opera and Google Chrome passes this test admirably.</p>
<p>Interestingly, due to the flash plug-in running in a separate process in 64 bit systems in Linux (through nspluginwrapper), only the nspluginwrapper crashes, and does not take the whole browser in it.</p>
<p><a href="http://www.ostalks.com/wp-content/uploads/2010/02/chrome.jpg"><img src="http://www.ostalks.com/wp-content/uploads/2010/02/chrome-300x170.jpg" alt="" title="chrome" width="300" height="170" class="alignnone size-medium wp-image-248" /></a></p>
<p><a href="http://www.ostalks.com/wp-content/uploads/2010/02/opera.jpg"><img src="http://www.ostalks.com/wp-content/uploads/2010/02/opera-300x171.jpg" alt="" title="opera" width="300" height="171" class="alignnone size-medium wp-image-249" /></a></p>
<p>To end, this is what I like to see implemented in all browsers.  Running plug-ins in a separate process, as well as limiting it&#8217;s scope in relation to access to the underlying operating system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ostalks.com/2010/02/09/the-importance-of-sandboxing-plug-ins-in-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

