Private Information Retrieval and Security in Networks