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

Save Thread not working NSSavePanel when Sandboxed OSX

The following function is called after the savepanel save, the application is basically to splice an image into multiple pictures - this works however when sandboxed it doesn't, I believe it's the save thread which isn't working - does anyone know…
1
vote
1 answer

NSSavePanel not working when sandboxed? - OSX • Objective C

I have the following save panel in my app. I have recently tried to sandbox it but unfortunately when sandboxed saving doesn't seem to be working. I understand that beginSheetForDirectory is depreciated, so possibly that's why it's not working? How…
1
vote
1 answer

Behavioural part in cuckoo analysis report empty

I analyzed a malware sample SHA1 : 0bd0a280eb687c69b697d559d389e34d4fad02b2. The result generated by cuckoo doesnt contain any information about Behavioral analysis. I analyzed the same malware on malwr.com and it's showing the behavioral part…
user1683894
  • 405
  • 1
  • 6
  • 20
1
vote
0 answers

Windows sandboxing

We all know that when a sandbox runs, it does a few things before running the application. First, it creates a restricted token, this token restricts the "securable" objects the process can act on. Second, the sandbox spawns the child process with a…
1
vote
1 answer

In chrome packaged apps, Is there a way to declare multiple sandboxes, each one having its own content security policy?

I need to have sandboxes totally secured, others more "relaxed". I tried this in the manifest.json (doesn't work, but describes accurately what I need to do): ..., "sandbox": [ { "pages":[ "sandbox1.html" ], …
1
vote
1 answer

setting up sandbox version of pypy

In order to get sandbox version of Pypy, first i build Pypy from source using this instruction: pypy ../../rpython/bin/rpython -O2 --sandbox targetpypystandalone (Then I rename Pypy-c to Pypy-c-sandbox) When i test: ./pyinteractive.py It works…
Majid
  • 638
  • 6
  • 21
1
vote
0 answers

Can we read html content of visited site from another application in rooted android device?

I understand that sandboxing prevents one app coming across another app or its data at anytime. But in case of rooted device and providing all the permission, whatever is required, can an application read the html tags or contents of the webpage…
Shasi
  • 274
  • 6
  • 21
1
vote
2 answers

Restricted Function (RF) with pysandbox

My problem is exactly same as here and here. I am also using simple2.py for sandboxing the executable produced by this program test1.c: #include int main(){ puts("Hello World"); return 0; } I am using the following command to…
Quixotic
  • 2,424
  • 7
  • 36
  • 58
1
vote
0 answers

change keyboard language Input sources programmatically in SANDBOX (TISSelectInputSource)

I am trying to change keyboards layout programmatically. I found solution here change input source language programmatically OSx, but it is not working in sandboxed application. I found out I need to set an exception in entitlements file, more…
Kryštof Matěj
  • 462
  • 3
  • 16
1
vote
1 answer

Running JavaScript code on the server in a sandbox

I want students to submit JavaScript code to our server. Then we test that JavaScript code to make sure the students solved the problem. I want to test for exceptions thrown, output, what's returned, execution time, individual variables and…
at.
  • 50,922
  • 104
  • 292
  • 461
1
vote
0 answers

Service with API to send JavaScript code to run in a sandbox

I want students to submit JavaScript code to our server. Then we test that JavaScript code to make sure the students solved the problem. I want to test for exceptions thrown, output, what's returned, individual variables and functions that were…
at.
  • 50,922
  • 104
  • 292
  • 461
1
vote
1 answer

How do I create sandbox environments on Mac OSX for running different program / projects?

How do I create sandbox environments on Mac OSX for running different program / projects? Let me envision a scenario for you. Say, I want to achieve three things from my computer simultaneously: 1) Work on an open source project that requires a…
ibp73
  • 650
  • 1
  • 6
  • 16
1
vote
0 answers

Sandbox with CPU and Memory Quote?

Is it possible to run a program inside of sandbox with given CPU, memory and time quote? Somethign like: $ run-in-sandbox -cpu "15%" -memory "100Mb" \ -forbid-fs-access -forbid-network-access-except-for-port 3000 -duration "30sec" -run…
Alex Craft
  • 13,598
  • 11
  • 69
  • 133
1
vote
1 answer

Reading osx screenshot image in sandbox

I want to get the screenshot triggered by different osx shortcuts. So i add an observer with kMDItemIsScreenCapture. Following code was used to add observer. _query = [[NSMetadataQuery alloc] init]; [_query setDelegate:self]; [_query…
Mirza Bilal
  • 891
  • 11
  • 34
1
vote
1 answer

Sandbox app failure to mount a volume

Our app offers a encrypted filesystem. It mounts a user-space volume, which lets users read/write/create files to it. The data is actually stored to an encrypted vault inside application directory as backend storage for mounted volume. App works…
Munir Ahmed
  • 105
  • 6