Well, if you're really worried, I suppose you could disallow exits to all but a whitelist of websites you trust not to contain content that is illegal to view in your country. Which would probably not include user-contributed websites.