[HELP] how check...

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Laf
Posts: 10
Joined: 18 Jan 2015, 14:27

[HELP] how check...

Postby Laf » 08 Mar 2015, 12:23

Lately I've been receiving connections of robots in my server, I would like to know how do to be allowed connection if comes only from my site.
Windows Server 2008
SmartFox: 1.6.14
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [HELP] how check...

Postby Lapo » 09 Mar 2015, 09:57

The problem is that the server is waiting for connections from anyone unless you setup a firewall that blocks specific addresses.
You could try to add a "verification token" in the login request, to validate the client. Some sort of string or number that can be identified by your login code and rejected if not recognized.

Keep in mind that this sort of system is not perfect. A hacker could decompile your client application, see how the token works and defeat it.

Unfortunately at the connection-level only a firewall will work.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 37 guests