Matthew Dillion mentioned his changed tutorial on secure web browsing on DragonFly, though I imagine it applies to other systems too. The trick is to use an isolated user account for running a web browser, and he includes the various steps to do so smoothly in the tutorial web page.