sandbox

Array bounds checks on 64-bit hardware using hardware memory-protection

北城以北 提交于 2019-12-03 11:19:48
问题 I was reading a blog on 64-bit Firefox edition on hacks.mozilla.org. The author states: For asm.js code, the increased address space also lets us use hardware memory protection to safely remove bounds checks from asm.js heap accesses. The gains are pretty dramatic: 8%-17% on the asmjs-apps-*-throughput tests as reported on arewefastyet.com. I was trying to understand how 64-bit hardware have automatic bounds check (assuming compiler does with hardware support) for C/C++. I could not find any

Create Sandbox C# [closed]

痞子三分冷 提交于 2019-12-03 10:37:03
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . are there any tutorials out there on how to create a sandbox using C#? I would like to personalize my own one, thanks 回答1: Study up on using AppDomains. Here's some code examples. 回答2: We just recently used the MonoSandbox for Security reasons. I don't know if it works with

How does Google App Engine sandbox work?

筅森魡賤 提交于 2019-12-03 10:19:36
How does Google App Engine sandbox work? What would I have to do to create my own such sandbox (to safely allow my clients to run their apps on my engine without giving them the ability to format my disk drive)? Is it just class loader magic, byte manipulation or something? You would probably need a combination of a restrictive classloader and a thorough understanding of the Java Security Architecture . You would probably run your JVM with a very strict SecurityManager specified. In the Java case, I think it's mostly done by restricting the available libraries. Since Java doesn't have pointer

Is there a lightweight, programmable Sandbox API for the Windows platform? [closed]

梦想的初衷 提交于 2019-12-03 10:12:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . To run untrusted code at home I use a VMWare virtual machine. I want to find an alternate lightweight sandbox API for running untrusted applications, without the overhead of installing VMWare, or any other kind of end-user virtualization tool like that. ( Edit: I don't want it to host an OS - I want it to run

Sandboxed Mac app exhausting security scoped URL resources

空扰寡人 提交于 2019-12-03 09:06:47
问题 I am developing a Mac application that prompts the user for files using the NSOpenPanel. The application is sandboxed (testing on OSX 10.9.4). I noticed that if I open a large amount of files (~3000), the open panel starts to emit errors to the log. This also happens if I try to open less amount of files in chucks for several times. After the errors start to appear the first time, every time the NSOpenPanel is used again to open files, no matter for how many files, these errors will be

iOS In-App Purchase sandbox test account keeps popping up for verification

有些话、适合烂在心里 提交于 2019-12-03 07:08:47
I have Auto-Renewable In-App Purchase item in my application which is in development stage. I could able to test the complete transaction till 2 days ago with different sandbox test accounts (+abc@def.com). From past couple of days when I am trying to test the transaction with new sandbox test accounts (+abc345@def.com), it is giving me an alert saying AppleID Verification - Open settings to continue signing with ******+abc345@def.com . I have already verified the account before trying to purchase. I have tried and tested with numerous new accounts I have created, getting the same alert

iOS/iPhone: in-app purchase sandbox broken while app in “rejected” state?

元气小坏坏 提交于 2019-12-03 06:45:31
(See MAIN THRUST below to skip to the main thrust of my question.) My iOS app was rejected in the Apple review process for a minor reason that was easy to fix. However, I wanted to give the new build a once-over testing, including retesting our in-app purchase (there is only a single purchasable item in the app). And now the app crashes when doing the initial retrieval of the product information. It never crashed in this way before, and the code hasn't changed since we successfully tested the in-app purchase in sandbox mode many times. (In fact, no code changed at all between the initially

apple sandbox test user account?

隐身守侯 提交于 2019-12-03 06:38:09
问题 I tried to created a test user for my IAP app for testing. Apple ask for the real credit card number in order to login the test user to apple store. I am afraid that apple store will charge me by chance while I do my testing. Do you have to provide real credit card number for sandbox user? 回答1: No you dont. Log out by going through: Settings -> Store Do NOT login with your test user. (Otherwise you get that credit card screen). Instead run your app and login with the test user when asked to.

Error while implementing Sandbox: “deny file-read-metadata /Library”

左心房为你撑大大i 提交于 2019-12-03 06:17:19
I realize that I'm a bit late to the game here in getting sandbox-ready, but so it goes. I'm developing for OS X 10.9. The app displays Calendar event data, but does not allow editing, so I have enabled the Calendars capability. The app works great with sandboxing enabled when I run it from Xcode, but when I export it signed with Developer ID, the app runs, but can't access the Calendar data. What's more, the system never asks me to allow the app to access Calendar data. When I run the app, it launches, but doesn't show any data. In Console, sandboxd throws a bunch of errors that look like

Sandbox IronPython?

情到浓时终转凉″ 提交于 2019-12-03 06:10:12
问题 Is it possible to run an IronPython interpreter inside my .Net application, but inside a sandbox? I want to deny the IP script access to the filesystem while still allowing the app itself access. Would this involve running the scripting engine in a second AppDomain? How would I handcuff it so it can't do whatever it pleases? 回答1: Here's an article explaining how to create an AppDomain and execute code in a sandbox. Just create the AppDomain and handcuff the code that runs inside it. 来源: https