<?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>Davinian &#187; OS X</title>
	<atom:link href="http://www.davinian.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davinian.com</link>
	<description></description>
	<lastBuildDate>Wed, 17 Mar 2010 21:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-beta1</generator>
		<item>
		<title>OS X Leopard &#8211; Are you sure you want to open it?</title>
		<link>http://www.davinian.com/os-x-leopard-are-you-sure-you-want-to-open-it/</link>
		<comments>http://www.davinian.com/os-x-leopard-are-you-sure-you-want-to-open-it/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 12:39:48 +0000</pubDate>
		<dc:creator>Davinian</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://davinian.com/os-x-leopard-are-you-sure-you-want-to-open-it/</guid>
		<description><![CDATA[I think by now, every OS X Leopard users will be well acquainted with the warning message &#8220;Are you sure you want to open it?&#8221;. Apple&#8217;s over cautious security feature thats been described by some as a Vista-esque feature, but&#160;&#8230; <a href="http://www.davinian.com/os-x-leopard-are-you-sure-you-want-to-open-it/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I think by now, every OS X Leopard users will be well acquainted with the warning message &#8220;Are you sure you want to open it?&#8221;. Apple&#8217;s over cautious security feature thats been described by some as a Vista-esque feature, but for me it&#8217;s just a real pain in the backside.</p>
<p><img class="ngg-singlepic ngg-center" src="http://www.davinian.com/content/apps/are-you-sure-you-want-to-open-it.jpg" alt="Are you sure you want to open it!?" /></p>
<p>Basically every file downloaded from the internet is tagged by the OS depending on its file type. If the download is an application or script, the OS will warn you with the above message when you first try and open it. Fine if you are opening one or two files, but not if you are trying to open up 20+ files at a time.</p>
<p>There is some reasoning behind this security feature, but I can&#8217;t help think that Apple should have included a way to turn it off or at least configure what file types the user deems &#8217;safe&#8217; or &#8216;unsafe&#8217;.</p>
<p>After Googleing for a solution I discovered two options. The first is by Henrik (<a title="Lift the Leopard download quarantine" href="http://henrik.nyh.se/2007/10/lift-the-leopard-download-quarantine">Lift the Leopard download quarantine</a>) is a simply Apple Script folder action that you apply to your Downloads folder. Every time a file is downloaded the Apple Script removes the &#8216;unsafe&#8217; tag from it and thus banishes the warning message. The only problem I can see with the script is that is dose not work its magic on files within sub-folders.</p>
<p>The second is by Lazeez (<a title="Changing the system’s default settings for html files (safe)" href="http://mymacinations.com/2008/02/06/changing-the-systems-default-settings-for-html-files-safe/">Changing the system’s default settings for html files (safe)</a>) and is my preferred solution. Basically you need to create a file called com.apple.DownloadAssessment.plist with a list of the file types you consider &#8217;safe&#8217;, you then need to save it to the ~/Library/Preferences folder, log-out or reboot to activate the changes, and no more warning messages!</p>
<p>The file looks like this:-</p>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
	&lt;key&gt;LSRiskCategorySafe&lt;/key&gt;
&lt;dict&gt;
	&lt;key&gt;LSRiskCategoryContentTypes&lt;/key&gt;
&lt;array&gt;
	&lt;string&gt;public.html&lt;/string&gt;
	&lt;string&gt;public.php-script&lt;/string&gt;
&lt;/array&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;/plist&gt;</pre>
<p>You can see I have added two strings, <em>public.html</em> and <em>public.php-script</em> this allows me to open both .html and .php files without the warning. A full list of file types can be found on the Apple Developer site: <a title="System-Declared Uniform Type Identifiers" href="http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/chapter_4_section_1.html">System-Declared Uniform Type Identifiers</a>.</p>
<p>To add more, simply add in &lt;string&gt;file.type.here&lt;/string&gt; (The file type Identifier)</p>
<p>I hope this helps other Leopard users as much as it has helped me &#8211; as any unnecessary clicks can really start to slow a work flow down.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davinian.com/os-x-leopard-are-you-sure-you-want-to-open-it/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
