Re: Secure communication between two VB6 programs
- From: "Larry Serflaten" <serflaten@xxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 11:54:56 -0500
"Mike Meyer" <x@xxxxx> wrote in message news:yahAe.3223$5R1.2401@xxxxxxxxxxx
> Larry Serflaten wrote:
> > Isn't encryption going to do it for you?
> >
> > See: http://msdn.microsoft.com/msdnmag/issues/04/11/CryptoUtility/default.aspx
>
> I am not so much worried that a rogue program can see the data passed
> between the two programs. I want to protect against data replay attacks
> and program impersonation.
>
> An example of what I am trying to accomplish:
> There is a system file in %windir%. The ACL on it is:
> Everyone=Read Only
> Administrators=Full Access
> System=Full Access
>
> My GUI (run as a normal, unprivileged user) will allow this file to be
> edited by sending a command to the service, such as "Delete all lines
> containing 'SomeString'" or "Append a line containing 'SomeOtherString'"
>
> However, I don't want some other program to be able to send that same
> command to the service. I also don't want some other program to be able
> to replay that same command at a later time. Since the source code of
> the unprivileged program will be available, the service will also have
> to be able to resist attack from a modified EXE. I understand that if
> the service is modified, it's game over. But to change the service, the
> user needs to be logged in as a privileged account.
>
> I almost certainly will require some kind of encryption, be it a hash,
> signature, secure channel, or whatnot. The problem is that I'm not
> familiar enough with crypto to just take the ball and run with it. I'd
> benefit most from looking at an already-implemented example. Most
> secure communications examples I've seen are meant for secure Internet
> communication. My situation is different--I need to authenticate a
> channel between two programs on the same PC, and the listening end needs
> to verify that the sending end is legit.
>
> It seems to me that this must be a common programming problem, and there
> must be a common solution. I'd rather not re-invent the wheel.
>
> Mike
.
- Follow-Ups:
- Re: Secure communication between two VB6 programs
- From: Larry Serflaten
- Re: Secure communication between two VB6 programs
- References:
- Secure communication between two VB6 programs
- From: Mike Meyer
- Re: Secure communication between two VB6 programs
- From: Larry Serflaten
- Re: Secure communication between two VB6 programs
- From: Mike Meyer
- Secure communication between two VB6 programs
- Prev by Date: Re: Executing An External Form's Event Procedure
- Next by Date: Re: Comparing Two strings
- Previous by thread: Re: Secure communication between two VB6 programs
- Next by thread: Re: Secure communication between two VB6 programs
- Index(es):
Relevant Pages
|