OS X Leopard - Are you sure you want to open it?

I think by now, every OS X Leopard users will be well acquainted with the warning message “Are you sure you want to open it?”. Apple’s over cautious security feature thats been described by some as a Vista-esque feature, but for me it’s just a real pain in the backside.


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.

There is some reasoning behind this security feature, but I can’t help think that Apple should have included a way to turn it off or at least configure what file types the user deems ’safe’ or ‘unsafe’.

After Googleing for a solution I discovered two options. The first is by Henrik (Lift the Leopard download quarantine) 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 ‘unsafe’ 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.

The second is by Lazeez (Changing the system’s default settings for html files (safe)) 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 ’safe’, you then need to save it to the ~/Library/Preferences folder, log-out or reboot to activate the changes, and no more warning messages!

The file looks like this:-

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>LSRiskCategorySafe</key>
<dict>
	<key>LSRiskCategoryContentTypes</key>
<array>
	<string>public.html</string>
	<string>public.php-script</string>
</array>
</dict>
</dict>
</plist>

You can see I have added two strings, public.html and public.php-script 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: System-Declared Uniform Type Identifiers.

To add more, simply add in <string>file.type.here</string> (The file type Identifier)

I hope this helps other Leopard users as much as it has helped me - as any unnecessary clicks can really start to slow a work flow down.

April 15th, 2008 | 15 Comments

My Top 5 Website Building Tools

Designing and editing websites and blogs can be much easier with the right tools. Here is a list of my top 5 website building tools:

Smultron: A free text editor for the Mac which is both easy to use and powerful. It is designed to not confuse newcomers nor disappoint advanced user. I have been using Smultron for well over a year, and it has become my default text editor of choice for .txt, .html to .php

Website: Smultron by Peter Borg. Requirements: Mac OS X 10.4.9 Tiger or later. Price: Free!

CSSEdit: This little application is quick, clean and offers superb CSS styling of absolutely any web page. It is the fastest, easiest CSS editing application I have used, and find using anything else a real pain in the …

Website: MacRabbit. Requirements: Mac OS X 10.4 or higher. Price: $29.95.

Adobe Photoshop: Possible slightly over the top, in price terms, for most web-designers, and can be a bit daunting to use for the first time. But I’ve been using Photoshop for fifteen years now and know it like the back of my hand - so I never start a new design project or website without mocking it up in Photoshop first. It is always running on my Mac and allows me to edit any image instantly.

Website: Adobe. Requirements: PS CS3 Mac OS X v.10.4.8 or higher. Price: from $649.

Transmit 3: If you design your site locally like I do, then you need a way to get it from your desktop to your server! For pure simplicity I have used Transmit for years now, as it does just that. It is the FTP app of choice for a lot of Mac user, allowing perfect Synchronisation between Your Stuff and Theirs (local and server).

Website: Panic. Requirements: Mac OS X 10.3.9 or higher. Price: $29.95.

Parallels: If you build it you really (really) should make sure it works in every browser! I must confess I am slightly cynical on the whole browser testing thing because I use Safari for most of my browsing these days, and generally it seems to work with 99.9% of every website I visit. Firefox does come a close second, and I do use it for writing and editing posts on my Wordpress sites as this is one thing that Safari doesn’t like (sigh!).

Read More …

August 22nd, 2007 | 1 Comment

Just because your paranoid (Mac Security)

The perils of not password-protecting your computer
The perils of not password protecting your computer.
The Joy of Tech.

Security is always a good idea, it protects you from all those nasty viruses and evil hackers that you just know are lurking in the darker corners of the web, waiting silently to slip into you computer and take over your life!

But even if you have the best security in the world, it wont protect you from your office mates or so called friends who you invite around for a cup of coffee and a chat.

The perils of not password-protecting your computer is just as bad, we can laugh about it, but it can be a lot more dangerous than not running a firewall or not having anti-virus software installed. If you’re laughing at this right now, ask yourself, would you really let the person sitting next to you freely browse the contents of your computer?

Below are 5 simple steps to password protecting your Mac*

Read More …

September 5th, 2006 | Leave a Comment

New iMac Problems

I bought a new 20 inch Core Duo iMac a few months ago, my first Apple product in four years. Its clean edges look fantastic on the desk and it sits like a big brother next to my old 12 inch PowerBook G4 .

But after a few weeks (conveniently just out of the 14 day return policy) I started noticing something weird happening after waking the iMac from sleep mode. At first there was a weird flickering across the screen, the kind of flicker you get when degaussing a conventional monitor. But this seemed to last longer and longer with each sleep and eventually took over an hour to clear itself, and even longer if it had been in sleep mode overnight.

Read More …

September 3rd, 2006 | Leave a Comment
Copyright © 2008 Davinian.   Terms of Use | Privacy Policy
Powered by WordPress | Theme based on Blue Weed by Blog Oh! Blog.
Entries (RSS) and Comments (RSS)