This paper analyzes the security risks existing in the computer network.The general structure of network protocol is proposed.We discuss the security of the cryptography technique in the network security protocol,and point out some problems that should be