Original Post
Given public methods A and B in class C, when I call them from class D, can I check and/or restrict what code they are allowed to execute? I'd need to do it on a method to method basis.
Quote:
Original post by Kal_Torak
Sorry about the class D confusion, and thanks for the replies.
I'm trying to prototype a realtime programming game.
On the fly compilation, loading, and execution of player-written code.
You can probably guess at the security issues I'm going to have to solve.
To clear up,
D is the host. Class C is the code written by the client, which is why I can't trust it.
To be honest, it was rather fuzzy in my mind when I posted. After a bit of reflection, I don't think what I asked about is feasible or practical.
This topic has been locked by a moderator. New replies are not allowed.
GameDev.net uses cookies to ensure you have the best experience on our platform. Learn more