Privacy by design in big data