[erlang-questions] Securely running code on an untrusted client
Tue Jan 8 08:36:44 CET 2008
> Travis Jensen said:
> So, let me break it down a little more...
> - Client connects to server.
> - Server sends code to client
> - Client runs process
> - Clients sends result to server
> - Server trusts client result
> In the middle of this is the fact that I don't really trust the client, so I
> would have to know that the result I get from the client is actually the
> result of running the process I sent to the client and not the result of
> some hack. In general, there are two hack concerns: hacking the running
> process to process differently and hacking the resulting data stream to give
> a fake result.
Have you looked at how /BOINC accomplishes this?
At the very least, I think, you'll want to introduce some redundancy
(i.e. sending the same code to several clients and comparing the results),
or is this not an option?
In any case, some of these papers ought to be of interest:
More information about the erlang-questions