Re: CFURLWriteDataAndPropertiesToResource as root?
Re: CFURLWriteDataAndPropertiesToResource as root?
- Subject: Re: CFURLWriteDataAndPropertiesToResource as root?
- From: Eli Bach <email@hidden>
- Date: Mon, 08 Aug 2011 01:04:07 -0600
On Aug 7, 2011, at 10:07 PM, Stephen Blinkhorn wrote:
> It's a validation file containing registration details. My product is an AudioUnit plugin so there's no App Store potential but I'd prefer to keep things clean just in case.
>
> I don't care where I write the file much (previously I wrote it to "/Library/Preferences") but even the hard drive root path is off limits. Other suggestions include writing data into the keychain but this is just a Lion compatibility fix and I'm not sure how keychain access from within an AU would work out in practice.
>
> I register the whole machine rather than individual users. Any other suggestions as to where to write it?
> Stephen
Some apps, including iTunes, using /Users/Shared/ for DRM. It may still be world-writable in Lion [which I can't confirm as I haven't switched yet...come on 10.7.2...].
Eli
_______________________________________________
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