• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Allow only root/admin users to execute the cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Allow only root/admin users to execute the cocoa app (From: Arun <email@hidden>)

  • Prev by Date: Bizarre locking issue
  • Next by Date: Re: Allow only root/admin users to execute the cocoa app
  • Previous by thread: Re: Allow only root/admin users to execute the cocoa app (PS)
  • Next by thread: Re: Allow only root/admin users to execute the cocoa app
  • Index(es):
    • Date
    • Thread