Skip to content

What is DDoS protection?

By Ash, Founder, HosteazePublished 2 min read

DDoS protection is a set of defences that keep your website online when someone floods it with traffic from many computers at once, a distributed denial of service attack. It works by spotting the junk traffic and filtering it out upstream, before it reaches your server, while letting real visitors through.

A dual carriageway packed with queuing cars and vans in both lanes, the road equivalent of a website swamped by traffic.
Credit: stux via Pixabay

Picture your website as a small shop with one door. A denial of service attack fills the doorway with thousands of people who have no intention of buying anything, so real customers can't get in. When that crowd comes from many different computers at once, often hijacked devices, it's a distributed denial of service attack, or DDoS. DDoS protection is the system that spots the crowd and clears it.

How does a DDoS attack work?

The UK's National Cyber Security Centre (NCSC) describes a denial of service attack as an attempt to overload a website or network so it slows down or becomes inaccessible. The distributed kind comes from many sources, which makes it more powerful and harder to tell apart from genuine visitors.

Attacks come in two broad flavours. Volume attacks try to fill your connection with sheer quantity of traffic. Application attacks are subtler: a smaller number of requests aimed at something expensive, like a search page that hits your database each time.

What does DDoS protection actually do?

LayerWhat it doesWho usually provides it
Network filtering ("scrubbing")Drops traffic that matches attack patterns before it reaches the serverYour host's network or its upstream provider
Content delivery network (CDN)Spreads traffic across many locations and absorbs spikesA CDN service in front of your site
Rate limitingCaps how many requests one source can make in a set timeThe host, a CDN or a WAF
Web application firewallBlocks malicious requests based on what they containThe host, a CDN or a plugin

The NCSC's advice is blunt: a determined attacker can nearly always send more traffic than an organisation can cope with alone. That's why protection works best upstream, at the host or network level, rather than on your own website. A CDN and a web application firewall add useful extra layers.

What should a small business do about DDoS?

The fifth step costs nothing and saves real panic. Our guide on how to protect a website from hackers covers the other security basics.

Frequently asked questions

Why would anyone attack a small business website?

Usually not personally. Some attacks are extortion attempts, some are aimed at a neighbour on the same network, and some are simply cheap to launch. Small sites are more often caught up in attacks than singled out.

Will a DDoS attack steal my data?

Not by itself. A DDoS attack is about availability, knocking you offline. The NCSC notes the damage can be serious even when data isn't touched, through lost sales and staff unable to work. Occasionally attackers use one as a distraction, so check your logs afterwards.

How do I know if my site is under a DDoS attack?

Typical signs are a sudden, sustained traffic spike with no obvious cause, the site slowing to a crawl or timing out, and server errors such as 503. A viral post can look similar, so check your analytics before assuming the worst.

Sources

  1. NCSC, Denial of Service (DoS) guidance
  2. NCSC, Preparing for DoS attacks, Upstream defences

Hosting with security built in

See what comes with every Hosteaze hosting plan.

See hosting plans