PDA

View Full Version : QTcpServer + Authorization



NoRulez
16th May 2008, 14:29
Hey @all,

I have a client-/server application based on QTcpServer and QTcpSocket.

Is there a way to implement User authentication (username, password). And if so how?

I've no plan to do this with QTcpServer/Socket. Can anybody help me out of this.

Regards
NoRulez

wysota
16th May 2008, 18:26
There are lots of methods you can do that. The simplest is a trivial user/password check, like POP3 or HTTP Basic Auth do.

NoRulez
27th May 2008, 15:04
OK,

i solved the problem with sending the password as a MD5 hash like in POP3

Thanks

Regards