Send password over TCP connection

Paul Rubin http
Mon Oct 10 11:08:50 EDT 2005


"dcrespo" <dcrespo at gmail.com> writes:
> I have a program that serves client programs. The server has a login
> password, which has to be used by each client for logging in. So, when
> the client connects, it sends a string with a password, which is then
> validated on the server side. The problem is obvious: anyone can get
> the password just sniffing the network.
> 
> How can I solve this?

If you really want to do it right, use SRP, <http://srp.stanford.edu>.



More information about the Python-list mailing list