Network Security Using Python Dictionaries