On Aug 23, 2006, at 17:47, Mike Zink wrote:

> Well, I've looked into safe levels, undef, and why's sandbox, but none
> of them fit my situation very well. Safe levels won't allow players to
> use game libraries, and I can't find a way to use them in why's 
> sandbox,
> and undef would be unreasonable. I would have to undef every standard
> library function.

Is it possible, once Ruby's launched, for it to redefine (or undefine) 
the default search paths? If only your modules know the secret 
handshake required to 'find' the standard . . . hmm. I guess I can't 
think of how that'd actually work.

So you disable or redefine File.read, say. How do you stop a player 
from going to the stdlib or core source code, including, embedding, or 
copy&pasting that into their program, and calling it?

My head hurts. Good luck . . .