Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed objects: connecting to a process running as root?



Jordan Krushen wrote on Sunday, April 30, 2006:

>On 4/30/06, James Bucanek <email@hidden> wrote:
>
>> email@hidden wrote on Monday, May 1, 2006:
>> >Curious.  Are you using Mach messaging?
>
>> Which really makes a lot of sense. I've always wondered how *anything* could get done if processes in two "mach 
>namespaces" weren't allowed to communicate with each other. This also alleviates the problem of name space 
>collision between different users, which was another thing I was worried about.
>
>Well, just doing the connections over TCP and using Rendez.. er..
>Bonjour for service discovery / collision detection solves all the
>inter-user problems.

You misunderstand: I DON'T want different user processes communicating with each other. I was worried that I've have to do something extraordinary to prevent this from happening, but apparently Mach ports taken care of that for me.

And opening any kind of service port creates a potential security hole between users. If Mach ports prevent users from communicating or seeing services created by other users, then that's exactly what I want.

I fully intend to use IP ports and Bonjour for intra-machine communications, but only for those services that are intra-machine.

-- 
James Bucanek
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Distributed objects: connecting to a process running as root? (From: "Jordan Krushen" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.