Principles of Client Data Processing