How can I force files to download to the desktop?

As of TeamForge 4.2, it is possible to configure the application to force your users to download files, instead of having them open within the browser.

Turning this mode on can prevent some of the more basic attacks on users. Simply add the following line to /opt/collabnet/teamforge/sourceforge_home/etc/
Once the line is in place, simply restart TeamForge for it to take effect. TeamForge sets this to None by default, which means that the user's browser will present them with the normal open/save pop-up when clicking on files in TeamForge. When setting this to All, that pop-up will be altered so the user's only choice is Save. You can also set this value to html to force the user to save only html documents, while allowing all other content to behave as normal.