Re: Privilege elevation of a cocoa app

2009-05-21 Thread Erg Consultant
25:15 AM Subject: Re: Privilege elevation of a cocoa app On 2009 May 21, at 02:49, Arun wrote: > I have an application which when launched asks for user to authenticate for > admin rights. Eyebrows are raised. > After user authenticates the app is launched. I thought after authenticati

Re: Privilege elevation of a cocoa app

2009-05-21 Thread Greg Guerin
Todd Heberlein wrote: For example, I use HelperTool to open a specific file that require root access, and then I pass the file descriptor back to my Cocoa application. man authopen /usr/libexec/authopen -h -- GG ___ Cocoa-dev mailing list (

Re: Privilege elevation of a cocoa app

2009-05-21 Thread Todd Heberlein
Is there any way in which i can elevate the privilege of the binary after authentication. Look at the BetterAuthorizationSample code and documentation at http://developer.apple.com/referencelibrary/Security/idxAuthorization-date.html Basically you put your privileged code in a non-GUI appl

Re: Privilege elevation of a cocoa app

2009-05-21 Thread Michael Ash
On Thu, May 21, 2009 at 5:49 AM, Arun wrote: > Hi All, > > I have an application which when launched asks for user to authenticate for > admin rights. > After user authenticates the app is launched. I thought after authentication > the Application executes with admin privilages. But is is still ex

Re: Privilege elevation of a cocoa app

2009-05-21 Thread Jerry Krinock
On 2009 May 21, at 02:49, Arun wrote: I have an application which when launched asks for user to authenticate for admin rights. Eyebrows are raised. After user authenticates the app is launched. I thought after authentication the Application executes with admin privilages. But is is stil

Privilege elevation of a cocoa app

2009-05-21 Thread Arun
Hi All, I have an application which when launched asks for user to authenticate for admin rights. After user authenticates the app is launched. I thought after authentication the Application executes with admin privilages. But is is still executing in user privilages only. Is there any way in whic