문제

I need to start an IRC server but I need to make only the clients I make, able to connect to the server.

Maybe I'm not explaining well enough, I am making an IRC client and I want it to be accessible ONLY through MY client, I don't want other clients like XCHAT ect... to be able to connect to it.

I will be using a username and password combo, but I want the users to connect only through my client...

I've tried searching on google but I've only found username password combo posts... maybe I was using the wrong keywords...

도움이 되었습니까?

해결책

To prevent other clients, you could simply pass some type of hidden "client password" to the server.

So user submits login password, the client silently sends client password.

You end up with

Login
Password
ClientPassword

If the ClientPassword is not correct, don't allow the connection.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top