A federal appeals court has upheld

TheStreet.com's

right to access testimony that the

New York Stock Exchange

has battled to keep secret.

Thursday's decision opens the door for the public to hear top NYSE officials' sworn statements about illegal trading on the exchange's floor and interactions between the NYSE and the

Securities and Exchange Commission.

The depositions arose out of litigation in which a former NYSE floor broker alleged that the exchange condoned the practice of "flipping," or quick intraday trades in which brokers shared the profits.

In 1998, 10 traders and brokerage officials were arrested and charged with securities law violations for flipping, which the SEC says is illegal when traders take a share of the profits. Many of the traders pleaded guilty, and several served prison terms, and in 1999 the SEC and the NYSE agreed to a settlement that was sharply critical of the exchange's oversight of trading on its floor.

The depositions at issue in Thursday's decision -- from NYSE President William Johnston and Edward Kwalwasser, the group vice president in charge of the NYSE's regulatory group -- were taken in a civil suit that the SEC filed against one alleged flipper, John D'Alessio. As part of his defense in that case, subsequently settled, D'Alessio said the NYSE encouraged the practice of flipping.

The trial judge in that case, U.S. District Court Judge Jed Rakoff, originally ruled in January to keep portions of those depositions secret. But at the urging of

TheStreet.com

, he reversed himself in April, saying that the desire of the NYSE and its officials for privacy was outweighed by the public's interest in the relationship between a governmental agency such as the SEC and a "quasigovernmental agency" such as the NYSE.

"We're pleased that the Court of Appeals affirmed Judge Rakoff's determination that the public, through the media, has a relevant interest in that testimony," says Jordan Goldstein, general counsel of

TheStreet.com Inc.

(TSCM)

, which publishes this Web site. "And we are very interested in finding out what, if anything, the NYSE was so anxious to keep secret."

Robert Raskopf, the partner at White & Case who argued the appeal for

TheStreet.com

, says the testimony at issue could be unsealed within weeks, though the depositions might remain secret if the NYSE were to apply for a rehearing by the full panel of the second circuit.

A spokesman for the NYSE declined to comment.

Raskopf termed the decision "a vindication of the trial court's determination that constitutional and common-law rights of public access can be weighed in balance, and can be employed to reverse previously made decisions favoring secrecy."