Method for handling network connection request and device thereof

The embodiment of the invention provides a method for handling a network connection request and a device thereof. Under the condition that the network connection request sent by verification application is in malicious connection, the network connection request can be refused; the method and the device, provided by the invention, can be used for identifying the network connection request when embedded advertisements of the application attempt to connect an advertisement contents server; under the illegal condition of the connection, the connection of the advertisement contents server can be refused; therefore, if the network connection request for connecting the advertisement contents server is set as the malicious connection in advance, the connection between an advertisement control and the content server can be avoided, the downloading of the advertisement contents can be prevented, and the network flow is saved.