Tcpclient, TcpListener, NetworkStream - Client/Server Security
Posted on 2006-04-13
I will be using Tcpclient, TcpListener, NetworkStream for my Client/Server application which will support 200-1000 users (lots of data and lots of bandwith).
The question is what is the best way to handle security? I want the data from the client to be encrypted and secure when traveling across the network. What is the best way to achieve this and can you provide some code that will show an example of a basic tcpclient securing data before shooting it off to a server and the tcplistener on the server (multi-threaded if possible) taking the data then unsecuring it so it can read the data.