• 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: NSWorkspace in a daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspace in a daemon


  • Subject: Re: NSWorkspace in a daemon
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 30 Nov 2009 08:33:54 -0700

While it may solve your problem, that's probably not a good idea.  NSApplicationLoad() loads the AppKit framework and its dependencies (like Input Managers), which (when running as root) introduce a mess of security vulnerabilities into your program (attackers can use your app to gain root access, etc).

Dave

On Nov 30, 2009, at 8:31 AM, Nyxem wrote:

> I found something that said to use NSApplicationLoad() and it seems to work.
>
> Nyxem.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >NSWorkspace in a daemon (From: Nyxouf da ouf <email@hidden>)
 >Re: NSWorkspace in a daemon (From: Bill Garrison <email@hidden>)
 >Re: NSWorkspace in a daemon (From: Nyxem <email@hidden>)

  • Prev by Date: Re: NSWorkspace in a daemon
  • Next by Date: Re: NSWorkspace in a daemon
  • Previous by thread: Re: NSWorkspace in a daemon
  • Next by thread: Re: NSWorkspace in a daemon
  • Index(es):
    • Date
    • Thread