> The "base directory" for the applet is the directory containing the .jar > file.
At the coding level the terms that are used are 'document base' and 'code base'. The 'document base' is the path containing the .html file. The 'code base' is the path containing the .jar file. Q: Are there restrictions on where the code base can be placed relative to the document base? Q: Can you just put the .jar file wherever you want on the hard disk? > Wherever that file is located sets the upper limit for hard disk reference > of model files. I do not understand why they did it that way. I think that when running off of a web server, the document base plays a more significant role in applet security than the code base. > I guess the logic is that if you can read that file, because it exists, > then you > should be able to use it to read anything below it on the path. The point, > I > think, is that the HTML file should not be the base for applet purposes. Not sure what you are saying. > The > jmol.js file can be anywhere on any server; no security issue there. You said 'anywhere on any server'. When running against a local file system, file:// ... Q: Does that mean it can be anyplace in a local file system? When running on the web ... Q: Does that mean that it could be on a web server in another domain? Miguel ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users