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

Hortonworks sandbox $HIVE_HOME path

I am back again with a stupid question i think. I downloaded the Hortonworks sandbox and tried : echo $HIVE_HOME and nothing. Can someone guide me what the path might be ? In the hive-site.xml i get the below lines:
ForeverLearner
  • 1,901
  • 2
  • 28
  • 51
1
vote
1 answer

How can I know what entitlement items should be added for Mac sandbox app?

In Apple's document about App Sandbox, I found something about Temporary Exception, and the value of Global Mach Service Temporary Exception is an array, but I do know what items can this array contains. Actually, I hope there is place where I can…
GoKu
  • 460
  • 3
  • 16
1
vote
1 answer

How to share data between apps in offline

I would like to share some files and data between apps in offline. till iOS 7 as far as I searched there is no way to do that locally except using iCloud or something like that. After the arrival of iOS 8 and 9. Its highly possible apple might have…
King
  • 3,457
  • 3
  • 12
  • 22
1
vote
0 answers

OS X / cocoa - How get event on lock screen session

#import "AppDelegate.h" @interface AppDelegate () @property (weak) IBOutlet NSWindow *jj; @end @implementation AppDelegate @synthesize jj; - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { // Insert code here to…
WOF
  • 43
  • 6
1
vote
1 answer

Cocoa: read files outside sandbox

As title,my app was worked well before opened sandbox,after that,it can't read any data.How can I get access for ~/Library and it's sub folders?
Lau Cherish
  • 101
  • 9
1
vote
1 answer

Generate a 16 x 16 chunk made up of tiles using procedural generation

In the programming of my 2d sandbox game, I decided to add a procedural generation engine to generate terrain. The way I have decided to implement it is by using the diamond square algorithm to generate values, then based on the values I will derive…
1
vote
1 answer

Disabling special treatment of an "unstable" application on Windows 7

I do remember that Windows 7 have some technology that marks applications that crashed a few times and later executes them with more robust and slow system runtimes. It is possible to disable this feature or edit the list, but I cannot figure out…
1
vote
1 answer

How does the Pebble watch sandbox user javascript/expose api's?

I'm wondering how one would go about sandboxing user javascript and exposing interfaces without allowing modification of those interfaces? Specifically in a nodejs env. Example: //public class you can interface (should be immutable) function…
Zachrip
  • 3,242
  • 1
  • 17
  • 32
1
vote
0 answers

Looking for an (embeddable) programming language to execute untrusted code

I'm making a programming game (like Robocode) where you can write an AI to play a game against other players' code. For this to work I have to be able to execute untrusted code which appears to be quite difficult. I'm looking for a programming…
Dokahl
  • 31
  • 3
1
vote
1 answer

sandbox fail to access local socket

i've created a local socket in my app, and i'm getting the following error when trying to send data to target process : deny network-outbound i've made some research and found out that in order to fix this problem on Xcode based application, i…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
1
vote
1 answer

Native vs IFrame sandbox with HtmlService in Google Apps Script

I am fairly new to scripting, so keen to understand the difference between Native and iFrame sandbox modes. I am having difficulty understanding why certain code works on one and not the other (e.g jquery autocomplete working in Native only and…
beano
  • 932
  • 1
  • 15
  • 28
1
vote
0 answers

Uber sandbox hook "arriving" status bug

I got a strange bug during testing: changing trip statuses via uber api (sandbox). When I send "arriving" status, on server I got two hooks: one is correct (with "arriving" status) another one is incorrect (with "completed" status) Does anyone…
1
vote
0 answers

ipn not working with sandbox

I wrote a script for paypal IPN because I want to update the database after the payment. I'm not even talking about the script content, because it seems that the script is not called at all ! I decided to simplify and to only write one thing in the…
Brian
  • 31
  • 1
1
vote
2 answers

Restrict some API in Embedded Groovy

I just embedded Groovy in my application and wondering if it's possible to restrict access to some APIs i.e. java.io.File, java.net.URL, etc Or instead of completely restricting java.io.File access, I want to ONLY allow access to certain directories…
hishboy
  • 339
  • 2
  • 10
1
vote
0 answers

Is there a way to sandbox the execution of third party javascript on a webpage?

My client has a webpage that embeds banner ads from a third party. Occasionally one of these banner ads will include intrusive/malicious javascript, usually creating alerts/popups. He has no way of validating the ads' javascript as the ads are…
Zim-Zam O'Pootertoot
  • 17,888
  • 4
  • 41
  • 69