We have secret trials in the UK where the accused doesn't get to hear the evidence.
So classified evidence can be used and there is no danger of it leaking.
Of course, there is a danger of innocent people being convicted but that doesn't seem to bother MPs or the government or even the public.