SAN FRANCISCO -- Hackers have launched a rare and troubling attack on Apple Inc.'s computers.

Apple on Thursday confirmed reports of pornography Web sites where hidden software, once downloaded, could take control of an Apple computer. Apple did not immediately respond to claims that it is the first instance of a Trojan horse attack on Apple's Macintosh platform.

"We've...