Gwendolen Morgan, of law firm Bindmans, representing Mr Miranda, said outside court that the Home Office and police had made "sweeping and vague assertions about national security".
She said Mr Miranda "does not accept the assertions they have made".
He "looks forward to the opportunity to have the Government's actions and assertions fully scrutinised" at the hearing in October, she added.
More top news
The 24-year-old's music has notched up more than three billion plays and more than 59 million listeners since the service started in 2008.
Blustery, wet and wintry across Scotland today - the sleet and hill snow turning back to rain.
A van driver was caught on camera swerving and weaving across three lanes of a motorway during a high speed police chase.