In letters to lawmakers, Yahoo, Google, and Microsoft say they've agreed on a set of principles on what to do when governments demand information about users, or block access to Web sites.
The code is for U.S. Internet companies that do business in China and other places where governments interfere with the media.