Saturday, 15 August 2015

design - Time counter in Java -



design - Time counter in Java -

we developing secure auction house application using java, ebay, except not web-based. packets communicated between clients , server via tcp. there few issues. time counter 1 of them. need guarantee nobody cheat changing local time.

we want utilize java class timer. choice? people told me can used create timer based on server time.

the solution pretty easy, should not trust client send in time. utilize server time, think not need client time. client time can manipulated various ways (for illustration man in middle attack).

java design

No comments:

Post a Comment