• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sandboxing not so bad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sandboxing not so bad


  • Subject: Sandboxing not so bad
  • From: James Merkel <email@hidden>
  • Date: Thu, 13 Sep 2012 12:45:05 -0700

Sandboxing is not as restrictive than I though it would be.

For example, the documentation for the entitlement: com.apple.security.files.user-selected.read-write says this entitlement provides:  "Read/write access to files the user has selected using an Open or Save dialog" .
I was reading more into that than I should have. If you use the Open dialog to access a file, then you can read and write to the file. You don't have to use the Save dialog to write to the file. And that file
can be anywhere on the file system (except for system files I guess).

And yes the app is really sandboxed. If no entitlements are enabled I can't do anything (except read and write to recent documents in the Open Recent menu).

So with just that entitlement and a Printing Entitlement I can do just about everything I could previously do before Sandboxing.
The only thing I can't do is write comments to the Finder GetInfo window -- because  that uses Applescript. But I can live without that.

So unless I'm missing something, sandboxing is a piece of cake.

Thanks,

Jim Merkel

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sandboxing not so bad
      • From: James Merkel <email@hidden>
    • Re: Sandboxing not so bad
      • From: Graham Cox <email@hidden>
  • Prev by Date: Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?
  • Next by Date: Re: maintaining alpha value for intersecting lines?
  • Previous by thread: Re: Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?
  • Next by thread: Re: Sandboxing not so bad
  • Index(es):
    • Date
    • Thread