Why we recommend Cloudflare for your website
Every website gets uninvited visitors. Usually it isn't a person targeting your organisation, but automated software scouring the entire internet for weak spots. That's why at Glue we recommend putting every website behind Cloudflare. In this blog, we explain what it is, what it delivers and what it doesn't do.
What happens on your website every day
Bots try to log in to the admin area using lists of leaked passwords. Scanners check whether your site is running a version with a known security vulnerability. Forms fill up with spam, and crawlers click through thousands of filter combinations, slowing your site down.
You usually notice little of this, until the site becomes slow or a form gets flooded. Most of this traffic is worthless, but it puts a strain on your server and increases the risk.
What Cloudflare does
Cloudflare acts as a gatekeeper between your visitors and your website. All traffic passes through Cloudflare first, which stops the unwanted part before it reaches your site. Specifically:
- A firewall blocks traffic that behaves like an attack, such as attempts to find files or admin pages that don't exist on your site.
- The admin area gets extra protection: visitors behaving suspiciously on the login page face an additional check or are blocked.
- Bots and junk traffic are filtered out, so your forms and your server have less to process.
- Traffic spikes, intentional or not, are absorbed before they overload your server.
What Cloudflare doesn't do
Cloudflare is no substitute for updates. A website is software, and software regularly receives security updates. A firewall can stop an attack in the days between a vulnerability being disclosed and your site being updated, but it remains an extra layer.
Think of it as an extra lock on the door: useful, but it won't help if the door itself no longer closes properly.
Our approach
Switching Cloudflare on is one thing; configuring it properly is another. At Glue, we set up a baseline configuration for each domain name tailored to a Craft CMS website: rules against traffic that makes no sense and extra checks on the admin area. We then monitor the settings and adjust them, for instance when a legitimate integration is accidentally blocked.
There are two points of attention for the switch that we'll brief you on in advance. Cloudflare takes over management of your domain's DNS, so the transition requires careful coordination, especially for your email. And because traffic runs through Cloudflare, it belongs in your privacy policy and data processing agreement.
Cloudflare and updates together
Cloudflare doesn't make your website invulnerable, but it does make it far less attractive to anyone looking for the easiest target. Managing it is included in our update subscription, along with the updates to your Craft CMS website. That way, your site stays not only protected, but also up to date.