• 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: iTune Plist changes from NSUserdefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTune Plist changes from NSUserdefaults


  • Subject: Re: iTune Plist changes from NSUserdefaults
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 24 Dec 2013 11:45:42 -0800

On Dec 23, 2013, at 10:58 PM, Madhavi Gundeti <email@hidden> wrote:

> I am developing a daemon which runs as root

That’s not recommended, because the daemon will have the ability to do all kinds of bad things. A bug could destroy someone’s system, or worse, a security hole in your code could let an attacker take over the OS.

It’s best to follow the “Principle of least privilege”: run the daemon as a separate account and give that account only the privileges it needs. Or run as an agent process under the current user’s account. Apple has a tech note about daemons and agents that goes into this.

—Jens
_______________________________________________

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: 
 >iTune Plist changes from NSUserdefaults (From: Madhavi Gundeti <email@hidden>)
 >Re: iTune Plist changes from NSUserdefaults (From: Jens Alfke <email@hidden>)
 >Re: iTune Plist changes from NSUserdefaults (From: Madhavi Gundeti <email@hidden>)
 >Re: iTune Plist changes from NSUserdefaults (From: Jens Alfke <email@hidden>)
 >Re: iTune Plist changes from NSUserdefaults (From: Madhavi Gundeti <email@hidden>)

  • Prev by Date: Re: NSArrayController + NSTableView addObject ends editing
  • Next by Date: Re: NSArrayController + NSTableView addObject ends editing
  • Previous by thread: Re: iTune Plist changes from NSUserdefaults
  • Next by thread: Re: Mavericks CA Layer Issue
  • Index(es):
    • Date
    • Thread