For small apps changes aren't any big deal, but for big apps Apple's new mandatory sandboxing could be game over

Great American statesman Benjamin Franklin once wrote, "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety."

While he certainly wasn't talking about personal computers, that's exactly the dilemma PC makers find themselves in today.  After all, allowing apps full system liberties opens a world of intriguing new possibilities -- but also new dangers.

I.  Apple Backs Mandatory Sandboxing on the Personal Computer

Some are voicing support for sandboxing, the idea of preventing apps from "talking" to each other, accessing folders outside their own, executing shell commands, or using the attached hardware (without explicit permissions).  So far only one company has embraced such an approach for its personal computer -- Google Inc. (GOOG), makers of Chrome OS.  But sandboxing is about to get a big new proponent as Apple, Inc. (AAPL), the third largest maker of PCs in the U.S., is about to roll out the feature on March 1.

For apps that are distributed in retail form or over the internet, developers -- for now -- won't have to comply with the sandboxing restrictions.  But sandboxing will be mandatory to all new apps in the Mac App Store.  Developers will also have to change their existing Mac App Store apps to sandboxed form if they want to post an update.

Under Apple's new sandboxing system apps will be able to request "entitlements", such as access to a web camera, access to USB devices, access to special folders (music, downloads, etc.).  While this is similar to how sandboxing is handled in Google's Android operating system, Apple will take things a step further and decide whether the requested entitlements are appropriate as part of the applications submission process.

The new security features will help prevent malware, like the recent wave of trojans sweeping Apple's computers [1][2].

Apple wrote developers "the default sandbox environment is as simple as checking [the right] checkbox" in their development environment.  For simple apps, that indeed may be all the intervention that is needed in order to assume compliance with the new restrictions.  But for power apps, deep debugging, testing, and recoding may be required.

II. Developers Aren't Happy

Developers are upset because they fear that customers won't understand the changes and will simply blame them from removing features which can no longer be implemented under the sandboxing regime.  

Some developers are also frustrated at the timing of Apple's decision.  They are used to dealing with changes when there's an operating system release, but aren't used to having to make big changes mid-cycle.  The latest version of OS X, OS X 10.7 "Lion", launched back in July.

Describes Gus Mueller founder of Flying Meat Software, a Mac software company, in an interview with MacWorld, "It’s being introduced in the middle of an OS cycle.  I could see Apple turning it on with the release of 10.8, but forcing the sandbox on developers with a 10.7.x update? That’s crazy."

The changes have some developers considering rebellion -- abandoning the Mac App Store.  Even Mr. Mueller a firm App Store proponent acknowledges that the changes "force me to remove one of my applications", the screenshot app FlySketch.

That's troubling because the Mac App Store has already had some struggles to succeed, in the face of problems like piracy.  Still, it's important not to overstate the reaction -- most developers who use the App Store would be unwilling to turn their back on this lucrative means of mass distribution unless they had.

In the end sandboxing should beef up Mac security, although limiting the kinds of apps that can run on Macs in some cases.  Developers may enjoy several unhappy months thanks to the decision, but they will likely adapt.  After all, iOS -- Apple's operating system for the iPad, iPhone, and iPod Touch -- already implements strict mandatory sandboxing for all apps.

Source: MacWorld

"When an individual makes a copy of a song for himself, I suppose we can say he stole a song." -- Sony BMG attorney Jennifer Pariser

Most Popular Articles

Copyright 2018 DailyTech LLC. - RSS Feed | Advertise | About Us | Ethics | FAQ | Terms, Conditions & Privacy Information | Kristopher Kubicki