sandbox

Do you know of a codepad/ideone/etc system that I can host internally for a commercial product for free?

I have a product in mind that would benefit from third-party developers being able to hook into the product with their own custom code. My product would call the developer's code. The trick of course is how? Embedding the code is a terrible idea as it is completely unsafe. A malicious developer could do all sorts of Bad Things. I could ...

Sandboxed scripting

Im interested in how I could use a scripting language to execute simple blocks of code in a sandboxed manor. The host language/environment could be c#/ruby/python/java (anything but c). But the scripting language could equally be something obscure such as javascript/python/ruby/perl etc. What I want is a way of executing script with tr...

where can i get the sandbox tag library jar file

Hi I am trying to use sanbox in my jsf application. So i need tag library for sandbox or jar file can anyone help me out in this. ...

Get a data from a web page into a PDF format using Tomahawk in JSF?

i am a newbie to JSf and Tomahawk Technology. In application i am having a datatable, i want store the information from he data table into a PDF format on a click of a button using Tomahawk and SandBox.Kindly Help. ...

Sandboxing javascript module

Is it possible to sandbox javascript module from DOM manipulation? Fo example var Core = { register: function(config){config.init()}, publicApi: { msgbox: function(msg){alert(msg)} } } Core.register({ name: 'testmodule', init: function(){ /* from there i want to see only function defined in Core.pu...

How safe is an AppDomain sandboxed with SecurityPermissionFlag.Execution?

I have a plug-in vector established using System.AddIn that accepts the body of a pre-defined method, munges the method body into boilerplate code, generates the assembly and executes the method. The assembly references System and System.Core and is sandboxed with var pset = new PermissionSet(PermissionState.None); pset.AddPermission(n...

APNS strange feedback

Hi I'm getting strange feedback from the feedback sandbox server. Actually there should be only my device registered so I expect always the same device token (which I already know). Anyway... I'm getting every time a different device token and always the same timestamp "Wed Mar 04 02:46:40 +0100 1981" Is that normal or is there somethi...

Change present working directory of a calling shell from a ruby script

I'm writing a simple ruby sandbox command-line utility to copy and unzip directories from a remote filesystem to a local scratch directory in order to unzip them and let users edit the files. I'm using Dir.mktmpdir as the default scratch directory, which gives a really ugly path (for example: /var/folders/zz/zzzivhrRnAmviuee+++1vE+++yo...

Create Sandbox C#

Hi guys, are there any tutorials out there on how to create a sandbox using C#? I would like to personalize my own one, thanks ...

Scripts like ideone.com and codepad.org

Are there any auto compiling scripts like the ones used at ideone.com and codepad.org available? (preferably open source, and which execute the code in a safe environment.) ...

How to safely let users submit custom themes/plugins for a Rails app

In my rails app I'd like to let users submit custom "themes" to display data in various ways. I think they can get the data in the view using API calls and I can create an authentication mechanism for this. Also an authenticated API to save data. So this is probably safe. But i'm struggling with the best way to let users upload/submi...

Flash CS4 AS3 Security Sandbox Violation

Hi, I have build my entire website with flash and embedded several swf objects (slideshows) into it. everything always worked fine when I published it as swf movie. but now that I want to upload my website an error message occurs saying: Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation: file:///m...

A scripting engine for Ruby?

Hello, I am creating a Ruby On Rails website, and for one part it needs to be dynamic so that (sorta) trusted users can make parts of the website work differently. For this, I need a scripting language. In a sort of similar project in ASP.Net, I wrote my own scripting language/DSL. I can not use that source code(written at work) though, ...

Does Java have a built-in Antivirus? Is it true?

Does Java have a built-in Antivirus? One of my friends told me there is in the JVM itself - it's called the "sandbox". Is it true? ...

paypal sadbox IPN

Morning all. I am trying to test a SIMPLE php script to deal with the IPN response from paypal sandbox. <?php // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($post as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } // post back to PayPal system...

Is it possible to use System.Configuration, if there is no local app.config? And how to, if it is possible?

Hello. I have a client apllication that run in very restricted area - it has no direct access to computer, where it is running. I don't want to invent another one System.Configuration system to configure my application. But there is no method in ConfigurationManager, that allows to load configuration from string or Stream. It seems to...

Are google chrome extension "content" scripts sandboxed?

I was under the impression that the content_scripts were executed right on the page, but it now seems as though there's some sandboxing going on. I'm working on an extension to log all XHR traffic of a site (for debugging and other development purposes), and in the console, the following sniff code works: var o = window.XMLHttpRequest...

sandboxed python plugins

Hi I'm planning to write a pluggable application in python (+qt4). However I have great concerns about security. The plugins should be powerful enough as to do whatever they like within the application (and as a further constraint there will be a signing process and a warning for the user when using such a plugin), but interacting with ...

Multiple Sandboxes in the same JavaVM

Is there a framework or api to let multiple isolated sandboxes run in a single java vm? ...

How few a files does it take to load a program on Linux?

The (hypothetical for now) situation is the user of my system is going to be given a chunk of C code and needs my system to compile and run it in a chroot sandbox that is generated on the fly and I want to require the fewest files in the box as possible. I'm only willing to play with compiler and linker settings (e.g. static link everyth...