From: matz@... (Yukihiro Matsumoto) Date: 2003-01-11T02:53:32+09:00 Subject: Re: Security problems Hi, In message "Re: Security problems" on 03/01/10, Tim Bates writes: |Anything less than that and it's not really demonstrating OOP. |So I guess what I really want to do is give a piece of code all the |restrictions of $SAFE == 4 with one exception - permission to extend one |particular class. I can't see a simple way to do this, but maybe I'm missing |something. There's no restriction to create subclass in $SAFE level 4. The point is constant assignment. Wrap with a tainted module for example. class Foo end module XXX self.taint Thread.start do $SAFE=4 class Bar