A pair of telecom and tech companies brought their long-running battle against secret government surveillance into a federal appeals court on Wednesday.

Mobile phone service provider Credo Mobile Inc. and cloud computing company CloudFlare have for years been fighting FBI gag orders that bar them from disclosing information about so-called national security letters they receive. The FBI can issue these letters without court scrutiny, requiring companies then to turn over customer names, addresses and other records.