Quick comparison of two Namespaces proposals
Michael van der Gulik
mikevdg at gmail.com
Wed Sep 19 22:18:51 UTC 2007
On 9/20/07, nicolas cellier <ncellier at ifrance.com> wrote:
>
> Are the classes aware of their namespace?
> In which case, your security might be broken
>
> AnyPublicClass namespace class allInstances detect: [:e | e name =
> #Smalltalk].
>
> Anyway, no need for namespace at all, just a:
>
> (AnyPublicClass withAllSuperclasses last allSubclasses detect: [:e | e
> name = #SystemDictionary]) allInstances etc...
>
> Sorry, you might have to restrict available messages too...
Yes, classes are aware of their namespaces, and I'll need to find a way to
solve this problem. It's a challenge but not technically infeasible.
Refererences:
http://gulik.pbwiki.com/SecureSqueak
http://wiki.squeak.org/squeak/uploads/2074/sandbox.html
Gulik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070920/1558121a/attachment.htm
More information about the Squeak-dev
mailing list
|