Secure connection with .net

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
 
J

Jop Pascual

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top