Network Security assignments and Codes