Thread: Secure interprocess communication

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    62

    Secure interprocess communication

    Hi,

    I'm wanting to request the user to enter a password. This password must then be passed onto another application as an argument. Is there any way to ensure this is secure? Is it possible to view this password while my program is executing the other application with the password as an argument?

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    It's just as easy as reading the memory of a program that keeps the password for itself.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    62
    So I shouldn't worry about it because there's little I can do...is that the final word? I'll lay out the steps just in case...

    1. Run my gui app
    2. User enters password (123456789)
    3. My gui app sends this command to the host 'application 123456789'

  4. #4
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    If you hash it and compare it to a pre-hashed password that would be more secure too

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 05-05-2009, 04:53 PM
  2. interprocess communication question
    By ac251404 in forum C++ Programming
    Replies: 2
    Last Post: 05-24-2006, 05:34 PM
  3. Looking for communication lib
    By BrownB in forum C Programming
    Replies: 3
    Last Post: 04-27-2005, 10:01 AM
  4. Interprocess Communication
    By Zildjian in forum C Programming
    Replies: 4
    Last Post: 10-16-2004, 02:04 PM
  5. Interprocess Communication and UNIX???
    By atif in forum C Programming
    Replies: 3
    Last Post: 05-17-2002, 04:47 PM