ljmu-cms / automark

Automatic code marking
GNU General Public License v3.0
0 stars 1 forks source link

Execution should be sandboxed #5

Open llewelld opened 9 years ago

llewelld commented 9 years ago

A student could submit code that does nasty things (either intentionally or unintentionally) and currently there's nothing that will stop it.

The two obvious solutions would be to set the Java security profile to restrict what the program can do, or execute the program in a Docker container.

llewelld commented 9 years ago

This code be helpful as an introduction: https://www.digitalocean.com/community/tutorials/docker-explained-how-to-containerize-python-web-applications