niehusst / net-go

The game Go over the internet.
GNU General Public License v3.0
0 stars 0 forks source link

copy move validation logic to server #60

Open niehusst opened 2 months ago

niehusst commented 2 months ago

never trust client input; don't blindly overwrite current db board state w/ whatever the client sends. A user could craft req such that entire board gets replaced w/ diff state if we dont perform backup validation server-side.