A federal judge on Monday cleared the way for a ground-breaking suit that would let lawyers peek behind the curtain of the Bush administration’s warrantless electronic surveillance program.

Northern District Chief Judge Vaughn Walker ruled that lawyers for Al-Haramain Islamic Foundation can access material long held secret by the government. But he also wrote that the press and the public must now be kept largely in the dark.