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

Code solution to prevent production in app purchase from using sandbox?

I have an issue where a live app is using in app purchase. Everything tested well and for the most part seems to be working well in the app sold from iTunes. Recently I have had 2 reported cases of users who cannot use in app purchase in the live…
dredful
  • 4,378
  • 2
  • 35
  • 54
1
vote
1 answer

how to get files from ~/Library folder after App Sandbox enabled?

When App Sanbox is off then i am able to get files from Library path folders. But when I does App sanbox enabled it's not accessing any files from Library folder. Getting file from path when App Sanbox OFF NSString *path = [NSHomeDirectory()…
python
  • 1,407
  • 1
  • 15
  • 31
1
vote
2 answers

How to safely experiment with scripts that fork themselves

I was experimenting with a bash script that would recursively fork and call itself. The terminating condition was subtle and I got it a wrong a few times, the result being a script that called itself ad infinitum. What's a safe way to sandbox a…
pythonic metaphor
  • 10,296
  • 18
  • 68
  • 110
1
vote
1 answer

AVAsset from app sandbox

I'm working with AVAsset in my app and met next problem. When I'm writing something like this: AVAsset *audioAsset = [AVAsset assetWithURL:[NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/Hello.mp3", [[NSBundle mainBundle]…
Vladislav Kovalyov
  • 763
  • 10
  • 24
1
vote
0 answers

Unable to fetch Leaderboard Scores in Game Center iOS 7

I'm trying to fetch the default leaderboard scores from Game Center (Sandbox mode) using the code provided in apple docs. It works fine on all iOS versions except iOS 7. I've added the identifier property as required for iOS 7 but it returns this…
Andrew Aziz
  • 140
  • 1
  • 10
1
vote
1 answer

The demand was for:

I'm getting the System.Security.SecurityException The demand was for: when attempting to create an AppDomain with restricted permissions defined as follows: var…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
1
vote
1 answer

IOS limitation writing files in the sandbox

I'm trying to move some files between /Documents and /Library folders in my app sandbox but I'm running into an issue where every copy operation fails. This simple code from a objective-c book works perfectly within a non - IOS related project: …
dev-dom
  • 369
  • 2
  • 11
1
vote
1 answer

Sandboxing: How to bookmark enclosing folder of user-selected file?

I'm sandboxing an app (which has been running successfully non-sandboxed for a few years). It takes batched of PDFs and exports them with some changes. Users have two options: -export resulting PDFs into a specified folder, or -export PDFs into the…
Zevrix
  • 13
  • 2
1
vote
0 answers

securityexception from not restricted appdomain

I'am trying to add plugin system to my application. I've created sandboxed appdomain with some limited permission set. The problem comes when code from sandboxed appdomain raises event which supposed to be handled in domain with trusted code. I've…
Sergey
  • 11
  • 2
1
vote
0 answers

Sandbox mode will not disable - app cannot be seen on page

I am trying to help my sister with her facebook business page. She created an app some time ago, but did not disable sandbox mode, so it has never been visible. She made me an administrator of the page, and the app. But when I try to disable…
1
vote
1 answer

How to use SandBox testing provided by google in android in app purchases?

I have implemented inapp purchase for my android app. I have found following link: https://developers.google.com/commerce/wallet/instant-buy/test-flows According to this link, i can create a dummy credit card and wallet account using sandbox…
Ketan
  • 423
  • 3
  • 12
1
vote
0 answers

RegistryPermission exception using the Client Side Object Model of SharePoint 2013 in a sandboxed CRM 2013 Online Plugin

I’m trying to connect to SharePoint 2013 Online (using CSOM) from within a sandboxed plugin in CRM 2013 Online . For that to work, I merged the SharePoint Client and Client.Runtime DLL’s with ilmerge.exe into my plugin DLL. But as soon as the…
1
vote
1 answer

SWF Loader & Flex's SWFLoader: child SWF sandboxing policy

REF: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html With regards to a parent SWF loading a child SWF via the Loader class, is it possible to prevent the loaded child SWF from: Making any network calls, or Making…
Geoff Moller
  • 778
  • 7
  • 15
1
vote
2 answers

iOS - letting another app edit and save files my app created, in the same folder where the file was opened from

I would like to know if it is possible to let another iOS app open a file my app has created and then the other app edits and saves it just in the original location where my app had saved it at creation time. Or, instead, are files opened with the…
P5music
  • 3,197
  • 2
  • 32
  • 81
1
vote
1 answer

Reading desktop pictures in sandboxed app

I'm having crashes in my sandboxed app related to reading desktops pictures which I can not reproduce on my Mac but I got rejected on the App Store for it crashing and other users have reported crashing. The desktop pictures are being read from…
GenericPtr
  • 677
  • 1
  • 8
  • 18