title: How to limit file permissions of a program
body: <p>I am a student that wants to design an online judge system.</p>
  
  <p>I have a problem: In order to keep the server safe, I must make the program not have rights to read or write any files
  The program is what another user submits through the online judge system. It isn't the sever program itself.</p>
  
  <p>The users of the online judge system submit their source code, then the server program compiles and runs it. So the server program must keep the server safe.</p>
  
  <p>My platform is Windows, I use C++ for my programming.</p>
  
  <p>Can anyone give me some suggestions?</p>