Join Slack
Communities
Powered by
order on the server time and for a message in the ...
# random
e
Eugen Martynov
09/03/2019, 8:48 AM
order on the server time and for a message in the process calculate it on client applying the delta calculated on sync
👍 1
🙂 1
u
ursus
09/03/2019, 3:57 PM
is however letting the client dictate the timestamp/ordering safe as api? what about some bad client sending timestamp=1? etc
e
Eugen Martynov
09/04/2019, 8:13 AM
Do you control the client code? How client could send bad time?
u
ursus
09/04/2019, 12:17 PM
Well nobody for real controls client code when its in a apk, ready to be downloaded and chamged and repackaged or whatever
ursus
09/04/2019, 12:18 PM
i.e. im talking about an attack attempt
ursus
09/04/2019, 12:18 PM
they can send bad values on pourpose, and the api will happily take them
Open in Slack
Previous
Next