Re: passing username/passwd between two processes securely...
- From: "John" <johnli1995@xxxxxxxxxxx>
- Date: Wed, 02 Nov 2005 19:22:28 GMT
Hi Slava,
let me put a simple example to say it's still meaningful.
if username and paasword is in clear text on a local file, then everyone
else can see that password and use it to connect to server. So put
username/passwd in local file is not secure even we trust localsystem. If we
put it into shared memory, every process which knows the object name can get
passwd. We still feel it's not secure even we trust localsystem. We only
want the password is shared between two processes securely. An extreme case
is winlogon passwd only existes in one process.
Hopefully I didnot misunderstand you,
Regards,
-John
"Slava M. Usov" <stripit.slough@xxxxxxx> wrote in message
news:eE16fU73FHA.3000@xxxxxxxxxxxxxxxxxxxxxxx
> "John" <johnli1995@xxxxxxxxxxx> wrote in message
> news:Ng%9f.23601$6e1.3385@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Yes!
>> "TC" <aatcbbtccctc@xxxxxxxxx> wrote in message
>> news:1130916526.031149.204720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> Ah, I get it now.
>>>
>>> P2 generates a keypair at runtime & sends the public key to P1. P1 uses
>>> that to encrypt a message back to P2. P2 uses its (just generated)
>>> private key to decrypt the message from P1. The public & private keys
>>> were both generated at runtime & do not exist in either sourcecode.
>
> If LocalSystem is not trusted, your "security" is a typical case of
> "security-by-obscurity". If LocalSystem _is_ trusted, none of this is
> required.
>
> S
>
>
.
- Follow-Ups:
- Re: passing username/passwd between two processes securely...
- From: Slava M. Usov
- Re: passing username/passwd between two processes securely...
- From: Eugene Gershnik
- Re: passing username/passwd between two processes securely...
- References:
- passing username/passwd between two processes securely...
- From: John
- Re: passing username/passwd between two processes securely...
- From: John
- Re: passing username/passwd between two processes securely...
- From: Jochen Kalmbach [MVP]
- Re: passing username/passwd between two processes securely...
- From: John
- Re: passing username/passwd between two processes securely...
- From: TC
- Re: passing username/passwd between two processes securely...
- From: John
- Re: passing username/passwd between two processes securely...
- From: TC
- Re: passing username/passwd between two processes securely...
- From: John
- Re: passing username/passwd between two processes securely...
- From: TC
- Re: passing username/passwd between two processes securely...
- From: John
- Re: passing username/passwd between two processes securely...
- From: Slava M. Usov
- passing username/passwd between two processes securely...
- Prev by Date: Re: CreateRemoteThread for hooking api
- Next by Date: Re: WinXP x64 - WriteFile() returns "Insufficient system resources exist to complete the requested service."
- Previous by thread: Re: passing username/passwd between two processes securely...
- Next by thread: Re: passing username/passwd between two processes securely...
- Index(es):
Relevant Pages
|