Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54511
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jabba.laci@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.058 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'root': 0.05; 'sufficient': 0.05; 'subject:Python': 0.06; 'modified': 0.07; 'wrapper': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'changes': 0.15; 'access)': 0.16; 'language': 0.16; 'normally': 0.19; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'environment': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'designated': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'unix': 0.29; 'message-id:@mail.gmail.com': 0.30; 'hacker': 0.31; 'subject:programs': 0.31; 'run': 0.32; 'running': 0.33; 'guess': 0.33; 'could': 0.34; 'received:209.85': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'wrong': 0.37; 'operating': 0.37; 'list': 0.37; 'received:209': 0.37; 'files': 0.38; 'heard': 0.39; 'mailing': 0.39; 'called': 0.40; 'subject:online': 0.61; 'course': 0.61; 'times': 0.62; 'name': 0.63; 'term': 0.63; 'such': 0.63; 'refer': 0.63; 'user,': 0.69; 'safe': 0.72; 'therefore': 0.72; 'interest.': 0.81; 'failures.': 0.84; 'apparent': 0.91; 'spectacular': 0.91; 'children.': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+xGS61mcJ/8SSOtbDwUAOXiDQs2TiYRrmbCDirKwGN4=; b=mc/ABtLo/6RPf2rj0ToSWYZLzgbOSmN/wzgRGEU8elBz1yvmclUcnlGZ2Ak83wyJV5 SmlNF94AEMKakLQ+IY0s7JmJPonX7tysnxyuNMLr9zxUPLAA0KFJ5WU4rutAF06rkZDe azeubwhGTcG43kwy9pBB15NOBT10InuHpC2++4TBe5JPPfJ9jZhoL27GXBLP+gNr6G3l ykFBM4D/W++QQPVjo6JUes+g30OPGUgsEgHPNMom694yAIuRCwhaYq7DMAfgP6QexXnM yOnh27pW/Ujmm1c28/lSLhHT7l7l2c/rZfXKbc3yzZyEu+Kp8zd17DvD7h2WBPRozQgt WrYg== |
| X-Received | by 10.205.14.197 with SMTP id pr5mr6712267bkb.6.1379707470132; Fri, 20 Sep 2013 13:04:30 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <l1i97a$qle$1@ger.gmane.org> |
| References | <CAOuJsM=vWQifowsgVK+upBGA3BdqWbETstqXi9127gcU9coOhg@mail.gmail.com> <l1i97a$qle$1@ger.gmane.org> |
| From | Jabba Laci <jabba.laci@gmail.com> |
| Date | Fri, 20 Sep 2013 22:04:10 +0200 |
| Subject | Re: building an online judge to evaluate Python programs |
| To | Dave Angel <davea@davea.name> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | Python mailing list <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.200.1379707829.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1379707829 news.xs4all.nl 15949 [2001:888:2000:d::a6]:54488 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:54511 |
Show key headers only | View raw
> 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: building an online judge to evaluate Python programs Jabba Laci <jabba.laci@gmail.com> - 2013-09-20 22:04 +0200
csiph-web