Re: Using authorization to enumerate restricted folders?
Re: Using authorization to enumerate restricted folders?
- Subject: Re: Using authorization to enumerate restricted folders?
- From: Oleg Krupnov <email@hidden>
- Date: Thu, 9 Apr 2009 18:57:53 +0300
Thanks, Kyle. Isn't there really a way to do the work in the same
process? It seems quite tedious to transfer my existing
directory-scanning code into a separate process and set up the
communication between the processes...
On Thu, Apr 9, 2009 at 5:59 PM, Kyle Sluder <email@hidden> wrote:
> On Thu, Apr 9, 2009 at 9:54 AM, Oleg Krupnov <email@hidden> wrote:
>> Now I am puzzled what do I do next? How do I use this authorization
>> reference, how do I pass it to the file manipulation functions?
>
> You spawn a setuid root process to do the work. See the
> BetterAuthorizationSample for more:
> http://developer.apple.com/SampleCode/BetterAuthorizationSample/index.html
>
> --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