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.

In computer security, a sandbox is a security mechanism for separating running programs. It is often used to execute untested code, or untrusted programs from unverified third parties, suppliers, untrusted users and untrusted websites.

Web Browsers such as and using varying sandboxing techniques, to protect the users from malicious code infecting the system.

Other common types of software which use sandboxing techniques are Virtualization software. Which allow a user to run programs within a confined environment, known as the Guest OS. The Guest OS is hosted on the Host OS, which is the main Operating System running on the system. Any harm or damages caused by any malicious programs hosted on the Guest OS, will be contained within thus not spreading to the Host OS. Thus allowing the user to resume his work without experiencing any setbacks.

Chat Room

Chat about sandbox with other Stack Overflow users

2481 questions
41
votes
5 answers

Remove Sandboxing

I have another question dealing with app sandboxing. So I need access to the users' home directory and at the same time the app should be able to shut down the Mac. This requires to not using sandboxing. My problem is that I don't know how to remove…
user610246
  • 732
  • 1
  • 7
  • 11
39
votes
13 answers

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 http://apple.com/modules/MP3Builder.gz void…
SpliFF
  • 38,186
  • 16
  • 91
  • 120
38
votes
4 answers

The request was aborted: Could not create SSL/TLS secure channel sandbox account

It was working well before a week but now it shows following error. I have tried the following things but of no use. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3; so suggest me with…
vellai durai
  • 1,019
  • 3
  • 16
  • 38
38
votes
4 answers

How to disable Sandbox Mode for app in new Facebook Developer?

I can not see an option to disable that in the new Developers design!
Krasavchik
  • 389
  • 1
  • 3
  • 5
38
votes
2 answers

Using the Google Chrome Sandbox

There are several resources out there that explain how the sandbox in Chrome works and what it does to protect users from malicious code. Chromium Blog Chromium Developer Documentation Sandbox FAQ That's great, and I like the OS-centric design that…
Toji
  • 33,927
  • 22
  • 105
  • 115
37
votes
3 answers

How do sites like codepad.org and ideone.com sandbox your program?

I need to compile and run user-submitted scripts on my site, similar to what codepad and ideone do. How can I sandbox these programs so that malicious users don't take down my server? Specifically, I want to lock them inside an empty directory and…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
37
votes
1 answer

Blocked script execution in because the document's frame is sandboxed - Angular application

I have strange problem - when deploying app (pure angular application with rest api) to production server and accessing its url via link from other site (ref from email for example) I have got blank page - firefox say nothing, chrome says Blocked…
jreh
  • 600
  • 1
  • 6
  • 16
36
votes
6 answers

How can you run Javascript using Rhino for Java in a sandbox?

Part of our java application needs to run javascript that is written by non-developers. These non-developers are using javascript for data formatting. (Simple logic and string concatenation mostly). My question is how can I setup the execution of…
delux247
  • 2,177
  • 3
  • 21
  • 29
36
votes
1 answer

Access window variable from Content Script

I have a Chrome Extension that is trying to find on every browsed URL (and every iframe of every browser URL) if a variable window.my_variable_name exists. So I wrote this little piece of content script : function detectVariable(){ …
François Pérez
  • 1,489
  • 2
  • 12
  • 12
35
votes
1 answer

Capabilities for Lua: what experience is there?

There's been some discussion on the cap-talk mailing list around whether Lua and Javascript support the object-capability model, with the conclusion that because of support for restricting the environment to called functions through setfenv, and the…
Charles Stewart
  • 11,661
  • 4
  • 46
  • 85
32
votes
4 answers

How can I sandbox untrusted user-submitted JavaScript content?

I need to serve user-submitted scripts on my site (sort of like jsfiddle). I want the scripts to run on visitors browsers in a safe manner, isolated from the page they are served on. Since the code is submitted by users, there is no guarantee it is…
Flash
  • 15,945
  • 13
  • 70
  • 98
29
votes
1 answer

apple sandbox test user account?

I tried to created a test user for my IAP app for testing. Apple ask for the real credit card number in order to login the test user to apple store. I am afraid that apple store will charge me by chance while I do my testing. Do you have to…
Emmy
  • 3,949
  • 5
  • 28
  • 30
29
votes
2 answers

Evaluate math equations from unsafe user input in Python

I have a website where the user enters math equations (expressions) and then those equations are evaluated against data (constants) provided by the website. The math operations needed include symbols, arithmetic operations, min(), max() and some…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
29
votes
5 answers

Please login to use the PayPal sandbox feature

With the recent revamp of the PayPal developer site, I have encountered many problems trying to test my site with PayPal integration. Issue 1: I am not able to check out from out site which it should bring me to sandbox.paypal.com, it return me the…
Kong Jin Jie
  • 535
  • 5
  • 11
29
votes
3 answers

iOS In App Purchase: Will Apple reviewers test live or sandbox environment?

I use In App Payment to sell ingame consumables. After successfull payment I forward the payment receipt to my backend, which validates the receipt with the iTunes payment backend. This works flawlessly in the sandbox environment. Now I submitted my…
Thomas Hilbert
  • 293
  • 1
  • 3
  • 4