A lawyer specializing in freedom of speech and the Internet said Wednesday he will defend free of charge a 19-year-old publisher of a Web site facing a lawsuit over an article that revealed trade secrets about an Apple computer.

Nicholas Ciarelli, publisher of the site ThinkSecret.com and a Harvard University student, will be defended by Terry Gross, of the San Francisco-based firm Gross & Belsky.