Lists that identify the books, music and movies individual customers bought from online retailer Amazon.com Inc. are protected from North Carolina tax collectors, a federal judge has ruled.

Amazon said in a lawsuit it filed in April in its hometown of Seattle that disclosing the names, addresses and purchases of its customers as requested by the North Carolina Revenue Department would harm anyone who may have bought controversial books or movies.