Preserving Privacy in Data Outsourcing