Designing Batch Processing and Data Security