<?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/"
		>
<channel>
	<title>Comments on: Selectively Disabling Downloaded-File Warnings in Leopard</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Fri, 19 Mar 2010 00:27:46 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tim</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-493354</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 25 Feb 2010 02:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-493354</guid>
		<description>I&#039;m trying to whitelist .flv movies.. and can&#039;t find any reference to them!  I&#039;ve added: 
public.movie
public.mpeg4
to your list (thanks!), but flv is not mentioned at the apple dev site (now found at: http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html#//apple_ref/doc/uid/TP40009259-SW1 )

Thanks again!  Tim</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to whitelist .flv movies.. and can&#8217;t find any reference to them!  I&#8217;ve added:<br />
public.movie<br />
public.mpeg4<br />
to your list (thanks!), but flv is not mentioned at the apple dev site (now found at: <a href="http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html#//apple_ref/doc/uid/TP40009259-SW1" rel="nofollow">http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html#//apple_ref/doc/uid/TP40009259-SW1</a> )</p>
<p>Thanks again!  Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larryy</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-482896</link>
		<dc:creator>larryy</dc:creator>
		<pubDate>Sun, 08 Nov 2009 22:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-482896</guid>
		<description>I figured it out, I think.  Lots more explanation and a couple of additional steps I took that I *think* are unnecessary can be found &lt;a href=&quot;http://forums.macrumors.com/showpost.php?p=8780547&amp;postcount=10&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, but bottom line, I think you just need to open this .plist file in TextWrangler or BBEdit, do a Save As, use the Options button to set the encoding to UTF-8 instead of UTF-8, no BOM, and save right over the original version of the file.  And reboot (or log out and in, not sure which is necessary; both are sufficient).

This is probably mostly an issue for people who have used Amazon downloads, which creates this .plist file, but makes it a UTF-8, no BOM file for whatever reason.  I&#039;ll bet that even people who have their browser set to process safe files aren&#039;t getting auto-launch of Amazon&#039;s download app in later versions of Leopard and in Snow Leopard, and this &quot;no BOM&quot; file encoding is why.</description>
		<content:encoded><![CDATA[<p>I figured it out, I think.  Lots more explanation and a couple of additional steps I took that I *think* are unnecessary can be found <a href="http://forums.macrumors.com/showpost.php?p=8780547&amp;postcount=10" rel="nofollow">here</a>, but bottom line, I think you just need to open this .plist file in TextWrangler or BBEdit, do a Save As, use the Options button to set the encoding to UTF-8 instead of UTF-8, no BOM, and save right over the original version of the file.  And reboot (or log out and in, not sure which is necessary; both are sufficient).</p>
<p>This is probably mostly an issue for people who have used Amazon downloads, which creates this .plist file, but makes it a UTF-8, no BOM file for whatever reason.  I&#8217;ll bet that even people who have their browser set to process safe files aren&#8217;t getting auto-launch of Amazon&#8217;s download app in later versions of Leopard and in Snow Leopard, and this &#8220;no BOM&#8221; file encoding is why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andsens</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-479844</link>
		<dc:creator>andsens</dc:creator>
		<pubDate>Sat, 17 Oct 2009 20:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-479844</guid>
		<description>Craig:
&gt; Anybody have any luck with this for NZB files and snow leopard?

Nope, torrent files work just fine, but SL keeps bugging me with warnings about opening nzb files, even though I added both text/xml as Mime safe type and nzb as safe extension.</description>
		<content:encoded><![CDATA[<p>Craig:<br />
&gt; Anybody have any luck with this for NZB files and snow leopard?</p>
<p>Nope, torrent files work just fine, but SL keeps bugging me with warnings about opening nzb files, even though I added both text/xml as Mime safe type and nzb as safe extension.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-477930</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Fri, 25 Sep 2009 11:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-477930</guid>
		<description>Anybody have any luck with this for NZB files and snow leopard?</description>
		<content:encoded><![CDATA[<p>Anybody have any luck with this for NZB files and snow leopard?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ton</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-474492</link>
		<dc:creator>ton</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-474492</guid>
		<description>I tried it but does not work. I am using 10.5.8. 

I would like very much to have a solution like this. Do you have any idea what the problem might be?</description>
		<content:encoded><![CDATA[<p>I tried it but does not work. I am using 10.5.8. </p>
<p>I would like very much to have a solution like this. Do you have any idea what the problem might be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to disable that annoying downloaded file warning in Leopard &#171; SBP&#8217;s Random Walk</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-452056</link>
		<dc:creator>How to disable that annoying downloaded file warning in Leopard &#171; SBP&#8217;s Random Walk</dc:creator>
		<pubDate>Mon, 30 Mar 2009 17:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-452056</guid>
		<description>[...] How to disable that annoying downloaded file warning in&#160;Leopard  From Eric Meyer: [...]</description>
		<content:encoded><![CDATA[<p>[...] How to disable that annoying downloaded file warning in&nbsp;Leopard  From Eric Meyer: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Disable downloaded-file warnings in Leopard - machine quotidien</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-451981</link>
		<dc:creator>Disable downloaded-file warnings in Leopard - machine quotidien</dc:creator>
		<pubDate>Mon, 30 Mar 2009 11:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-451981</guid>
		<description>[...] Selectively Disabling Downloaded-File Warnings in Leopard [...]</description>
		<content:encoded><![CDATA[<p>[...] Selectively Disabling Downloaded-File Warnings in Leopard [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Bely</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-451307</link>
		<dc:creator>Daniel Bely</dc:creator>
		<pubDate>Thu, 26 Mar 2009 20:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-451307</guid>
		<description>Thanks for the tip.
However, after several warning-free days I&#039;ve downloaded a .wmv file with Firefox and received this annoying warning message again. I went to ADC site and checked this document:
http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/UTIlist.html#//apple_ref/doc/uid/TP40001319-CH205-CHDIJFGJ

This page tells us that WMV conforms to public.movie -&gt; public.audiovisual-​content -&gt; public.content &amp; public data -&gt; public item. This means your tip should work but it doesn&#039;t for some unknown reason.

Any ideas?

Have you tried downloading .wmv files?</description>
		<content:encoded><![CDATA[<p>Thanks for the tip.<br />
However, after several warning-free days I&#8217;ve downloaded a .wmv file with Firefox and received this annoying warning message again. I went to ADC site and checked this document:<br />
<a href="http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/UTIlist.html#//apple_ref/doc/uid/TP40001319-CH205-CHDIJFGJ" rel="nofollow">http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/UTIlist.html#//apple_ref/doc/uid/TP40001319-CH205-CHDIJFGJ</a></p>
<p>This page tells us that WMV conforms to public.movie -&gt; public.audiovisual-​content -&gt; public.content &amp; public data -&gt; public item. This means your tip should work but it doesn&#8217;t for some unknown reason.</p>
<p>Any ideas?</p>
<p>Have you tried downloading .wmv files?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Naujock</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-450454</link>
		<dc:creator>Eric Naujock</dc:creator>
		<pubDate>Mon, 23 Mar 2009 15:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-450454</guid>
		<description>Not that it matters now but the issue your bothered by was created to address a very specific vulnerability. The Issue related to what one would call a drive by download. In the past you could create a malicious file and provide a link to it that would be downloaded and executed automatically bypassing the user controls. 

As a result prior to this you could lose control of your computer. That annoying box gives you the user the last bit of control to prevent bad things from happening prior to bad things happening. 

I am not saying that the box is the best solution for you but remember that since most users tend to run as admin and click without thinking that was the best defense that could be done easily. After all I expect you do like it that Apple tries very hard to keep your system secure from not so nice people.

As for the solution I am glad you found an answer. I just hope your doing defensive browsing and not running as admin.</description>
		<content:encoded><![CDATA[<p>Not that it matters now but the issue your bothered by was created to address a very specific vulnerability. The Issue related to what one would call a drive by download. In the past you could create a malicious file and provide a link to it that would be downloaded and executed automatically bypassing the user controls. </p>
<p>As a result prior to this you could lose control of your computer. That annoying box gives you the user the last bit of control to prevent bad things from happening prior to bad things happening. </p>
<p>I am not saying that the box is the best solution for you but remember that since most users tend to run as admin and click without thinking that was the best defense that could be done easily. After all I expect you do like it that Apple tries very hard to keep your system secure from not so nice people.</p>
<p>As for the solution I am glad you found an answer. I just hope your doing defensive browsing and not running as admin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Rinylo</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-449210</link>
		<dc:creator>Nick Rinylo</dc:creator>
		<pubDate>Thu, 19 Mar 2009 17:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-449210</guid>
		<description>Same here Ben M. 10.5.6 and works 100% for me.</description>
		<content:encoded><![CDATA[<p>Same here Ben M. 10.5.6 and works 100% for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-449124</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Thu, 19 Mar 2009 11:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-449124</guid>
		<description>I&#039;m confused too, &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-449080&quot; rel=&quot;nofollow&quot;&gt;Philippe&lt;/a&gt;.  All I know is the copy I had wasn&#039;t working.  When I dropped in Ben&#039;s, it did work, and the only difference I can see is the encoding.  (The version I had on my hard drive had the XML prolog.)

I&#039;ll try opening both in property List Editor (if I have it installed) and see if there&#039;s any indicated difference, then save both and compare them to the originals and see what happens there.</description>
		<content:encoded><![CDATA[<p>I&#8217;m confused too, <a href="http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-449080" rel="nofollow">Philippe</a>.  All I know is the copy I had wasn&#8217;t working.  When I dropped in Ben&#8217;s, it did work, and the only difference I can see is the encoding.  (The version I had on my hard drive had the XML prolog.)</p>
<p>I&#8217;ll try opening both in property List Editor (if I have it installed) and see if there&#8217;s any indicated difference, then save both and compare them to the originals and see what happens there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-449080</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Thu, 19 Mar 2009 06:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-449080</guid>
		<description>Ref, you update dd 18 Mar 09.
Puzzled. The default for a plist file (any XML) is utf-8 last I checked, and your sample doesn&#039;t specify any xml prolog (meaning: assuming default).
I tested here, 10.5.6, with a plist file created with Property List Editor.app (part of the developers tools) and it worked just fine.</description>
		<content:encoded><![CDATA[<p>Ref, you update dd 18 Mar 09.<br />
Puzzled. The default for a plist file (any XML) is utf-8 last I checked, and your sample doesn&#8217;t specify any xml prolog (meaning: assuming default).<br />
I tested here, 10.5.6, with a plist file created with Property List Editor.app (part of the developers tools) and it worked just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben M</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-447744</link>
		<dc:creator>Ben M</dc:creator>
		<pubDate>Sat, 14 Mar 2009 15:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-447744</guid>
		<description>I&#039;m using 10.5.6 and it&#039;s working for me.  PHP files that I downloaded are opening, as are html &amp; amz (I added that to the list).  I don&#039;t recall getting the message box for images or movies so I can&#039;t verify that.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using 10.5.6 and it&#8217;s working for me.  PHP files that I downloaded are opening, as are html &amp; amz (I added that to the list).  I don&#8217;t recall getting the message box for images or movies so I can&#8217;t verify that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-447508</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Fri, 13 Mar 2009 21:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-447508</guid>
		<description>If you&#039;re following the comment via RSS, please see the update on the post: this isn&#039;t working in 10.5.6.  Not any of it, actually; at least not for me.  Anyone seeing different results?</description>
		<content:encoded><![CDATA[<p>If you&#8217;re following the comment via RSS, please see the update on the post: this isn&#8217;t working in 10.5.6.  Not any of it, actually; at least not for me.  Anyone seeing different results?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comment-447505</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Fri, 13 Mar 2009 19:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=1084#comment-447505</guid>
		<description>So I turned it on, and that means I can get past the dialog with two tabs and a spacebar.  Of course, if I twitch wrong and do one or three tabs, I&#039;m screwed.  Allowing command-O (or even just plain O) for &quot;Open&quot; would be much, much better from a UX standpoint.

But overall, I&#039;d rather just not ever get the dialog box in the first place, at least for the file types I&#039;m willing to let through.  Now, if only I could figure out how to register &lt;tt&gt;.csv&lt;/tt&gt; and &lt;tt&gt;.tsv&lt;/tt&gt; as &lt;tt&gt;public.text&lt;/tt&gt; UTIs...</description>
		<content:encoded><![CDATA[<p>So I turned it on, and that means I can get past the dialog with two tabs and a spacebar.  Of course, if I twitch wrong and do one or three tabs, I&#8217;m screwed.  Allowing command-O (or even just plain O) for &#8220;Open&#8221; would be much, much better from a UX standpoint.</p>
<p>But overall, I&#8217;d rather just not ever get the dialog box in the first place, at least for the file types I&#8217;m willing to let through.  Now, if only I could figure out how to register <tt>.csv</tt> and <tt>.tsv</tt> as <tt>public.text</tt> UTIs&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head profile="http://gmpg.org/xfn/1">
<title>meyerweb.com</title>
<link rel="openid.server" href="http://www.myopenid.com/server">
<link rel="openid.delegate" href="http://emeyer.myopenid.com/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link rel="shortcut icon" href="/favicon.ico"><link rel="home" href="http://meyerweb.com/" title="Home" ><link rel="stylesheet" href="http://meyerweb.com/ui/meyerweb.css" type="text/css" media="screen, projection"><link rel="stylesheet" href="http://meyerweb.com/ui/theme.css" type="text/css" media="screen, projection" id="themeLink"><link rel="stylesheet" href="http://meyerweb.com/ui/print.css" type="text/css" media="print"><script src="http://meyerweb.com/ui/addresses.js" type="text/javascript"></script><link rel="stylesheet" href="/ui/wordpress.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ui/tfe.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ui/home.css" type="text/css" media="screen">
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric" href="/eric/thoughts/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric (only technical posts)" href="/eric/thoughts/category/tech/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric (only personal posts)" href="/eric/thoughts/category/personal/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Distractions" href="/eric/thoughts/recent-links/rss2" />
<link rel="alternate" type="application/rss+xml" title="Excuse of the Day" href="/feeds/excuse/rss20.xml" />
</head>
<body id="www-meyerweb-com" class="hpg">

<div id="sitemast"><h1><a href="/"><span>meyerweb</span>.com</a></h1></div><div id="search"><h4>Exploration</h4><!-- SiteSearch Google --><form method="get" action="http://www.google.com/custom" target="_top"><div><input type="hidden" name="domains" value="meyerweb.com"></input><label for="sbb" style="display: none">Submit search form</label><input type="submit" name="sa" value="Google Search" id="sbb"></input><label for="sbi" style="display: none">Enter your search terms</label><input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input><p><input type="radio" name="sitesearch" value="meyerweb.com" checked id="ss1"></input><label for="ss1" title="Search meyerweb.com">meyerweb.com</label><input type="radio" name="sitesearch" value="" id="ss0"></input><label for="ss0" title="Search the Web">Web</label></p><input type="hidden" name="client" value="pub-3772084027748653"></input><input type="hidden" name="forid" value="1"></input><input type="hidden" name="ie" value="ISO-8859-1"></input><input type="hidden" name="oe" value="ISO-8859-1"></input><input type="hidden" name="safe" value="active"></input><input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input><input type="hidden" name="hl" value="en"></input></div></form><!-- SiteSearch Google --><!-- <form method="get" action="http://www.google.com/custom"><div><input type="submit" name="sa" value="Search"><input type="text" name="q" size="20" maxlength="255" value=""><input type="hidden" name="sitesearch" value="meyerweb.com"></div></form><small><a href="http://www.google.com/search">Powered by Google</a></small> --></div><div id="main"><div class="skipper">Skip to: <a href="#extra">site navigation/presentation</a></div><div class="skipper">Skip to: <a href="#thoughts">Thoughts From Eric</a></div>
<div id="thoughts">


<div class="entry">
<h3><a href="http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/" rel="bookmark" title="Permanent Link: Selectively Disabling Downloaded-File Warnings in Leopard">Selectively Disabling Downloaded-File Warnings in Leopard</a></h3>
<ul class="meta">
<li class="date">Fri 13 Mar 2009</li>
<li class="time">0757</li>
<li class="cat"><a href="http://meyerweb.com/eric/thoughts/category/tech/mac/" title="View all posts in Mac" rel="category tag">Mac</a></li>
<li class="cmt"><a href="http://meyerweb.com/eric/thoughts/2009/03/13/disabling-downloaded-file-warnings-in-leopard/#comments">26 responses</a></li>
<li></li><li></li></ul>

<div class="text">
<p>
One of the things that I&#8217;ve found mind-bendingly annoying about Leopard (besides its complete refusal to allow classic window management) is the &#8220;this file was downloaded from the internet, are you sure you want to open it?&#8221; dialog box.  Yes, damn it: I just downloaded the file with the express intent of opening it.  Stop bothering me.  Keep it up and I might <a href="http://www.youtube.com/watch?v=VuqZ8AqmLPY">mistake you for PC</a>.
</p>
<p>
What&#8217;s even worse is that the dialog requires mouse input to get past.  It would be just within the limits of acceptability if the dialog buttons responded to keyboard input; if I could hit command-O or something to invoke &#8220;Open&#8221;, then I&#8217;d probably keep the safeguard in place, because I could just charge past it with a quick twitch of the fingers.  Since I can&#8217;t, I want it gone.  And of course there&#8217;s no &#8220;don&#8217;t ask me again&#8221; checkbox to tick.
</p>
<p>
After <a href="http://twitter.com/meyerweb/status/1318269392">a plea on Twitter</a>, I got pointers to a couple of ways to disable this annoyance (as well as a ton of &#8220;oh God, I hate that too; let me know if you find an answer!&#8221; replies).  The first way is <a href="http://www.macosxhints.com/article.php?story=20071029151619619">done as a Folder Action</a>.  For a variety of reasons, I&#8217;m not that thrilled by folder actions, so I gave it a pass.  The other approach is to write your own preference file.  Ah, much better!  (Why is this better?  I don&#8217;t know.  It just intuitively feel like the better approach to me.)
</p>
<p>
Now, one way is to just <a href="http://pseudogreen.org/blog/yes_leopard_i_want_to_open_it_already.html">disable the warning for all <tt>public.item</tt> files</a>&#8212;which is to say, every type of file.  I was tempted, but it turns out there&#8217;s a finer grain that can be applied:  <a href="http://mymacinations.com/2008/02/06/changing-the-systems-default-settings-for-html-files-safe/">listing specific file types to be ignored</a>.  Better still!  That way I can switch this off for the file types that I download all the time, like HTML files, and keep the safeguard in place for file types I almost never download, like executable scripts.
</p>
<p>
Doing this means you need a list of OS X&#8217;s Uniform Type Identifiers, so I dug around to find <a href="http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/UTIlist.html#//apple_ref/doc/uid/TP40001319-CH205-CHDIJFGJ">that listing</a>, which appears to have moved in the not-too-distant past.  Here&#8217;s the preference file I&#8217;ve put together with that listing as a guide.  This file lists all of the file types I <em>don&#8217;t</em> want to be nagged about.
</p>

<pre><code>
&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;LSRiskCategoryNeutral&lt;/key&gt;
    &lt;dict&gt;
      &lt;key&gt;LSRiskCategoryContentTypes&lt;/key&gt;
      &lt;array&gt;
        &lt;string&gt;public.text&lt;/string&gt;
        &lt;string&gt;public.plain-text&lt;/string&gt;
        &lt;string&gt;public.xml&lt;/string&gt;
        &lt;string&gt;public.archive&lt;/string&gt;
        &lt;string&gt;public.image&lt;/string&gt;
        &lt;string&gt;public.audiovisual-content&lt;/string&gt;
        &lt;string&gt;public.font&lt;/string&gt;
      &lt;/array&gt;
    &lt;/dict&gt;
  &lt;/dict&gt;
&lt;/plist&gt;
</code></pre>

<p>
I led with <tt>public.text</tt> because it encompasses not just regular text files, but HTML files as well; <tt>public.xml</tt> appears to cover XHTML, though I&#8217;m not 100% sure where those files fall.  <tt>public.audiovisual-content</tt> covers all audio and video files, as you might guess.  There are probably a few other types I&#8217;ll add over time, as I encounter enough resistance on certain types of files that I don&#8217;t need to be safeguarded.  I&#8217;ll probably never add <tt>public.script</tt> or <tt>public.executable</tt> to the list; personally, I prefer to be warned about that sort of stuff.
</p>
<p>
To make the magic happen, save the above file (or your own variation) as <tt>~/Library/Preferences/com.apple.DownloadAssessment.plist</tt>.  Then log out of and back into your account.  <i>Finito</i>.
</p>
<p>
So if you&#8217;d like to get your Mac to be less of a nag about opening downloaded files, there&#8217;s how.  As the links above show, I&#8217;m standing on the shoulders of giants here, so my thanks to those who paved the way.  I hope that you will be able to benefit from both their work and my small additions thereto.
</p>

<p><strong>Update [13 Mar 09]:</strong> Potentially very bad news, folks.  I just tried this on my 10.5.6 machine and it failed utterly.  As did the Folder Action approach.  Older versions of Leopard apparently didn&#8217;t have this problem.  Anyone else seeing the same kind of thing on their machines?  If either way is still working for you under 10.5.6, can you tell us which one it is in the comments?  Thanks.</p>

<p><strong>Update [18 Mar 09]:</strong> Great news, folks.  <a href="http://benmillett.us/">Ben Millett</a> kindly sent me a copy of his working-under-10.5.6 file and I tried it out, and it worked!  The difference seems to be that the version I was using was encoded as &#8220;Unicode&trade; (UTF-8, no BOM)&#8221; whereas the encoding of the file Ben sent me is &#8220;Western (Mac OS Roman)&#8221; (both according to BBEdit).  So if your copy doesn&#8217;t work, check the file encoding.  Next I&#8217;m going to experiment with adding file extensions, and will report back if I meet with success.</p></div>

</div>

</div>
<p style="font-size: 90%; text-align: right; margin-top: 0.5em; padding-top: 0;">(If you care, there's even an <a href="/eric/thoughts/page/2/">archive of previous thoughts</a>...)</p>

</div><div id="extra"><div class="panel" id="archipelago"><h4>Identity Archipelago</h4><ul><li><a href="http://flickr.com/photos/meyerweb/" rel="me">Flickr</a></li><li><a href="http://twitter.com/meyerweb/" rel="me">Twitter</a></li><li><a href="http://dopplr.com/traveller/meyerweb">Dopplr</a></li><li><a href="http://www.linkedin.com/in/meyerweb" rel="me">LinkedIn</a></li><li><a href="http://technorati.com/profile/emeyer" rel="me">Technorati</a></li></ul></div><div class="panel" id="pointers"><h4>Projects Elsewhere</h4><ul><li><a href="http://aneventapart.com/">An Event Apart</a></li><li><a href="http://complexspiral.com/">Complex Spiral Consulting</a></li><li><a href="http://www.webassist.com/go/css/emeyer/">CSS Sculptor</a></li><li><a href="http://css-discuss.org/">css-discuss</a></li><li><a href="http://microformats.org/">Microformats</a></li><li><a href="http://s5project.org/">S5</a></li></ul></div><div class="panel" id="tour"><ul><li><a href="http://fray.com/issue3/"><img src="http://fray.com/images/i3c.gif" alt="Fray Contributor (Issue 3: Sex &amp; Death)" /></a></li><!-- <li><a href="http://www.webassist.com/go/css/emeyer/"><img src="/pix/CS_ad_180x109.jpg" alt="CSS Sculptor for Dreamweaver" style="max-width: 100%;" /></a></li> --></ul></div><div class="panel">
<h4>Recently Tweeted</h4>
<p class="more"><a href="http://twitter.com/meyerweb">see more</a></p>
<p>Spent the afternoon manhandling a rototiller whose clutch design was exactly the inverse of anything resembling reasonable or safe. <small>&#8211;tweeted 1 hour, 5 minutes ago</small></p>
</div><div id="sideblog" class="panel">
<h4>Distractions</h4>
<p class="more">
<a href="/eric/thoughts/recent-links/">archive</a>
</p>
<ul>
<li><a href="http://tweetagewasteland.com/2010/03/my-head-is-in-the-cloud/" title="March 18 | &#8220;I sense that my addiction to the realtime stream is only making room for the consumption of a faster stream.&#8221;">My Head is in the Cloud</a> <small>[via <a href="http://daringfireball.net/">John</a>]</small></li>
<li><a href="http://8bitnyc.com/" title="March 17 | All of a sudden I want to establish a mission in Central Park and negotiate with the natives for gold and food.">8-Bit NYC</a></li>
<li><a href="http://www.youtube.com/watch?v=nFicqklGuB0&amp;feature=player_embedded" title="March 12 | Wry comment expressing my appreciation of the creative derivativeness of this video and its uncanny accuracy in mocking common tropes.">Academy Award Winning Movie Trailer</a></li>
<li><a href="http://www.youtube.com/watch?v=414TmP12WAU" title="March 9 | &#8220;Apple juice&#8230; for half price!&#8221;  More like twice PRICELESS.  (Note: If you&#8217;re at work, don your headphones.)">Happy in Paraguay</a> <small>[via <a href="http://unstoppablerobotninja.com/">Ethan</a>]</small></li>
<li><a href="http://www.youtube.com/watch?v=9V5ubAOeOBk&amp;feature=player_embedded" title="February 10 | This is approximately the best thing ever.">U900 -Walk Don&#8217;t Run (Isogabamaware)</a></li>
<li><a href="http://www.456bereastreet.com/archive/201002/sifr_default_css_hides_content_from_at_least_one_screen_reader/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A 456bereastreet %28456 Berea Street%29" title="February 8 | -9999px comes through again, but I really wish we were beyond that kind of thing.">sIFR default CSS hides content from at least one screen reader</a></li>
<li><a href="http://www.macosxhints.com/article.php?story=20100117064356428" title="February 8 | Storing this for future use.">Take a picture with the iSight camera when a folder is opened</a></li>
<li><a href="http://mingle2.com/blog/view/web-developer-mind" title="February 4 | Mostly valid.  (SEE WHAT I DID THERE?)">The Mind of a Web Developer: An Illustrated Diagram</a></li>
<li><a href="http://www.theonion.com/content/news/science_channel_refuses_to_dumb" title="January 28 | &#8220;Punkin Chunkin, for Christ&#8217;s sake&#8230; What more do you people want?&#8221;">Science Channel Refuses To Dumb Down Science Any Further</a></li>
<li><a href="http://www.mailchimp.com/blog/project-omnivore-declassified/" title="January 27 | Sounds like quite a feat.  But I wonder how we&#8217;d feel if Microsoft or Google announced the same kind of thing on their e-mail services.">MailChimp&#8217;s Project Omnivore: Declassified</a></li>
<li><a href="http://www.politifact.com/truth-o-meter/statements/2010/jan/25/carolyn-maloney/congresswoman-says-democratic-presidents-create-mo/" title="January 26 | &#8220;Obviously, luck matters a lot, but when there is a consistent pattern over more than 60 years, it starts to look like more than just luck.&#8221;">Congresswoman says Democratic presidents create more private-sector jobs</a></li>
<li><a href="http://www.ted.com/talks/taylor_mali_what_teachers_make.html" title="January 25 | Truth.">Taylor Mali: What teachers make</a></li>
<li><a href="http://notebook.johnmartz.com/how-websites-work?c=1" title="January 22 | At last, the truth is out and I can stop pretending:  beatific monkeys are what makes it all go.">How websites work</a></li>
</ul>
</div>
<div class="panel" id="advisory">
<div class="guarded">
<a href="http://blogadvisorysystem.com/"><img src="/pix/bas/guarded.png" alt="Blog Advisory System Alert Level: Guarded"></a>
</div>
</div>

<div class="panel" id="excuse">
<h4>The <a href="/feeds/excuse/">excuse of the day</a> is</h4>
<p>Internet 1 traffic is being routed onto Internet 2</p>
</div>

<div class="panel" id="extras">
<h4>Extras</h4>
<ul>
<li><a href="/feeds/">Feeds</a> &#8226;</li>
<li><a href="/eric/faq.html">FAQ</a> &#8226;</li>
<li><a href="/family.html">Family</a></li>
</ul>
</div>

</div>

<div id="navigate">
<h4>Navigation</h4>
<ul id="navlinks">
<li id="archLink"><a href="/eric/thoughts/">Archives</a></li>
<li id="cssLink"><a href="/eric/css/">CSS</a></li>
<li id="toolsLink"><a href="/eric/tools/">Toolbox</a></li>
<li id="writeLink"><a href="/eric/writing.html">Writing</a></li>
<li id="speakLink"><a href="/eric/talks/">Speaking</a></li>
<li id="otherLink"><a href="/other/">Leftovers</a></li>
<li id="aboutsite"><a href="/ui/about.html">About this site</a></li>
</ul>
</div>

<div id="footer">
<p class="sosumi">All contents of this site, unless otherwise noted, are &copy;1995-2008 <strong>Eric A. and Kathryn S. Meyer</strong>.  All Rights Reserved.</p>
<p>"<a href="/eric/thoughts/">Thoughts From Eric</a>" is powered by the &uuml;bercool <a href="http://wordpress.org/">WordPress</a></p>
</div>
</body>
</html>
