9 security tips to protect your website from hackers

You may not think your site has anything worth being hacked for, but websites are compromised all the time. The majority of website security breaches are not to steal your data or mess with your website layout, but instead attempts to use your server as an email relay for spam, or to set up a temporary web server, normally to serve files of an illegal nature. Other very common ways to abuse compromised machines include using your servers as part of a botnet, or to mine for Bitcoins. You could even be hit by ransomware. 

Hacking is regularly performed by automated scripts written to scour the internet in an attempt to exploit known website security issues in software. Here are our top nine tips to help keep you and your site safe online.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Latest in Web Design
A screenshot of the new YouTube UI
Yes, YouTube has a new UI. Yes, it's terrible
Adobe XD logo
It seems Adobe's given up on UI design (for now)
Adobe Muse
Why Adobe is frustrating web designers
Dropbox Relay interface with photo of man running
How Dropbox Replay is helping designers future-proof their practice
UX revolution
From 2D to 3D: How brands can harness the latest UX/UI revolution
Personal portfolio of Julie Bonnemoy with a retro vibe
From AI to no-code: The top web design trends for 2024 according to Designmodo
Latest in Features
Selection of Guinness ads throughout the ages
The best Guinness adverts of all time – from the toucan to a singing pint
Tina Touli headshot
"The 9 to 5 work routine was draining my creativity”: a day in the life of Tina Touli
Promise Mascot Agency;
How Ikumi Nakamura's 'art bible' helped create Promise Mascot Agency's grotesque mascots, and why collaboration in indie game development is vital
Stanley 'Artgerm' Lau discuses AI; a digital illustration showcases a stylised female figure, reminiscent of a comic book superhero, likely Supergirl, with vibrant colours and a dynamic pose
"In the future, there will be fewer artists like me – real artists" says Stanley 'Artgerm' Lau as he reflects on the dangerous impact of AI on art
Pittura, a short film made at ArtFX
"We wanted to talk about AI and its relationship to art" – how we made 2025’s VES Student Award-winning animation Pittura
Stanley 'Artgerm' Lau; a vibrant, dynamic illustration showcases Spider-Gwen in a dynamic action pose amidst a cityscape, radiating a sense of energy and playful confidence
"Art is not easy. You have to suffer in joy" – Stanley 'Artgerm' Lau reflects on what it takes to succeed in comic art