Original Post
Hello, I wonder how I should deal with sharing code between server and client. There are a lots of components (singleton, factories, different other patterns, priority queue, special property class etc) that can be shared amongst the two. However that seems to expose quite some security risk. Once somebody found a way to hack its own client's code, the same attack could be played on the server. What to do in this situation? -Matthias