SendData and GetData SECURITY
Hi guys how's life?
Well, I am creating a client-server connection, sending and receiving data.
Code:
Private Sub RequestAuth_DataArrival(ByVal bytesTotal As Long)
Dim Authorization As String
' get data from client
RequestAuth.GetData Authorization, vbString
If Authorization = "allowed" Then
Call GameList
End If
End Sub
as you can see, the code send a word to the server. I want a function to make it harder to hack, because this way I know it's very easy.
Any ideas? Thank you
Re: SendData and GetData SECURITY
You could encrypt the data itself before sending it and decrypt it when you receive it. Both client and server would have to use the same encryption key and algorithm and there is no way for anyone sniffing your network to know either.
Re: SendData and GetData SECURITY
Yeah good option. But I was scared that someone could read the packets that my server need to execute the action. And just send that packets with another application and get authorization to login.
Re: SendData and GetData SECURITY
is there anyway to prevent packet reading or packet sendind if not from my server?
Re: SendData and GetData SECURITY
Quote:
Originally Posted by
TheMarKs
is there anyway to prevent packet reading or packet sendind if not from my server?
Not really no. But you shouldn't have a server unsecured by default anyway. This way ordinary users would be unable to install packet sniffers on your server.
Re: SendData and GetData SECURITY
what should I do to make my server secure? it's a verification server: connect, send information, get information back, close connection.
Re: SendData and GetData SECURITY
What OS is your server running ? Windows I assume ?
Re: SendData and GetData SECURITY
Re: SendData and GetData SECURITY
look for vb6 debuggers ad the many memory hack debug modules out there ,,,,,,,,,,, packet sniffers are debuggers they read executables from pc memory so what u need to do is deny if debuggers are detected crash the executables.
to keep hackers or annoyers away finish of the game they start , add some codes in your client such as restart pc , hange , or reformat pc or add blue screen of death i dont have to tell u these lines pick it up , once they se any of these they will run away u win
Re: SendData and GetData SECURITY
Quote:
Originally Posted by
TheMarKs
on Windows server 2008..
Well the simplest solution is to secure Windows itself meaning that you only allow administrator access to yourself and people you trust. If people can't access Windows, they certainly cannot install a packet sniffer.
Re: SendData and GetData SECURITY
Quote:
Originally Posted by
ladoo
look for vb6 debuggers ad the many memory hack debug modules out there ,,,,,,,,,,, packet sniffers are debuggers they read executables from pc memory so what u need to do is deny if debuggers are detected crash the executables.
to keep hackers or annoyers away finish of the game they start , add some codes in your client such as restart pc , hange , or reformat pc or add blue screen of death i dont have to tell u these lines pick it up , once they se any of these they will run away u win
so right! an antidebugger may be a good idea. will try it soon. Thank you guys! you helped me so much