Questions tagged [sandbox]

Sandbox is a security mechanism for containing untrusted programs. Such programs could contain malicious code, which would harm the user's system.

Filter by
Sorted by
Tagged with
480votes
24answers
367kviews

Can you run GUI applications in a Linux Docker container?

How can you run GUI applications in a Linux Docker container? Are there any images that set up vncserver or something so that you can - for example - add an extra speedbump sandbox around say Firefox?
user avatar
  • 71.3k
351votes
1answer
91kviews

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

Is there a PHP Sandbox, something like JSFiddle is to JS?
user avatar
  • 79.9k
158votes
15answers
59kviews

Is it possible to sandbox JavaScript running in the browser?

I'm wondering if it's possible to sandbox JavaScript running in the browser to prevent access to features that are normally available to JavaScript code running in an HTML page. For example, let's say ...
user avatar
144votes
5answers
208kviews

Reading file contents on the client-side in javascript in various browsers

I'm attempting to provide a script-only solution for reading the contents of a file on a client machine through a browser. I have a solution that works with Firefox and Internet Explorer. It's not ...
user avatar
  • 18.7k
127votes
6answers
81kviews

What is sandboxing?

I have read the Wikipedia article, but I am not really sure what it means, and how similar it is to version control. It would be helpful if somebody could explain in very simple terms what ...
user avatar
  • 84.6k
116votes
9answers
51kviews

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

I was wondering if there exists a way to run an untrusted C program under a sandbox in Linux. Something that would prevent the program from opening files, or network connections, or forking, exec, etc?...
user avatar
  • 16.7k
96votes
7answers
23kviews

Sandbox against malicious code in a Java application

In a simulation server environment where users are allowed to submit their own code to be run by the server, it would clearly be advantageous for any user-submitted code to be run in side a sandbox, ...
user avatar
  • 4,571
94votes
6answers
22kviews

iTunes account creation not allowed when trying to test In-App Purchases

I have an app in the App Store and I want to test in-app purchases. I followed the steps described on the Apple website but I'm facing some problems. When I try to log in in the iTunes in my ...
user avatar
  • 1,247
75votes
7answers
30kviews

How can I create a secure Lua sandbox?

So Lua seems ideal for implementing secure "user scripts" inside my application. However, most examples of embedding lua seem to include loading all the standard libraries, including "io" and "...
user avatar
60votes
5answers
7kviews

Looking for a practical approach to sandboxing .NET plugins

I am looking for a simple and secure way to access plugins from a .NET application. Although I imagine that this is a very common requirement, I am struggling to find anything that meets all my needs: ...
user avatar
  • 8,481
52votes
7answers
34kviews

How do I create a Java sandbox?

I want to make my application to run other people's code, aka plugins. However, what options do I have to make this secure so they don't write malicious code. How do I control what they can or can not ...
user avatar
  • 10.9k
51votes
1answer
93kviews

Refused to execute inline event handler because it violates CSP. (SANDBOX)

I'm developing a google chrome packaged app, when I put Sandbox in the manifest.json: { "manifest_version": 2, "name": "WM32216", "version": "2.1&...
user avatar
  • 2,940
49votes
5answers
18kviews

Safely sandbox and execute user submitted JavaScript?

I would like to have the ability to let users submit arbitrary JavaScript code, which is then sent to a Node.JS server and safely executed before the output is sent back to multiple clients (as JSON). ...
user avatar
47votes
5answers
41kviews

ScriptedSandbox64.exe has stopped working - Visual Studio 2015

This is the second time I've seen the error "Scripted Sandbox64.exe has stopped working" in Visual Studio 2015. In my particular case, I was building a Windows Forms application and you place the ...
user avatar
  • 17.4k
39votes
13answers
17kviews

How to create a lightweight C code sandbox?

I'd like to build a C pre-processor / compiler that allows functions to be collected from local and online sources. ie: #fetch MP3FileBuilder http://scripts.com/MP3Builder.gz #fetch IpodDeviceReader ...

15 30 50 per page
1
2 3 4 5
160