• 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
Re: Using authorization to enumerate restricted folders?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using authorization to enumerate restricted folders?
      • From: Michael Ash <email@hidden>
References: 
 >Using authorization to enumerate restricted folders? (From: Oleg Krupnov <email@hidden>)
 >Re: Using authorization to enumerate restricted folders? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Path from NSFileHandle?
  • Next by Date: Re: Using authorization to enumerate restricted folders?
  • Previous by thread: Re: Using authorization to enumerate restricted folders?
  • Next by thread: Re: Using authorization to enumerate restricted folders?
  • Index(es):
    • Date
    • Thread