sandbox

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

主宰稳场 提交于 2019-12-20 19:47:12
问题 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

Which programming languages support hot code swapping and/or sandboxing?

*爱你&永不变心* 提交于 2019-12-20 12:46:10
问题 I would like to write a web based MMO game that will allow users to write AI and run it as part of the game. I plan to use Html5 for graphics and want this to be web based so it can be accessed from smartphones. I need to find a programming language that will support sandboxing, concurrency, hot code swapping, and a large library to make things easier. At this time my research is turning up Erlang, Stackless Python, and Lua. Any help is appreciated. 回答1: Erlang does not support sandboxing, so

Is there a good browser based sandbox to practice regex? [closed]

我是研究僧i 提交于 2019-12-20 08:41:25
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am looking for recommendations for a browser based regex sandbox to practice some proof of concept expressions. 回答1: I've used http:

'sandboxd: deny file-write-create' when writing to app's own bundle

北慕城南 提交于 2019-12-20 07:18:20
问题 I've written a program in the Mac App store which displays some graphics. Occasionally it updates these off the internet. As with most folks, I'm having to Sandbox my app now. Almost everything is working, but when updating it saves a file in my app's own bundle and fails with 'sandboxd: deny file-write-create' I just use fopen(..., "wb") The path passed into fopen is: /Users/MyUser/Library/Developer/Xcode/DerivedData/MyApp-czuwveatgjffaggwqjdqpobjqqop/Build/Products/Debug/My.app/Contents

nodejs: run module in sandbox

眉间皱痕 提交于 2019-12-20 06:40:03
问题 I have this turn-based NodeJs gaming app in which developers (anyone) can submit a player-robot. My NodeJS app will load all players and let them play against each other. Because I don't know anything about the code submitted I need to run it inside a sandbox. For example, the following untrusted code might look like this: let history = []; export default class Player { constructor () { this.history = []; } move (info) { this.history.push(info); } done(result) { history.push({result: result,

Creating a secure Lua sandbox..?

强颜欢笑 提交于 2019-12-20 05:47:11
问题 Right now I am doing a lot of. local env = { print = print, } setfenv(func, env) and then using metamethods to lock propertys on Instances, but it is really inefficient and has lots of bypasses. I googled it and everything I find is the same as this: unworking. 回答1: In Lua 5.1, sandboxing is pretty simple. If you have a Lua script in a file somewhere, and you want to prevent it from accessing any functions or anything other than the parameters you provide, you do this: local script = --Load

Sandbox access violation when using tinyeditor wysiwyg editor in chrome extension

耗尽温柔 提交于 2019-12-20 04:38:42
问题 I'm getting the following error when attempting to load a third party wysiwyg editor in a chrome extension. Sandbox access violation: Blocked a frame at "chrome-extension://cmcjindomengjienigbcldekcfnhfped" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag. I initially got a similar error and managed to resolve it by adding the allow-same-origin flag. This resulted in another error which required the allow scripts flag. Below is the current

AIR Loading server hosted swf into same sandbox

Deadly 提交于 2019-12-20 03:39:05
问题 I have an AIR App I'm working on and need to load a swf(always from localhost) which will access some methods in it's parent and vice versa. I'm not concerned with opening gaping security holes in a desktop app though. I've been searching all over but keep hitting walls with each implementation out there. My current setup loads in the swf and it plays but I get a small error from the sandbox since I'm not in the same one as the app. Does anyone know how to get past this error so there is

How to enforce Lua scripts runtime limit?

我们两清 提交于 2019-12-20 02:52:55
问题 Running an almost trivial script in lua with dofile, 10000 times, takes about 52 seconds in this machine, but if i run 10000 times "lua52 script.lua", it takes 3 or 4 times more. I'm aware that there's more system calls involved and other overhead, but what i try to achieve is running scripts with a timeout of let's say 3 seconds, and print out the output. My problem is scripts with infinite loops, intentional or not, for example: while(true) do end Can i make a timeout for a dofile from

Switching off `@grant none` breaks my Greasemonkey script?

左心房为你撑大大i 提交于 2019-12-19 21:50:02
问题 I'm running this script on the Facebook homepage. It gets all the conversations in the dock in the bottom and gets their __FB_TOKEN s. // ==UserScript== // @name MyScript // @namespace MyNameSpance // @include /https?://(www.)?facebook.com(/.*)?/ // @require http://code.jquery.com/jquery-2.1.0.min.js // @version 0.0.0 // @grant none // ==/UserScript== (function () { // Don't run on frames or iframes if (window.top != window.self) { return ; } window.addEventListener('load', function () { var