• 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: Kyle Sluder <email@hidden>
  • Date: Thu, 9 Apr 2009 10:59:38 -0400

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: Oleg Krupnov <email@hidden>
References: 
 >Using authorization to enumerate restricted folders? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: HUD-Style buttons
  • Next by Date: Re: HUD-Style buttons
  • Previous by thread: Using authorization to enumerate restricted folders?
  • Next by thread: Re: Using authorization to enumerate restricted folders?
  • Index(es):
    • Date
    • Thread