Re: How to InitializeSecurity() in a Windows Service
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Thu, 19 Jan 2006 10:15:41 -0800
Post those in the right group:
microsoft.public.win32.programmer.networks.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Joao Rego" <JoaoRego@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A0388F48-9A0F-4EF2-A0D6-5EB4D36C047A@xxxxxxxxxxxxxxxx
> Thaks for the tip... I thougth about that digital certificate (something
> easy), but I will go to investigate more about IPSec... probably more
> questions will arraive...
> Tks,
> joao rego
>
> "Brian Muth" wrote:
>
>>
>> "Joao Rego" <JoaoRego@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:144D83CC-517F-46C6-AB83-7B8E1AC5CB4E@xxxxxxxxxxxxxxxx
>> > Hi Brian,
>> >
>> > Well, I want only my client machines to have access to communicate with
>> > my
>> > socket in my service. the socket is in a thread.
>> > I don't know how setting security for the service works for the socket.
>> > I
>> > don't want anyone else to find my socket port and stuff garbage in it,
>> > I
>> > hope
>> > you understand what I mean...
>> >
>>
>> CoInitializeSecurity has nothing to do with socket security.
>> CoInitializeSecurity only affects DCOM connections.
>>
>> There are no security features built in to the WinSock API, because
>> security
>> is not a Basically you have to roll your own security. There are a
>> gazillion ways to implement this. For example, your listener may insist
>> on
>> receiving a valid digital certificate before executing any functions on
>> behalf of the caller. It's really up to you.
>>
>> You also might want to read up on IPSec, which might be a very elegant
>> way
>> of establishing rock-solid security between the clients and the server.
>>
>> Brian
>>
>>
>>
>>
>>
>>
.
- References:
- Re: How to InitializeSecurity() in a Windows Service
- From: Brian Muth
- Re: How to InitializeSecurity() in a Windows Service
- From: Brian Muth
- Re: How to InitializeSecurity() in a Windows Service
- Prev by Date: Re: cleaning unwanted COM objects out of registry
- Next by Date: Re: difference between CLSID and IID
- Previous by thread: Re: How to InitializeSecurity() in a Windows Service
- Next by thread: Can you use strtok in COM C++ Servers?
- Index(es):
Relevant Pages
|
|