“The press and or members of the public may not realise the effect a constant barrage of ill-informed personal attacks can have upon a judge and on his family.
“Might the barrage one day go further and have an effect on a professional level – might it influence the outcome of a case? Might it prevent the judge from taking the brave but just decision? We all think not and hope not.
“We must be given sufficient resources to train and support our judges to cope with the inevitable glare of the limelight to ensure that it does not.”
She warned the Government against making deep cuts in the courts budget, saying that it could affect access to justice, while admitting it does not “tug at our heart strings” in the same way the NHS and schools do.
“I understand that in such straitened times, talk of judicial independence may cut little ice with vast swathes of the public and the press.
“But resources, or rather the lack of them, is a potential threat and cannot be ignored.”
Lady Hallett said so far the judicial college has coped with budget cuts imposed by the Ministry of Justice but added: “I emphasise so far.”
The judge, who last year spoke out about the sexism she encountered during her early days in the legal profession, admitted she had to “tread particularly warily” when entering the “political or policy arena”.
Her lecture, delivered last week to the Bentham Association at University College London, comes amid increasingly outspoken disputes between judges and MPs.
Last month the head of the civil judiciary, Lord Neuberger, told his fellow members of the bench not to court publicity, and singled out one who appeared as “amateur food critic” on MasterChef.
Lady Hallett agreed that judges must not “play to the gallery” in their judgments or their public speeches, as to do so would be to “place their own self-interest ahead of justice”.