sandbox

Testing in-app purchase before going live

So here is the scenario: You have already tested your in-app purchase code in the sandbox environment and everything went perfectly. Your app is now "Ready for Sale" and you want to make sure in-app purchases work flawlessly prior to actually letting your app hit the app store. To try this, I downloaded a "pre-release" version from...

How to intercept Windows' "open URL insystem default browser" functionality

Hello, I need to know where/how Windows stores the command that passes the URL clicked in a non-browser program (i.e. Thunderbird) and launches it in the systems default browser. I need that information to write a script that allows me to have a browser running in a secure sand boxed virtual machine, but still retain the functionality o...

What is the safest way to run an executable on Linux?

I am trying to run a program compiled from C code from an unknown source. I want to make sure that the program does not harm my system in anyway. Like for instance, the program might have soemthing like system("rm -rf /") in the source, which is un-detectable, unless the code is thoroughly examined. I thought of the following 2 ways ...

Testing in-app purchase after going live

Hi, I would like to make a contest for my iPhone and iPad apps users. I would like to give some bonus content for winners as a reward. Normally that content is paid (for eg. additional levels) and it's available via in-app purchase, so I'm trying to find any way to give them something like normal promo codes. (Promo codes are not workin...

Probable issues with running flex application/swf in local mode.

Hi All, We are developing client application for our solution. Its a desktop client. We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file...

Overpersistent files on the iPad

I copy some text files from a server to the NSDocumentDirectory on the iPad. One of the files has a .sql extension. They all store correctly and everything works OK, except there's one puzzling thing: When I delete the application from the iPad (make it wiggle and hit the X), all the existing files get deleted (as I'd expect) except fo...

Paypal sandbox new interface not returning post parameters.

Whenever I navigate to paypal sandbox for transaction, I see the new paypal sandbox interface because of which I am unable to make transactions. because the new interface does not return the post parameters after transaction. The Paypal new interface is visible on production as well, and the same problem is happening there, when user co...

header background and another one to repeat on Wordpress sandbox

im building off the wordpress plaintxt sandbox theme, and what i have i a big background picture, on the body element, which is basically the whole background, it doesnt repeat. what i want is to have another jpg to repeat at the end of this one. from what i realize, i cant put them on the same element. i tried to put the repeatable one...

Sandbox JVM to secure server from untrusted sources

How can protecting my server from malicious activity when accepting and executing uploaded, untrusted code? The users should be able to implement my interface and given data, perform some calculations and return data. No I/O operations are required and certainly no thread/process manipulation or other tomfoolery. Using the java.policy ...

Giving a unix process exclusive RW access to a directory

Is there a way to sandbox a linux process into a certain directory, and give this process exclusive rw access to this dir? For example, create a temporary working directory, and start e.g. python or another scripting tool in such a way that it can only write in this directory, without limiting too much of its functionality. And also that...

How to link shared libraries in local directory, OSX vs Linux

Hi, I have some shared/dynamic libraries installed in a sandbox directory. I'm building some applications which link agains the libraries. I'm running into what appears to be a difference between OSX and Linux in this regard and I'm not sure what the (best) solution is. On OSX the location of library itself is recorded into the library...

Sharing Data Between Apps on an iDevice

Is it possible to share on-disk data between iOS applications, or are they truly sandboxed? In other words if I wanted to make a shared repository of data to be accessed (and/or modified) by one or more of my apps, could it be done? One of the listings on the iOS features page is "Share Data Among Apps", but is this what I'm looking for...

Sandbox Virtual Machine for an Application (concept)

I'd like to write a sandbox virtual machine for executing a compiled program. My goal is to isolate that program from the rest of operating system and control its execution so that it can't do anything harmful to a host computer. I assume that: executed program is compiled to Portable Executable format and it's in machine code, not i...

Sandbox Virtual Machine for an Application (C++ vs. C#)

I'd like to write a sandbox virtual machine for executing a compiled program. How do you think: which of these two languages would be better to use if we consider performance? Or maybe you suggest another one? ...