Model For Network Security In Cns