Answer the question
In order to leave comments, you need to log in
How to run applications on a server in sandboxes?
There is a task: to raise a portal to which participants will send their solutions in source code. Then these sources on the server need to be collected and run through the tests.
The problem is that the sources may contain not only solutions, but also virus programs, the effects of which we would like to avoid.
There was an option to raise a sandbox for each of the solutions, but, firstly, I don’t know how to do it, and secondly, it would have to heavily load the server, which is also undesirable.
It is also worth saying that this service will be similar to acm.timus.ru/, with a certain set of allowed languages in which you can send assignment solutions.
Maybe there are ideas how to solve it competently and beautifully?
Answer the question
In order to leave comments, you need to log in
Run a virtual machine on the server and try it through it. Docker and Vagrant to the rescue
And just make a normal user, without administrator rights, and run from him? He will not be able to change anything in the system without root rights.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question