How to make safe online compiler?

Viewed 593

I would like to do simple online-compiler, that take code from browser, send it to server, compile it, and return to browser result of execution.

I am afraid that someone will be execute format C:\ from code or something like it. Is there any way to prevent it?

P.S. I am looking Windows solution.

1 Answers
Related