strapyourself.in and flouri.sh
Ruby Sandboxing Resources
April 11th, 2009
“A complete list of sandboxing resources that I've been able to find, from articles on the sandbox itself to examples of the sandbox in action.”
The sandbox itself
- Freaky Freaky Sandbox - A sandboxing gem based on the MRI ruby interpreter. Written in C, it hacks the VM to allow safe execution of untrusted code
- Why-the-lucky-stiff talking about the freaky freaky sandbox - He explains it as an alternative to $SAFE in a discussion with ruby team.
- How to set up the C-Ruby sandbox
- JavaSand - A sandboxing gem for JRuby. It provides the same API as the C-based-ruby sandbox.
- How to set up the JRuby sandbox
Sandbox Support
acts_as_wrapped_class- A gem that adds easy class-wrapping for safely exposing an API to the sandbox code.acts_as_runnable_code- A gem that makes creation of sandboxes and evaluation of uploaded code easier.- Safely Exposing your App to a ruby sandbox - My article on setting up a sandbox.
Sorry, comments are closed for this article.