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: "Clark S. Cox III" <email@hidden>
- Date: Sun, 24 Jan 2010 08:21:15 -0800
Let me say: running Cocoa peograms as root is a *very* bad idea. There
are many ways to get code loaded into applications, and if said
program is running as root, that code will be running as root as well.
Show me a GUI application running as root, and I'll shoe you a
trivially compromised system.
A much better idea would be to factor the code that needs to run with
root privelages into a seperate tool, and to use Authorization
Services to launch that tool as needed.
Sent from my iPhone
On Jan 24, 2010, at 1:19, Arun <email@hidden> wrote:
Hi All,
I want to allow my cocoa app to be only launched by root/admin users.
How can i achieve this?
Thanks
Arun
_______________________________________________
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
_______________________________________________
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