Currently any program that is executed under Codejudge is running under the access privileges of the user. So it is possible to create a malicious program that can damage the user's data or the system. One way would be to create a chrooted environment in which the program is run so that it cannot access any outside files.
In such a case one needs to modify the classes ( yes, and not the Language interface) that implement each particular language.
Currently any program that is executed under Codejudge is running under the access privileges of the user. So it is possible to create a malicious program that can damage the user's data or the system. One way would be to create a
chroot
ed environment in which the program is run so that it cannot access any outside files.In such a case one needs to modify the classes ( yes, and not the
Language
interface) that implement each particular language.