Secure connection with .net

  • Thread starter Thread starter Sam Johnson
  • Start date Start date
S

Sam Johnson

Hi

As I'm currently developing an application (in VB.NET)
and a Win32- Service (also in VB.NET, but this service is
on another machine) I need to send commands from the
application to the win32- service other the LAN. This
requires of course security, so I looked for some SSL or
IPSec implementation in the .net framework, but didn't
find one, or is there? If not, what's the best way to
send strings over the network in a secure way?

Thanks for any help
Sam
 
The main concept would be encrypting the string on the transmitting side,
sending it out, and then decrypting it on the receiving side.

You can use symmetric encryption (both sides share the same key),
asymmetric (sender uses public key for encryption, receiver uses private
for decryption) or a combination of both (use asymmetric for encrypting the
session key, then use symmetric for encrypting the data using the session
key).

You can look at the System.Security.Cryptography namespace for classes
that would handle the encryption/decryption stuff.

Cheers
 
Back
Top