• 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
NSTask -launch override
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask -launch override


  • Subject: NSTask -launch override
  • From: Keith Duncan <email@hidden>
  • Date: Tue, 25 Sep 2007 17:42:05 +0100

I'm trying to implement a transparently authorized -launch method in NSTask. What I need to know is if I can use AuthorizationExecuteWithPrivileges() with the current user's default rights acquired when initializing the AuthorizationRef without having to actually authorize.

The desired effect would be that preauthorizing would yield whether or not the current user needs to authorize to run the task, if they need to then the user will first be asked to authorize. Either way the task is to be run through AuthorizationExecuteWithPrivileges().

Keith
_______________________________________________

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: NSTask -launch override
      • From: "Finlay Dobbie" <email@hidden>
  • Prev by Date: NSTableView questions
  • Next by Date: Re: [resolved] Re: really weird move file problem -- bonus points to Jon Hendry
  • Previous by thread: Re: NSTableView questions
  • Next by thread: Re: NSTask -launch override
  • Index(es):
    • Date
    • Thread