Question

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...

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top