Network security and data privacy