DoS attack and DDoS attack is an usual strategy that is significantly affecting the safety and quality of internet service.Here we discussed the principle of DDoS attack and analyzed the existing precautions which proposed some effetive schemes to prevent the DDoS attack.