Le 24 janv. 2010 à 22:31, Todd Heberlein a écrit : >> I want to allow my cocoa app to be only launched by root/admin users. >> How can i achieve this? > > As I think has already been mentioned, the UNIX approach is to set the > application's owner as root and then make it only executable by the owner. > However, Apple largely discourages programmers from developing Cocoa apps > that will be run with root privileges.
I know that, but, up to this point, I have failed to find any reasonable reason ;) that could justify this point of view, especially since it is always possible to drop root privileges at whatever point, just like postfix or named do. I don't see why being root is permissible for CLI apps and not for GUI ones. Cheers Vincent_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com