A battle over the disclosure of donors to the $40 million campaign to ban same-sex marriage in California is apparently headed for higher courts after a federal judge rejected claims by backers of the 2008 ballot measure that continued exposure would endanger their contributors.