Re: CFURLWriteDataAndPropertiesToResource as root?
Re: CFURLWriteDataAndPropertiesToResource as root?
- Subject: Re: CFURLWriteDataAndPropertiesToResource as root?
- From: Sean McBride <email@hidden>
- Date: Mon, 08 Aug 2011 16:56:56 -0400
- Organization: Rogue Research Inc.
On Mon, 8 Aug 2011 14:42:54 -0600, Stephen Blinkhorn said:
>>> OK, well /Library/Application Support/CompanyName/ is out I believe
>>> as you're not supposed to store user data in there.
>>
>> IIRC, the data you're talking about is registration information,
>> which is *not* what (I think) is meant by "user data". In fact,
>> Application Support seems like exactly the right place to put this
>> information (issues of trying to "hide" registration files from
>> users' casual inspection aside).
>
>The desire to "hide" was indeed a consideration but Application
>Support it is.
To be clear, you'd need to use ~/Library/App Support not the one in /Library.
You can use the latter, but you'll need to do so via SMJobBless() since it requires root on 10.7 (and admin on 10.6). Going this root is currently forbidden by the App Store, if you care about that, ummm, thing.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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