<?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>Tewha &#187; defective by design</title>
	<atom:link href="http://tewha.net/tag/defective-by-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://tewha.net</link>
	<description>Writings and links on iPhone and iPad programming</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:19:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mac OS X runs deleted applications</title>
		<link>http://tewha.net/2007/11/mac-os-x-runs-deleted-applications/</link>
		<comments>http://tewha.net/2007/11/mac-os-x-runs-deleted-applications/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 18:40:42 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[defective by design]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Leopard]]></category>
		<category><![CDATA[timemachine]]></category>

		<guid isPermaLink="false">http://pyile.com/2007/11/mac-os-x-runs-deleted-applications/</guid>
		<description><![CDATA[I filed this as radar #5574036, but it seems significant to share: Imagine that you trash an application because of a security flaw. Say, it handles the URL type foofoo, and is proven to be a security risk. But the &#8230; <a href="http://tewha.net/2007/11/mac-os-x-runs-deleted-applications/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I filed this as radar #5574036, but it seems significant to share:</p>

<p>Imagine that you trash an application because of a security flaw. Say, it handles the URL type foofoo, and is proven to be a security risk. But the developer won&#8217;t fix it (or hasn&#8217;t fixed it yet), so you&#8217;ve removed the application from your hard drive to keep yourself safe.</p>

<p>It doesn&#8217;t work that way — you&#8217;re not safe. Time machine has made a copy in your time machine backup that Mac OS X will cheerfully launch without a warning.</p>

<p>Steps to reproduce:</p>

<ol>
<li>Have existing, up-to-date Time Machine backups.</li>

<li>Delete a protocol handler.</li>

<li>Visit a web site that uses that protocol.</li>
</ol>

<p>Expected results:</p>

<ul><li>Mac OS X will respect that the application has been removed.</li></ul>

<p>Actual results:</p>

<ul><li>Mac OS X will hand it off to the application on the Time Machine backup volume.</li></ul>

<p><em><strong>Update:</strong> This seems to also be true of standard Finder document bindings. I tried double clicking a TextWrangler document after deleting TextWrangler and it cheerfully launched out of the Time Machine backup. Not that I think there&#8217;s anything wrong with TextWrangler; it was just a program I knew I could delete safely (and restore after).</em></p>

<p><em><strong>Update #2:</strong> It was pointed out to me on the <a href="http://www.macworld.com/forums/ubbthreads/showflat.php?Cat=0&amp;Number=547953">Macworld Forums</a> by Rob Griffiths that there is a way to permanently delete a file from all backups. You need to use the context menu within time machine to delete all backups of a file. This means there&#8217;s a workaround, but it&#8217;s still a problem that Mac OS X launches applications from the backup folder without even a warning.</em></p>

<p><em><strong>Update #3:</strong> Apparently, some don&#8217;t understand why this is a bug. Let me give you a simple example: You find out Adium (for example) has an available exploit that the developers haven&#8217;t patched yet. You remove Adium, but it continues to exist in your backup. You visit a web page that activates the Adium bug, and Adium is launched from your backup. That you can launch Adium from your backup is not a bug. That Mac OS X will do so <strong>automatically</strong> without confirmation is a bug. The backup should be considered a vault for the <strong>user</strong>, not Launch Services.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2007/11/mac-os-x-runs-deleted-applications/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: tewha.net @ 2012-02-06 23:54:55 -->
