Re: NSNotifications & background apps?
Re: NSNotifications & background apps?
- Subject: Re: NSNotifications & background apps?
- From: "Michael Ash" <email@hidden>
- Date: Sat, 14 Jun 2008 21:20:44 -0700
On Sat, Jun 14, 2008 at 8:56 PM, Jens Alfke <email@hidden> wrote:
>
> On 14 Jun '08, at 12:52 PM, dream cat7 wrote:
>
>> was also wondering if anyone ever think to encrypt their NSNotification
>> data?
>
> If you start getting to that point, you should think about using a real IPC
> mechanism instead. NSDistributedNotifications are very easy to use, but
> they're intended as one-to-many notifications, not for two specific
> processes to communicate. I mean, they work for that, but they're very
> limited in what you can send, and as you point out, there's no privacy.
The rest is good, but it's important to note that you have no privacy
*anyway*, no matter what IPC mechanism you use, unless your code only
ever runs on your own hardware. It's true that it's slightly easier to
run a pre-built distributed notification watcher than it is to run gdb
and attach to your program, but not greatly so. If you ever put any
data on a user's machine, you should simply assume that he will be
able to access it, no matter what steps you take to prevent it.
Mike
_______________________________________________
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