This book is compiled according to the teaching characteristics and training objectives of higher vocational colleges. It comprehensively introduces the basic framework and basic theories of computer network security, as well as the management, configuration and maintenance technologies of computer network security. The book has 7 chapters in total, and the main contents include an overview of computer network security, common attack methods by hackers, computer viruses, data encryption technology, firewall technology, Windows operating system security and Web application security. This book focuses on practicality, relies on experiments, and integrates experimental content into the course content to closely connect theory with practice. This book can be used as a teaching material for computer and related majors in higher vocational colleges, and as a reference book or training material for relevant technical personnel.