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

How to delete directory from iOS app sandbox

Suppose I created a folder in "Documents" folder in my application sandbox and I called it "ID123". From NSFileManager Class Reference I found out that I can create a new folder with one of these methods: –…
Ali Amin
  • 667
  • 5
  • 17
1
vote
1 answer

Mac App Sandbox - NSHomeDirectory() issues

I just sandboxed my Mac App and in my app I save images in the documents folder. I have this file URL: file:///Users/myUser/Documents/myApp/Images/logo.jpg After my sandbox I end up using NSHomeDirectory() instead of going directly to the Documents…
Mikael
  • 3,572
  • 1
  • 30
  • 43
1
vote
0 answers

Chrome Extension (sandboxed) with Angularjs

it's days I'm trying to figure out how to make a chrome extension I'm building working...with AngularJS. Problem is that I cannot successfully access remote resources; as long as I didn't use angular, my way to communicate between the main html and…
1
vote
0 answers

My facebook app is only available with the developer account

I created this app for my facebook fanpage. The problem is that when I log in to the developer or admin account, the page is visible, but when everybody else logs in, it is not available. I already disabled the sandbox option, so I don't know what…
1
vote
1 answer

Testing an iCloud-enabled app on multiple OS X versions

I've got a sandboxed Mac app that uses iCloud entitlements, and I'm trying to figure out a good way to test it across multiple OS X versions (i.e. 10.7, 10.8, and 10.9). My usual approach to this before I added the iCloud entitlements was to create…
1
vote
1 answer

salesforce:security token reset after refreshing the sandbox

I recently, refreshed my sandbox. and logged out. The next time I tried to log in, it did not let me log in. Also, there was an email notification for new security token (which was neither requested nor the password was changed). How can this be?…
Salik
  • 508
  • 6
  • 17
  • 35
1
vote
3 answers

Why can't app access another app's document folder?

We are trying to use inter-app communication for two application and trying to send the file path from one application to another application and the problem is that if i pass any text via sender application to receiver then it works well but if i…
Kalpit Gajera
  • 2,475
  • 1
  • 14
  • 24
1
vote
0 answers

IKImageBrowserView: Drag & Drop Error

I'm using an IKImageBrowserView and get the error described here. So I should use NSURLs instead of NSStrings/paths. I have changed everything to NSURL now, but get still the same error. I tried using IKImageBrowserNSURLRepresentationType and…
1
vote
1 answer

Are Apple Mail Plugin Bundles sandboxed?

I am writing some code running inside Apple Mail, via the known method of user built bundles. I've found that many filesystem locations seem to be unaccessible for my code running inside Mail.app. For example, trying to do a simple fopen call to…
Hernán
  • 4,527
  • 2
  • 32
  • 47
1
vote
1 answer

How to prevent system calls in online judge?

I want to protect other folder on the server from the system call in the program.How can it be done? I have tried chroot but i am having problem implementing it.
Ashesh Vidyut
  • 119
  • 2
  • 9
1
vote
1 answer

ppapi_error_code_10870 - Please go to the App Store to install the latest version of the PayPal app

I've been successfully testing my app with the PayPal iOS SDK for the past few days and for some reason today it now presents me with the message below when I try to launch the View Controller. "ppapi_error_code_10870 - Please go to the App Store…
James Parker
  • 2,095
  • 3
  • 27
  • 48
1
vote
1 answer

Java sandbox for running multiple JVM platform languages

I am currently evaluating the feasible of a project to build a small web application that provides a REPL programming environment similar to that of tryruby and codeacademy and have been looking at the possible solutions to evaluate the user…
Jono Brogan
  • 341
  • 7
  • 19
1
vote
2 answers

How to install a draft app on a blackberry sandboxed account

I have uploaded an app on Blackberry World, in draft mode, added my account to the sandbox section, but how do I install the app on my device?
androidu
  • 4,678
  • 6
  • 36
  • 51
1
vote
0 answers

Sandboxing Threads, catching StackOverflowErrors

I want to sandbox an application where end users can submit Java code to a server where it is compiled and executed (kind of a web-based IDE as part of an educational game). Most aspects can easily be handled by using either the standard security…
jens
  • 239
  • 2
  • 11
1
vote
2 answers

Mac App Store sandboxing entitlement disables when building for archiving

I'm trying to submit an app to the mac App Store, but every time I do, after I upload the binary with no problems I get an email saying this "App sandbox not enabled - The following executables must include the "com.apple.security.app-sandbox"…