The "core" of a major terrorism trial can be held in secret however the defendants can be identified, the Court of Appeal has ruled.
Media organisations had contested the "unprecedented" decision by Mr Justice Nicol last month at the Old Bailey relating to the pending trial of two defendants only known as AB and CD.
Richard Whittam QC, for the Crown, said it supported open justice but there were exceptional circumstances which had led to exceptional procedures in the case.
More top news
Thousands of asylum seekers from the 'Jungle' camp in Calais could come to the UK if Britain voted to leave the EU, Mr Cameron has warned.
Inspector Mike Reid went missing following a call-out near Penzance
Three men have been jailed for killing a 14-year-old boy over a love rivalry.