Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54511 > unrolled thread

Re: building an online judge to evaluate Python programs

Started byJabba Laci <jabba.laci@gmail.com>
First post2013-09-20 22:04 +0200
Last post2013-09-20 22:04 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: building an online judge to evaluate Python programs Jabba Laci <jabba.laci@gmail.com> - 2013-09-20 22:04 +0200

#54511 — Re: building an online judge to evaluate Python programs

FromJabba Laci <jabba.laci@gmail.com>
Date2013-09-20 22:04 +0200
SubjectRe: building an online judge to evaluate Python programs
Message-ID<mailman.200.1379707829.18130.python-list@python.org>
> That last seems to me to be the biggie.  Several times in the past few
> years, people in this mailing list have tried to build a safe sandbox.
> And each one was a big failure, for a hacker of sufficient interest.
> Some of them were spectacular failures.
>
> If you have to be safe from your user, Python may be the wrong language
> to give them.

Well, the course is about Python and I want to test Python scripts...

I've heard about "chroot jail" but I never used it. Wikipedia says:

"A chroot on Unix operating systems is an operation that changes the
apparent root directory for the current running process and its
children. A program that is run in such a modified environment cannot
name (and therefore normally not access) files outside the designated
directory tree. The term "chroot" may refer to the chroot(2) system
call or the chroot(8) wrapper program. The modified environment is
called a "chroot jail"."

I guess it could be used for sandboxing.

Laszlo

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web