views:

23

answers:

1

Hi folks,

I'd love to use Google Caja to run user-submitted Javascript 'live demos' in a sandboxed, safe environment, however I see it's Java-based and really have no idea how I'd practically set this up on a shared host (specifically, MediaTemple's (gs)). On (gs) I have access to SSH and can install things via command line but it is obviously too limited to support Java etc.

Are there any similar alternatives? My application is PHP (CodeIgniter) based, so a PHP-based solution would be ideal.

Jack