RaccoonAttack Posted September 10, 2016 Share Posted September 10, 2016 Good day, comrades! I have a little security question about Client variable. For example, there are two players online and one of them triggers server event, handler function of this event uses Client variable. Can the player somehow replace his Client variable with another player's Client variable? Link to comment
Jusonex Posted September 10, 2016 Share Posted September 10, 2016 The client variable is set based upon the player's (or rather the network packet's) IP. This IP cannot be spoofed easily as a handshake is performed when opening the connection to the server. client is much more secure in contrast to the source variable as the source variable gets passed via triggerServerEvent. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now