You can prevent a distributed denial of service attack by: Developing a denial of service response plan, Securing your network infrastructure, Filtering routers at the edge of your network to spot and dro DDoS connections, Blackholing the site that is being DDoS’d, thereby directing all traffic to an invalid address.