Find Jobs
Hire Freelancers

Coding sandbox

$750-1500 USD

已完成
已发布将近 11 年前

$750-1500 USD

货到付款
Overview ------------ I'm looking to run a website similar to [login to view URL] in which a user can upload code in a variety of languages. That code is then run on the server and the output is displayed to the user. What I want from you is a backend which enables me to run the code the users upload on my server with no security risks. Note - it is NOT the site I want creating, just the backend on which I can run the code. Sandbox ------------ Running unchecked code on the server is, of course, a risky operation. So what I want from you is some kind of sandbox or framework through which I can run the uploaded code without risk of something untoward happening. I am running Apache2/Ubuntu on a VPS. I don't want to check the code before running it, it must monitor the program as it is running. The reason for this is that I want to easily be able to extend the site to accept more languages. So this "sandbox" system should work for all programs. What I want to block ------------ I want to block almost everything. The program should be able to read from stdin and write to stdout or stderr, but not read from or write to files. I want to ensure the program doesn't use many resources, and I also want a cap on the execution time. This can be discussed for further clarification on awarding the project. Languages ------------ My final goal is to allow a very wide variety of languages, but since this project concerns only the sandbox, I would like to test the system with just one language. I don't mind which language you wish to test with - be it C, Python, PHP, Perl ... whatever you want it can all be installed on my server. :) Because my goal is to accept any language, it is important that the code remains unchecked, otherwise I would have to create a parser for every language checking for unwanted behaviour. Once the sandbox is created, I expect it to work for all languages. As for any sentinel programs which monitor the code that is being run, you can, again, use whatever you like. Possible solutions ------------ I understand that ways of accomplishing this include: Running the code through ptrace and blocking undesirable system calls, running the code through a virtual machine and running the code under a chroot which doesn't allow access to any sensitive files/folders. Project details ------------ I would like to ensure the sandbox you create works by creating some malicious scripts myself and running them through it. If it successfully blocks my attempts then you win! Thanks ------------ Thank you for reading this far, I look forward to reading your proposals and to working with one of you!
项目 ID: 4774153

关于此项目

4提案
远程项目
活跃11 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hey, I'm intrigued by this project. I've sent you a message mentioning some of my thoughts on this.
$1,111 USD 在30天之内
5.0 (2条评论)
4.3
4.3
4威客以平均价$1,830 USD来参与此工作竞价
用户头像
Please see inbox
$2,550 USD 在60天之内
4.7 (118条评论)
7.7
7.7
用户头像
I have experience working on a similar project. Available to start immediately and finish as soon as possible.
$1,159 USD 在10天之内
4.4 (24条评论)
6.6
6.6
用户头像
I'm a professional PHP, MySQL developer with 3+ years experience.
$2,500 USD 在60天之内
5.0 (4条评论)
1.8
1.8

关于客户

UNITED KINGDOM的国旗
Bromley, United Kingdom
5.0
1
付款方式已验证
会员自7月 25, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。