sandbox

Anyway to create a php sandbox for a user to develop in?

A user on my site and I are going to be developing a new web app. Id like to create a folder that we can work in without the fear that he could read outside that folder potentially reading config files etc. Is there a way to create a sandboxed area that would prevent the user from including outside that folder - while still keeping the ...

Sandboxing JavaScript output?

Hi, Is it possible to sandbox JavaScript output? What I mean is that whenever a developer is doing document.write, X.appendChild(), x.replaceChild(), x.innerHTML, etc. he would not be able to directly affect the DOM -- and instead the update would have to go through my framework. ...

Permissions required to allow arbitrary sql to be executed safely

I want to create an SQL sandbox that will allow users to execute arbitrary SELECT queries at a PostGIS database. Essentially, I want to allow users access to psql to play with. Obviously this is a security disaster if write access is allowed. How can I create a system such that querying data is allowed, but there is no reasonable poss...

Trouble with crossdomain.xml

Hi, I'm having some difficulty getting my cross domain policy to work. I have an swf at http://www.server.com/ that loads in XML and other files. I want to be able to embed that swf in other HTML pages (YouTube stylee) that aren't in the same domain. It works fine when access via it's local server http://www.server.com/my.swf or http://w...

Sandboxing applications on CentOS 5 as non-root

Classic problem: I'd like to be able to run unsafe applications in a sandboxed environment on my CentOS Server 5.5 server, as a non-root user. chroot would be ideal for this, but it's not able to be started by a non-root user. And a lot of the sandboxing solutions I've found online are for Debian-based distros. Any suggestions? ...

Detecting if a process is started by IE in protected mode

Hello, I am writing a program that is used for simplifying the download of an application installer. The app is really simple in it's working: it just asks the BITS subsystem to download a ZIP from the net and decompress it on the user's desktop and run the second stage installer (the idea is that many of our end users are too dumb to b...

Can I Upload video or audio from iPhone to web server?

I'm going to develop an application for uploading video & audio from iPhone to web server.I know how to upload to web server by HTTP Post or FTP,but I'm not sure whether I can access the audio files in the specific path like 【/private /var/ mobile/Media /iphone video Recorder】 on iPhone bacause Apple will rejects request that attemp to a...

iPhone storekit sandbox stopped working.

Bug reported as fixed by Apple, see accepted answer below ... UPDATE MON AUG 23rd 10:00 GMT Although the bug report with apple hasn't been closed yet, it now seems to be working (at least for a couple of us) OK. It could be they have nailed it, or the fix is in testing, and I'll report back when (if) I hear anything more from Apple. ...

How do you practice web scraping?

How do you practice web scraping (for example, authentication) when you're learning? Do you: Practice with your real username and password on a real web site, and hope you don't mess up (eg fail authentication too many times, accidentally hammer the web site)? Create a fake username and account for this purpose, and hope they don't kee...

PayPal: Sandbox UI is different from "real" UI?

As I've been integrating with PayPal, I've noticed that their sandbox UI is very different from their real UI. When I set my button to post to sandbox.paypal.com, I get something like this: But when I post to paypal.com from a browser that has never visited PayPal before, I get this: Is there any way to setup the sandbox so its inte...

Sharepoint 2010 sandboxed solution

Hi, I am using SharePoint 2010 and creating a simple web part using Visual Studio 2010. When I create a SharePoint project in visual studio 2010, I specify "Deploy as a sandboxed solution" option. When I run the project, in a page in the sharepoint site when adding a web part i can see the web part. But when i try to add the web part t...

Create multiple sandbox

Hi, I'm running several PHP applications on a server, and I'd like to create a sandbox for each of them, so that for example one can't access the files of another one. Which could be the best solution? Thanks ...

Python, safe, sandbox

Hello, I'd like to make a website where people could upload their Python scripts. Of course I'd like to execute those scripts. Those scripts should do some interesting work. The problem is that people could upload scripts that could harm my server and I'd like to prevent that. What is the option to run arbitrary scripts without harming ...

Sandboxing vs. Virtualisation

Hi all, Maybe I am missing something but isn't sandboxing and virtualisation exactly the same concept, ie., separating the memory space for applications running in parallel. So I am wondering why they are having different names, are there maybe differences in the way they are employed? Many thanks, Simon ...

How do sites like codepad.org sandbox your program?

I haven't quite decided if I'm going to use a linux or windows-based server yet, so I'm looking for solutions for either OS. I found this Sandboxie which lets you run your windows programs in a sandbox, but I don't know if I can programmatically create a sandbox and run a program in there, and then destroy it. Do these sites create one...

Can my iPad app access a list of the eBooks on the device?

I have a little experience with iPhone development but am new to iPad. I realize that apps are sandboxed and cannot access each other's data, but is there any way that the iPad app can access information about the eBooks on the iPad--for instance, the titles and authors of these books? ...

Can I test my In App Purchase in the sandbox when the App is in the App Store?

My app is already in the App Store but there seems to be a bug with the In App Purchase. I want to debug it but I cannot get into the sandbox environment with my iPhone and XCode. Is there anything special I have to do to work in the sandbox again? Thanks ...

Loading External Swfs in Adobe Air

Hey, Can anybody help me on how to load external swf's in adobe air. Every time i try i get a security sandbox violation message. Can anybody help me with this ...

deploy dll within sandbox solution without going to the GAC?

does any one know how to deploy dll within sandbox solution without going to the GAC? Thanks, ...

Managing iPhone app sandbox tmp directory size for caching images

I have a fairly image-intensive iPhone app, and I'm looking to store remotely downloaded images locally in the app's sandbox tmp directory to avoid unnecessary network requests. Is there a limit to the total size of the files stored in an app's directories, or does the app need to manage that? How would the app determine the size of the ...