3 ms·
Except that app sandboxing excludes a lot of otherwise useful apps.
by outworlder 11y ago
Except that app sandboxing excludes a lot of otherwise useful apps.
- tomschlick 11y agoThat the majority of people would never use. Better to secure the 99% and inconvenience us developer for the 1% of apps that need sandboxing removed.
- outworlder 11y agoOh please. Where did you take your 1% from? If your application is not a game, or it does not fit the model of "here be a document, type on it", chances are the sandbox won't allow it. Actually, even if you do follow that model: see BBEdit and Coda. What about Postbox? iStatsMenu? Heck, even Alfred. Or Parallels, Microsoft Office, the Adobe suite? These cannot be sandboxed. Frankly, I could come up with more applications if I did some research, but why bother. Nearly everything that's interesting that's not a game will be crippled or just unavailable. And, for games, Steam is better in every way. EDIT: By "cannot be sandboxed", I mean that they cannot be sandboxed under Apple's current draconian sandboxing rules.
- simonh 11y agoOn the bright side, at least none of Apple's pro apps on the App Store have been excluded due to breaking sandbox restrictions.
- mh- 11y agoBecause app developers can request specific sandbox exemptions (so-called "temporary exceptions") when they submit to the app store. You can view these exceptions by dumping the Container.plist inside a sandboxed app's container, e.g. for Calendar: /usr/libexec/PlistBuddy -c "print SandboxProfileDataValidationInfo" $HOME/Library/Containers/com.apple.iCal/Container.plist Look at the keys beginning with `com.apple.security.temporary-exception`. (Also note that some Apple apps don't have containers, like iTunes.)
- mdaniel 11y agoWhoa, thank you so much for bringing PlistBuddy to my attention. I feel as much joy as when I learned about `/usr/libexec/java_home`. Maybe I should just start poking around in /usr/libexec and see what other awesome toys are hiding in there.
- derefr 11y agoI don't understand why developers don't just follow Apple's own Xcode example: ship a sandboxed app that, on first startup, offers to run the (elevated) installer for an accompanying OS-integration package. Or does Apple not let anyone but themselves do that?