sandbox

iTunes account creation not allowed when trying to test In-App Purchases

走远了吗. 提交于 2019-11-27 20:07:17
问题 I have an app in the App Store and I want to test in-app purchases. I followed the steps described on the Apple website but I'm facing some problems. When I try to log in in the iTunes in my application or in Settings/iTunes & App Stores, I receive the error: iTunes account creation not allowed. This Apple ID cannot be used with the iTunes Store at this time. Please try again later I searched the internet but I found nothing about this. It seems like I am the first to encounter this kind of

How to create sandbox in C# for external process?

巧了我就是萌 提交于 2019-11-27 19:29:11
How to create sandbox in C# for external process? As sandbox I understand an environment for process I start from C#, that stop that process from interfering with anything else - kernel, system variables, system configuration, memory, registry, disk, hardware, location other than starting place and so on. I want place executable in one place and be sure that this place is only place that can be changed by this process. Additionally, executable can be written in C, C++, C# and etc. If you only wanted to run managed code, it's relatively easy to create a Sandbox environment using an AppDomain w/

Dropping promised files on to application icon in Dock

混江龙づ霸主 提交于 2019-11-27 18:41:13
问题 Is it possible to open promised files NSFilesPromisePboardType in sandboxed application when dropping on to application icon in Dock? The Dock icon is accepting the drop, but -application:openFile: is never called. The only reference I found are pre sandbox: Accepting iCal events dropped on my application's icon rdar://47917787 回答1: Let's break this down: NSApplication and NSDocumentController in NSDocument based apps gives you -application:openFile: or -openDocumentWithContentsOfURL:display

How can you run Javascript using Rhino for Java in a sandbox?

你说的曾经没有我的故事 提交于 2019-11-27 17:13:11
Part of our java application needs to run javascript that is written by non-developers. These non-developers are using javascript for data formatting. (Simple logic and string concatenation mostly). My question is how can I setup the execution of these scripts to make sure scripting errors don't have a major negative impact on the rest of the application. Need to guard against infinite loops Guard against spawning new threads. Limit access to services and environment File system (Example: If a disgruntled script writer decided to delete files) Database (Same thing delete database records)

Global events, the Mac App Store, and the sandbox

末鹿安然 提交于 2019-11-27 16:42:54
问题 I'm working on an app where using global key-down events will be a requirement for its operation. Additionally, I plan on distributing this strictly via the App Store. (It's a Mac app, not iOS.) I've gotten an example of listening for the global events working via addGlobalMonitorForEventsMatchingMask, but with caveats. Note: I am making the choice to use the modern API's and not rely on the earlier Carbon hotkey methods. In the event that they are deprecated eventually, I don't want to have

ScriptedSandbox64.exe has stopped working - Visual Studio 2015

不想你离开。 提交于 2019-11-27 14:21:43
问题 This is the second time I've seen the error "Scripted Sandbox64.exe has stopped working" in Visual Studio 2015. In my particular case, I was building a Windows Forms application and you place the application into the system tray in Windows. This application also writes files using System.IO. The project has nothing more than that. Visual Studio 2015 Community Edition crashes. 回答1: Disable the Diagnostic tool under Tools -> Options -> Debugging -> General -> Enable Diagnostic Tools while

Enabling start at login with App Sandbox enabled

感情迁移 提交于 2019-11-27 13:58:27
问题 I have an application that must be sandboxed. It's not a difficult task, but I see that I cannot enable automatic start at login with LSSharedFileList editing the Session Login Items list. Is there another way to enable start at login with App Sandbox enabled? 回答1: An updated project/tutorial is available here, with addendums for some misleading Console messages you'll see under 10.8.2: http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/ I'm not the author, but the

Is there a way to execute php code in a sandbox from within php

爱⌒轻易说出口 提交于 2019-11-27 13:57:38
I want to execute a php-script from php that will use different constants and different versions of classes that are already defined. Is there a sandbox php_module where i could just: sandbox('script.php'); // run in a new php environment instead of include('script.php'); // run in the same environment Or is proc_open() the only option? PS: The script isn't accessible through the web, so fopen(' http://host/script.php ') is not an option. There is runkit , but you may find it simpler to just call the script over the command line (Use shell_exec ), if you don't need any interaction between the

The request was aborted: Could not create SSL/TLS secure channel sandbox account

感情迁移 提交于 2019-11-27 13:52:58
It was working well before a week but now it shows following error. I have tried the following things but of no use. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3; so suggest me with possible solution public string HttpCall(string NvpRequest) //CallNvpServer { string url = pendpointurl; //To Add the credentials from the profile string strPost = NvpRequest + "&" + buildCredentialsNVPString(); strPost = strPost + "&BUTTONSOURCE=" + HttpUtility.UrlEncode(BNCode); ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3; //

App sandbox: how to allow XPC service to read file that user opened in parent app?

有些话、适合烂在心里 提交于 2019-11-27 13:15:06
问题 I have a simple Cocoa image preview app. The user selects a file using an NSOpenPanel and the app generates a preview image using the Quick Look API. I'd like to move the preview generation into a separate XPC service. Without app sandboxing everything works fine, but after enabling app sandboxing for the parent app and the XPC service, the XPC service is denied read access to the user selected file . The parent app is allowed to read the file (because it was selected through an NSOpenPanel).