Re: Allow only root/admin users to execute the cocoa app
Re: Allow only root/admin users to execute the cocoa app
- Subject: Re: Allow only root/admin users to execute the cocoa app
- From: Sherm Pendley <email@hidden>
- Date: Sun, 24 Jan 2010 10:48:32 -0500
On Sun, Jan 24, 2010 at 4:19 AM, Arun <email@hidden> wrote:
>
> I want to allow my cocoa app to be only launched by root/admin users.
> How can i achieve this?
Use Authorization Services to check for admin authority, and exit if
your app doesn't have it.
<http://developer.apple.com/mac/library/documentation/Security/Conceptual/authorization_concepts/01introduction/introduction.html>
sherm--
--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________
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