Re: iTune Plist changes from NSUserdefaults
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