Skip to Content

Apple to require sandboxing in Mac App Store apps as of March 2012

Apple sent an email to registered developers today that's bound to ruffle some feathers -- again. As of March 2012, Apple will require all apps submitted to the Mac App Store to implement sandboxing. This isn't a new development, as Apple was initially going to require sandboxing starting in November of this year. Apple has apparently delayed implementing the rule for another few months, but the requirement itself may cause challenges for some Mac developers.

Apple's motivation behind requiring sandboxing is all about security: "Sandboxing your app is a great way to protect systems and users by limiting the resources apps can access and making it more difficult for malicious software to compromise users' systems." But the company's all-or-nothing approach is potentially problematic; "As of March 1, 2012 all apps submitted to the Mac App Store must implement sandboxing," Apple says.

Over the past few months, developers ranging from Daniel Jalkut to Dr. Drang to Real Studio to Peter Sichel have pointed to flaws and shortcomings in the sandboxing approach, including a buggy Carbon implementation and questionable support for most AppleScript-centric automation tools. Jason Snell and Andy Ihnatko have weighed in as well, concerned that sandboxing may lead to a dumbing down of Mac App Store options or the death of AppleScript itself. (Not all developers are upset, to be sure.)

The sort-of good news is Apple does allow for some exceptions to its pending sandboxing policy. "If your app requires access to sandboxed system resources you will need to include justification for using those entitlements as part of the submission to the Mac App Store," Apple says.

But then there's the bad news: "Apps that are being re-engineered to be sandbox compatible may request additional temporary entitlements. These entitlements are granted on a short-term basis and will be phased out over time."

Before the inevitable complaints about this policy kick in, it's worth taking a step back and remembering that unlike the iOS platform, the Mac App Store isn't the only legitimate way to get apps onto a Mac. That's probably cold comfort to developers who have found the Mac App Store an easier and more lucrative channel for app distribution than the traditional methods. There's also the fact that any discussion that begins with "The Mac App Store isn't the only way to get apps on a Mac" inevitably ends with the ominous pronouncement "yet."

That said, just like some iOS App Store restrictions, this new policy seems a bit on the extreme side. Just like the "no third-party IDEs" rule for the iOS platform last year, it also seems like a policy born in committee that may have sounded like a good idea to Apple at the time but is eventually destined to be modified or deprecated once its real-world implications for the Mac platform become clear. The fact that Apple has already delayed implementing the sandbox requirement by five months could mean further reprieves or workarounds for developers with affected products.



Categories

Mac OS X

Apple sent an email to registered developers today that's bound to ruffle some feathers -- again. As of March 2012, Apple will require...
 

Add a Comment

*0 / 3000 Character Maximum Comment Moderation Enabled. Your comment will appear after it is cleared by an editor.

20 Comments

Filter by:
Terry Lambert

People need to get over the fact that Carbon is dead. It was intended as an API bridge between C code and Objective C code, and it's over and done.

The death knell for it was when inodes when to 64 bits, but the (binary format) file ID compatibility system was 32 bits and incapable of being extended in a backward compatible way. This happened in Leopard as a result of XSan requiring a 64 bit inode because it split up the inode space into a 32 bit node/filesystem ID and a 32 bit inode number on that resource to attempt to provide more or less globally unique inode numbers.

As time goes forward, there's going to be less and less support for Code Warrior code -- the one real argument for writing Carbon code. Motorolla sold off the Intel version of the Code Warrior compiler two weeks before Apple announced the Intel switch, and that was years ago, so it's never been truly supported on Intel in any case.

Get over it.

November 10 2011 at 5:53 PM Report abuse rate up rate down Reply
Resuna

I'd already decided to give Lion a miss. It's turning into Mac OS X Vista.

November 07 2011 at 6:37 AM Report abuse rate up rate down Reply
Yuusharo

Speaking purely from a security perspective, the idea of sandboxing virtually 100% of user applications is a wonderful thing. The main reason why Windows and Mac are targets for virus authors is because user applications can run on the same level as the OS kernel. By forcing applications to be sandboxed by default, it adds an additional layer of protection to your machine that would make virus exploits much more difficult (note: not impossible, but definitely more difficult).

Some will argue that all these restrictive measures of sandboxing and gatekeepers like the Mac App Store will "kill personal computers." Sure, I will be sad to see a day where I have to "jailbreak" my laptop just to be able to run whatever applications I want, but I don't think that will happen. Mac OS X, like Windows, is in a transition, one that comes with some negatives but also some positives. It's going to work itself out in the end, so it's okay.

November 03 2011 at 2:31 PM Report abuse rate up rate down Reply
??????

Call me an Appleholic but I don't see a problem at all. Unlike iOS's App Store, ones can always distribute their software without the App Store. User-friendliness including security is what makes the Store sounds. IMHO, the objective of the App Store is to help customers attempting new things, rather than a playground for developers to find guinea pig for half-baked toys. So sandboxing should be a "must" at the beginning.

November 03 2011 at 11:46 AM Report abuse rate up rate down Reply
CrisisDog

I'm worried about how this would effect ports of applications that were originally written on Windows; games come to mind. I'm not a programmer, but I wonder how much more difficult it would be for popular games to be brought over, as I'm under the impression that they bypass some Windows system calls for a gain in speed.

November 03 2011 at 8:24 AM Report abuse -1 rate up rate down Reply
Herman Kopinga

Chris, Thank you for an insightful and well written article about this subject. It could have been fanboyism, it could have been cutting corners (which could have resulted in heated comments). I think it is just well written.

Well done!

November 03 2011 at 6:21 AM Report abuse rate up rate down Reply
Pierre French

one word (or two actually): mac jailbreak.

November 03 2011 at 5:30 AM Report abuse -3 rate up rate down Reply
2 replies to Pierre French's comment
SaintNicster

Mac. App. Store. Non-app store applications don't have to be sandboxed. You don't need to jailbreak.

Now, something like Cydia for Mac, or some other third-party app store? Ok, I can dig that. That doesn't, however, require jailbreaking/rooting.

November 03 2011 at 11:56 AM Report abuse +1 rate up rate down Reply
Darkflame

It's out already!. It's called bootcamp+windows ;)

November 03 2011 at 1:46 PM Report abuse -1 rate up rate down Reply
Svein Arild Kristian

Im not negative to the idea of Mac App Store only, but as long as people still can make plugins to apps like Logic, Aperture and so on, I guess everyone is happy.
As at is is now, mac store apps can't be plugins to other apps.

November 03 2011 at 4:21 AM Report abuse -3 rate up rate down Reply
Janichsan

Sandboxing is only supported on OS X 10.7. Does that mean that from March 2012 on, no Snow Leopard compatible apps will be available from the App Store?

November 03 2011 at 3:46 AM Report abuse rate up rate down Reply
3 replies to Janichsan's comment
Ric

Well, the path is pretty clear. After they require Mac App Store apps to be sandboxed, the next gen of the OS will then require that ALL apps be sandboxed. Current apps sold independently will have a year to convert to sandbox protocols or will not run. Wait and see. Its in the cards. Ahhh... the final push of the knife will be one more OS upgrade. That one will allow all apps that are on your computer to run, but new apps will HAVE to come from the Mac App Store. CHECKMATE !

Where is that discount coupon for Windows 9 ? ;)
-Ric

November 03 2011 at 12:32 AM Report abuse -1 rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.