Secure interprocess communication

This is a discussion on Secure interprocess communication within the C Programming forums, part of the General Programming Boards category; Hi, I'm wanting to request the user to enter a password. This password must then be passed onto another application ...

  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,220
    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, 05:53 PM
  2. interprocess communication question
    By ac251404 in forum C++ Programming
    Replies: 2
    Last Post: 05-24-2006, 06:34 PM
  3. Looking for communication lib
    By BrownB in forum C Programming
    Replies: 3
    Last Post: 04-27-2005, 11:01 AM
  4. Interprocess Communication
    By Zildjian in forum C Programming
    Replies: 4
    Last Post: 10-16-2004, 03:04 PM
  5. Interprocess Communication and UNIX???
    By atif in forum C Programming
    Replies: 3
    Last Post: 05-17-2002, 05:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21