how to execute c code securely

前端 未结 4 480
有刺的猬
有刺的猬 2021-01-28 11:46

In this scenario the user will submit his/her C code to my server through a browser. The code will then be compiled and executed on my server and the output will be sent to the

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-28 11:56

    Other problem to think to : what rights to allow the guest process: is he allowed to open a socket ? If so , what traffic do you allow him ?

    In the case you open a socket, then the problem becomes even more complex, because he can deliver an attack over that socket...

提交回复
热议问题