The Home Office has promised the Information Commissioner's Office that it will handle data securely after being found in breach of the Data Protection Act.