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
1
vote
1 answer

How to use hardcoded file path names with sandbox

Ok, yes I know now that you can not use hardcoded paths with sandbox. Up to this point I have not delt with sandbox, so I never encountered it. I have a Coredata App (Mac OSx) and I used the default save code and the default path location…
1
vote
3 answers

hortonworks sandbox pig script

Hi I just setup the Hortonworks Sandbox on VirtualBox on Windows 7. I got everything up and running and started the pig tutorial. I want to run this simple table load pig script: -- Get all IBM stocks a = LOAD 'default.nyse_stocks' USING…
1
vote
1 answer

Saving a NSImage to disk on a sandbox app in cocoa - CRASH

I have this NSImage I want to save to disk on a sandbox app. I have this code: - (void)exportPNGImage:(NSImage *)image withName:(NSString*)name { NSArray *windows =[[NSApplication sharedApplication] windows]; NSWindow *window = windows[0]; …
Duck
  • 34,902
  • 47
  • 248
  • 470
1
vote
1 answer

How to configure elastic search on Hadoop?

I want to configure elastic search on hadoop and hive. Elastic search is running on my local machine and Hadoop is on another machine. And i am using Sandbox HDP version 2.2 . How can i configure this ? also is there any UI provided in the Sandbox?
Justin
  • 735
  • 1
  • 15
  • 32
1
vote
2 answers

I need to run untrusted server-side code in a web app - what are my options?

# Context -- skip if you want to get right to the point I've been building a rather complex web application in Python (Bottle/gevent/MongoDB). It is a RSVP system which allows several independent front-end instances with registration forms als well…
viernullvier
  • 25
  • 1
  • 4
1
vote
1 answer

Firefox addonsdk sandboxing and require API

I have a firefox addon-sdk. I created a test add-on similar to https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_started Now in my main.js I do something like this const { XMLHttpRequest } = require('sdk/net/xhr'); var fooLibrary =…
1
vote
3 answers

Extra binary shows up in Xcode archive

I have a small app that consists of 2 targets, an app and a framework thats included as an embedded binary in the first app: These are the only two products in my project: Yet whenever I code sign and archive the app, an extra called 'A' shows…
Luke
  • 4,908
  • 1
  • 37
  • 59
1
vote
2 answers

OSX Cocoa Bad Instruction crash

I am developing an app (for like a year) and it works fine , when it comes to submitting to App Store -> all my problems started: 1)The app store would me to make my app to run in a sandbox(Why Apple ? Why !?). It took like 2 days to understand why…
Coldsteel48
  • 3,482
  • 4
  • 26
  • 43
1
vote
1 answer

Write multiple files using OS X sandbox

I'm writing an OS X sandboxed application. It recieves @3x and @2x image files and transforms them into lower resolution images. I'm getting the image URLs by either the files being dragged into the app window or a directory being chosen using…
Jorsh
  • 232
  • 1
  • 11
1
vote
0 answers

Authorize.Net ARB Api getting Timed out

I am setting up a authorized.net payement gateway for my website. I'm currently doing a sandbox payement. I send an xml to the API call https://apitest.authorize.net/xml/v1/request.api.but I'm getting following error: * About to connect() to…
sarincm99
  • 103
  • 1
  • 2
  • 13
1
vote
0 answers

Error while loading fixtures during Sonata Sandbox Installation

I'm trying to install Sonata Sandbox on my Mac with PHP5.5 with the following command line : COMPOSER_PROCESS_TIMEOUT=600 php composer.phar create-project sonata-project/sandbox:dev-2.3-develop All works great until I load fixtures, I get the…
Rems
  • 11
  • 1
1
vote
0 answers

IronPython with restricted AppDomain

I'm running into a problem with long startup times when I try to run an IronPython script engine in an AppDomain with restricted permissions. Can someone provide a canonical example of how to do this in a performant way? No AppDomain no standard…
tponthieux
  • 1,502
  • 5
  • 18
  • 30
1
vote
0 answers

Paypal Sandbox IPN working in IPN simulator but not working in transactions

I have following form to send data in sandbox paypal account
1
vote
0 answers

how does aurajs sandbox.on() and sandbox.emit() works?

I am new to auraJS and have gone through documentation but did not understand what is the role of sandbox in application. According to docs sandbox.on() is subscriber(listener) and sandbox.emit is publisher. but what are the argument passed in these…
Sandeep vashisth
  • 1,040
  • 7
  • 20
  • 40
1
vote
1 answer

Sandboxing a process in Openshift

I'm currently writing a Web app where I'll have to run untrusted code from the user. I want to ensure that this code can't perform any network or disk io, other than using stdin and stdout. I'm hopefully going to be using Openshift as my platform…
jmite
  • 8,171
  • 6
  • 40
  • 81