Re: how to invoke the authentication dialog
Re: how to invoke the authentication dialog
- Subject: Re: how to invoke the authentication dialog
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 15 Jul 2008 12:28:57 +0200
Le 15 juil. 08 à 12:14, 李国良 a écrit :
maybe the system have such kind of API that used to popup dialog for
authentication, i means if the user want to run an application which
need
the administrator access right, so this dialog popup and request the
administrator's password.
my question is that i can not find out such API, can anyone help me? i
There is a generic C API in Security Framework and objc conterpart in
SecurityFoundation, but it depends what you need.
reading/writing a file, change the setuid flags on an helper tools,
accessing other task…
Each dialog requires different rights and some priviledged operations
have some built-in helper tools or specific API that can be used.
_______________________________________________
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