<br><br><div><span class="gmail_quote">On 9/20/07, <b class="gmail_sendername">nicolas cellier</b> &lt;<a href="mailto:ncellier@ifrance.com">ncellier@ifrance.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are the classes aware of their namespace?<br>In which case, your security might be broken<br><br>AnyPublicClass namespace class allInstances detect: [:e | e name =<br>#Smalltalk].<br><br>Anyway, no need for namespace at all, just a:
<br><br>(AnyPublicClass withAllSuperclasses last allSubclasses detect: [:e | e<br>name = #SystemDictionary]) allInstances etc...<br><br>Sorry, you might have to restrict available messages too...</blockquote><div><br><br>
Yes, classes are aware of their namespaces, and I&#39;ll need to find a way to solve this problem. It&#39;s a challenge but not technically infeasible.<br><br>Refererences:<br><a href="http://gulik.pbwiki.com/SecureSqueak">
http://gulik.pbwiki.com/SecureSqueak</a><br><a href="http://wiki.squeak.org/squeak/uploads/2074/sandbox.html">http://wiki.squeak.org/squeak/uploads/2074/sandbox.html</a><br><br>Gulik.<br></div><br></div><br>