security - Java preventing reflection -


this question has answer here:

i planning on hosting little tournament.

the competitors each provide java class implementing interface accept gamestate connect four, , return move.

how prevent team finding other team's class(via reflection) , messing methods fight easy opponent?

this hard problem, , similar in nature security sandbox imposed on java applets.

sun (and oracle) tried many years right, they still have yet succeed.

you should assume code runs has way around security measures. if want make hard code interfere other running programs, should make opponents communicate on socket instead of in-process , perhaps run them on different virtual machines.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -