• 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: Secure communication between two process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Secure communication between two process


  • Subject: Re: Secure communication between two process
  • From: Vincent Pottier <email@hidden>
  • Date: Sat, 18 Dec 2004 14:05:00 +0100

Hi,
I looks to be a good idea, but i'll always encounter problem to share the key. The better ways is to share the right via AuthorizationExternalForm but I can't find a ways to send it to the Agent. After sending the key (at the same time as the right), your ways looks great.
If someone know how to send AuthorizationExternalForm...
Thanks in advance
Vincent

Le 18 déc. 04, à 00:02, Daniel Waylonis a écrit :
On Dec 16, 2004, at 2:38 PM, Vincent Pottier wrote:

Hello list,
    My project contain two elements, one application and one daemon (in fact a startupItem). Daemon perform privilege operation incoming from the application. 
    I'd like to know the best way to perform communication between application and daemon, I know I can use Notification with NSNotificationPostToAllSessions but it's not secure at all, every application can send a notification, NSConnection don't looks better... 
    Getting authorization is not a problem, the problem is to transmit it to the daemon.
    If someone have an idea or a sample code

Hi Vincent,

Have you considered using either NSNotifications or NSConnection / Distributed Objects, but encrypt the data?

If both the app and the daemon know the private key, they can both use Blowfish (see <openssl/blowfish.h>) to encrypt / decrypt the data between them.

Dan

_________________________________________________
Dan Waylonis             email@hidden
Software Engineer         http://www.nekotech.com
nekotech SOFTWARE     650.964.2490 (O)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Secure communication between two process (From: Vincent Pottier <email@hidden>)

  • Prev by Date: Re: Can't use @count with bindings
  • Next by Date: Re: Weird behavior in NSMutableDictionary
  • Previous by thread: Secure communication between two process
  • Next by thread: Good way to store interesting data
  • Index(es):
    • Date
    • Thread