Sandboxing in Linux

后端 未结 12 2044
一整个雨季
一整个雨季 2020-12-01 05:56

I want to create a Web app which would allow the user to upload some C code, and see the results of its execution (the code would be compiled on the server). The users are u

12条回答
  •  无人及你
    2020-12-01 06:37

    On Fedora 11, there is the SELinux Sandbox which seems to do exactly what you want (except perhaps limiting spawning new processes; the linked blog post does not mention that).

    Of course, there is always the risk of kernel bugs; even with SELinux, parts of the kernel are still exposed to all processes.

提交回复
热议问题