In development projects, we often encounter situations where we need to turn on a certain function in time. Real-time turning on and off of functions through Ajax will undoubtedly enhance the user experience. This article uses the Trojan firewall switch of 360 Security Guard as the background, and uses PHP, jquery, and MYSQL to implement a WEB application that enables and disables product functions in a timely manner.