Re: CFURLWriteDataAndPropertiesToResource as root?
Re: CFURLWriteDataAndPropertiesToResource as root?
- Subject: Re: CFURLWriteDataAndPropertiesToResource as root?
- From: Stephen Blinkhorn <email@hidden>
- Date: Mon, 08 Aug 2011 12:39:06 -0600
On 8 Aug 2011, at 12:21, Kyle Sluder wrote:
On Mon, Aug 8, 2011 at 11:13 AM, Stephen Blinkhorn
<email@hidden> wrote:
I'm afraid your fears have just been confirmed, until I find a better
solution at least. Maybe I can justify this as a kind of protest
against
AudioUnits not being allowed in the App Store :-)
Well, writing to /Users/Shared isn't going to pass the MAS
guidelines anyway.
And writing anywhere that you haven't been granted access to via
NSSavePanel is going to fail under Sandboxing.
So it might be time to start thinking about whether you really need to
be writing in arbitrary locations on the disk.
OK, well /Library/Application Support/CompanyName/ is out I believe as
you're not supposed to store user data in there. Which leaves the
keychain as the only option I can think of right now. I'll try the
keychain approach but I don't see it being ideal for an AU plugin that
users may run from within several host apps.
Alternatively I could distribute key files and have the user specify
its location.
Stephen
--Kyle Sluder
_______________________________________________
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