Federal officials delivered a landmark ruling in favor of online privacy Thursday, limiting how Internet providers use and sell customer data.