Lord Dyson, Master of the Rolls, said the legal challenges were to two "of the Government's most controversial measures" relating to state benefits.
The court could only intervene if the measures "were manifestly without reasonable foundation", the judge said.
He ruled that the test was not satisfied and both challenges must fail.
Representatives for two of the people with disabilities who lost their bid said they were "extremely disappointed" and "baffled" by the court's findings.
"We are currently considering whether an appeal to the Supreme Court is possible" said Ugo Hayter, from law firm Leigh Day.
More top news
Hacking group Lizard Squad claimed responsibility for the attack which left thousands struggling to access their accounts for hours.
Three men broke into a house on Christmas morning but when the owner said he had no money they took his pets instead.
ITV News' John Irvine witnessed the devastation wrought at Banda Aceh ten years ago. Now, a long-sought revival is underway.