Run an untrusted C program in a sandbox in Linux that prevents it from opening files, forking, etc.?

I have used Systrace to sandbox untrusted programs both interactively and in automatic mode. It has a ptrace()-based backend which allows its use on a Linux system without special privileges, as well as a far faster and more poweful backend which requires patching the kernel. It is also possible to create a sandbox on Unix-like … Read more

What is sandboxing?

A sandpit or sandbox is a low, wide container or shallow depression filled with sand in which children can play. Many homeowners with children build sandpits in their backyards because, unlike much playground equipment, they can be easily and cheaply constructed. A “sandpit” may also denote an open pit sand mine. Well, A software sandbox … Read more

Is there a PHP Sandbox, something like JSFiddle is to JS? [closed]

If you are just looking for an online site to play around with PHP code, try http://phpfiddle.org/ http://ideone.com/ https://codeanywhere.net/ http://www.tehplayground.com/ http://sandbox.onlinephpfunctions.com/ http://codepad.org/ https://eval.in/ https://implode.io/ (permits attaching a version of the Laravel framework) The most sophisticated is: http://3v4l.org/ It lets you test your code in all PHP versions starting from PHP4. If you want something for … Read more

Can you run GUI applications in a Linux Docker container?

You can simply install a vncserver along with Firefox 🙂 I pushed an image, vnc/firefox, here: docker pull creack/firefox-vnc The image has been made with this Dockerfile: # Firefox over VNC # # VERSION 0.1 # DOCKER-VERSION 0.2 FROM ubuntu:12.04 # Make sure the package repository is up to date RUN echo “deb http://archive.ubuntu.com/ubuntu precise … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)