Secure Global Desktop Administration Guide > Clients and webtops > Secure Global Desktop and Java™ archives

Secure Global Desktop and Java™ archives

Secure Global Desktop uses Java applets for a variety of purposes. These Java applets must be downloaded from the Secure Global Desktop server to the client device's web browser.

The files that make up each applet can be combined into a Java archive. Java archives are useful because:

Web browsers can keep local copies of Java archives either by caching them, or locally installing them:

Web browsers usually prompt the user for permission to cache/install an archive. For the archive to be cached/installed, the user must grant permission.

The Java archives in Secure Global Desktop work correctly with all supported browsers. However, some browsers have settings which can disable support for Java archives. If you have changed a particular browser's configuration, the browser may be unable to cache or install Java archives. You can always re-enable Java archive support by returning the browser to its default configuration.

If you are using the classic webtop

Secure Global Desktop provides several types of Java archive, as different web browsers support different types of archive. If you are using the classic webtop, Secure Global Desktop uses the mappings in the /opt/tarantella/etc/data/archives.txt file to control which archive types are used with which browsers.

The table below shows:

SettingArchive typeCompressionLocal copySigned
cabMicrosoft cabinet filesCompressedCachedSigned
cab4Microsoft distribution unitsCompressedInstalledSigned
jpsjarArchives signed using Sun JDK™ suitable for Sun Java Plug-inCompressedCachedSigned
nsjarNetscape signed installable Java archivesCompressedInstalledSigned
sjarNetscape signed non-installable Java archivesCompressedCachedSigned
zipZip archivesUncompressedCachedNot signed

Note Netscape signed Java archives can be used with non-Netscape browsers.

By default, Secure Global Desktop uses these settings for the following browsers:

Browser/platformSetting
Microsoft Internet Explorer 5 on Windowscab4
Microsoft Internet Explorer 6 on Windows using Microsoft Virtual Machinecab4
Microsoft Internet Explorer 6 on Windows using Sun Java Plug-Injpsjar
Microsoft Internet Explorer on Apple Mac OS X 10.2+jpsjar
Netscape 6.x and 7.xjpsjar

Note The cab4 setting used by default for Internet Explorer users on Windows means that the archive is installed locally. However, the ability to install archives locally requires Administrator privileges. If Secure Global Desktop detects that the user does not have these privileges, it will automatically use the cab archive type instead as this is cached rather than installed.

Customizing which browsers receive which archives

If the archive types used by default are unsuitable, you can edit the /opt/tarantella/etc/data/archives.txt file to change which archive types users receive. The file contains comments to help you customize archive delivery.

If you only need to temporarily override the settings in the archives.txt file so that you use a different Java archive, you can do this by running the Secure Global Desktop CGI program ttaarchives.cgi with a query string. This program sets a cookie which overrides archives.txt. For example, using the URL http://server/tarantella/cgi-bin/ttaarchives.cgi?cab sets your session to use the Microsoft cabinet archive. The cookie lasts for as long as you have your web browser running. The cookie is deleted when you close the web browser.

You can find full details on the query string settings available for ttaarchives.cgi by running:

http://server/tarantella/cgi-bin/ttaarchives.cgi?
Related topics