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
0 answers

Getting file pid in mac-app-sandbox

I have an pyobjc Application for the Mac that I want to publish on in the app store. I order to get it published I need to put in a sandbox. One of the critical parts of the app is to watch the process id of the files that are opened. The files are…
Pradeep Vairamani
  • 4,004
  • 3
  • 36
  • 59
1
vote
1 answer

rake aborted! Don't know how to build task 'sandbox'

I'm trying to add the sandbox to my rails spree application and have run into this error (using windows 8/powershell with Rails 4.1.6). I'm going by this manual: https://github.com/spree/spree/issues/411 This link Use older version of Rake seems to…
user3716504
  • 11
  • 1
  • 2
1
vote
1 answer

Control UI of one Android app from another

I have one app that runs as a service and broadcast receiver with root and device administrator access. I need that app to be able to control the UI for any other app that may be running. For example, I might want to hide the system nav bar or…
elliptic1
  • 1,654
  • 1
  • 19
  • 22
1
vote
3 answers

NSSavePanel crash in sandbox app OS X 10.10

I'm using the NSSavePanel in OS X 10.10 in a sandboxed app to let the user choose the save location of a file (pretty standard), however the app crashes when i call: NSSavePanel *panel = [NSSavePanel savePanel]; I get this in the…
Rob Sanders
  • 5,197
  • 3
  • 31
  • 58
1
vote
1 answer

How do I create a sandbox for displaying un-sanitized HTML as a preview in a web application

We have an ASP.Net application where users can enter raw HTML for the purpose of creating a "template" that is later printed to a PDF file. We are using Ace Code Editor to let the user enter HTML text. The HTML is then directly displayed below the…
navigator
  • 1,678
  • 16
  • 29
1
vote
2 answers

Loading Assembly in sandbox Appdomain - SecurityException

I would like to invoke method from runtime created assembly. It is partially trusted code, so I want to create a sandbox application domain for it. I create the Assembly with Roslyn, the result is a byte[]. I can load it and invoke from it in the…
kavics
  • 423
  • 8
  • 19
1
vote
0 answers

32 and 64 bit linux system calls

im using this https://github.com/openjudge/sandbox project to control my program execution on server. I have done almost everything except i cant understand how part of sample code works. The part is: int16_t abi32(int scno) { assert((scno >= 0)…
Jānis Gruzis
  • 905
  • 1
  • 10
  • 25
1
vote
1 answer

Perform drag&drop in sandbox mac

How can I use NSURL or whatever to drag & drop files within my app? There are many image conversion app tools that for example take a png file and create different size version by just drag & droping the file into it, I know how to do for old…
user2970742
1
vote
2 answers

Security Sandbox Violation - loading filesystem and networking SWF files

I have built my entire website with Flash and embedded several swf objects (slideshows) into it. Everything works fine when I publish it as swf movie, but now that I want to upload my website, an error message occurs saying: Error #2044: Unhandled…
1
vote
0 answers

Apple Sandboxing technology-- How to grant/deny hardware access

sandbox-exec is agreat utility on Mac OS systems, very similar to Apparmor on Linux systems. I usually run it using the standard command line format: sandbox-exec -f profile_file my_bin_app. My question is: how to grant some application an access…
securecurve
  • 5,589
  • 5
  • 45
  • 80
1
vote
1 answer

Paypal Sandbox - secondary, less obvious rules for using (if any), what are they?

My site works fine, no problems, in live Paypal mode using real money and real paypal accounts, so I know my listeners work, but despite trying every option (and there are so many) I've found, I can't get the sandbox to work at all, to thoroughly…
1
vote
0 answers

Dynamic variables, scope, sandbox?

There is a need to perform an anonymous function (on the client) to a limited scope with its own environment variables (without access to the global variables). Overriding context this is not a problem, but with variable I see only one option - a…
vldmir
  • 31
  • 2
1
vote
1 answer

Control other app in my app(in sandbox)

I want to miniaturize the Finder in my app, so I use ScriptingBridge to control the Finder. But, when my app is in the sandbox, it fails to run. I added com.apple.security.scripting-targets in the sandbox entitlements. Here is the…
1
vote
1 answer

How can I remove standard windows menu in JavaFX app?

I need simple frame without borders and top menu, is it possible?
1
vote
1 answer

Braintree Perl SDK- How to access $credit_card_verification result object in Customer->create API call

I am integrating Braintree Perl's SDK (Payment gateway) with an existing project.In that project I want to return response_code, response_text. CVV_response, AVS_response on each Transaction->sale and Customer->create API call both in success and…
Logunath
  • 477
  • 1
  • 8
  • 20