I’ve been giving this some thought, and I really can’t imagine a safe way to embed applets in JGO.
The problem is that applets are allowed to connect to their ‘codebase’. This rules out hosting jar files and class files on JGO, because the applet can make HTTP request to the SMF forum, having the same privileges as the member that is viewing the forum: if somebody were to open a hostile applet, it would potentially modify that member’s posts on the forum. Even worse, if I were to open such an applet, it could take over the entire forum in a matter of seconds.
You could suggest we would remove the upload feature (attachments / avatars) so that people wouldn’t be able to upload their jars/classes/applets there, and hence wouldn’t be able to use JGO as a codebase. We would really have to disable all attachments, because uploading a *.jar as a *.txt, would still enable the JVM to load it as an applet.
The alternative would be to make some kind of an AppletViewer, like included with the JDK: loading the applet in an external process, in its own Frame, with a SecurityManager that basically allows nothing at all, as the codebase would be the local machine.
I might be missing something, so if you think there is a reasonably simple solution to this problem, please share!