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
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 (
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
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
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
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