Key takeaways
- Website security is a business risk that affects revenue, reputation and legal exposure, not only a technical task.
- Attackers target weaknesses, not company size, so unpatched software and reused credentials put small sites at risk too.
- Keep an inventory of every account, service and script, and give each person a named, least-privilege login with multi-factor authentication.
- HTTPS is necessary but not sufficient. Collect less data, use a hosted payment gateway and keep secrets out of code repositories.
- Tested, off-server backups decide whether an attack is an inconvenience or a crisis.
- Agree responsibilities with your developer and host, and prepare an incident plan before you need it.
Most website breaches are not the work of sophisticated criminals targeting one company. They come from an unpatched plugin, a reused password, a forgotten admin account or a backup nobody has ever tried to restore. The weaknesses are ordinary, and so are the fixes. What is missing in most businesses is a clear owner and a routine.
The cost is rarely limited to a cleanup bill. A compromised site can interrupt sales, expose customer data, damage search visibility and trust, and raise legal questions about notification and data protection. Owners often find out which parts of their security they never had only when something has already gone wrong.
This guide explains the fundamentals in plain language: what you own, who can access it, how to keep it patched, how to protect data and payments, how to recover from an incident and how to build security into a project from the start. It also gives you practical questions to put to your developer and hosting provider.
It is written for founders, business owners, managing directors and non-technical decision-makers who are responsible for a company website, online store or web application. You do not need to configure a firewall yourself. You do need to know which questions to ask and which decisions belong to you.
Why website security is a business risk, not an IT detail
A breach puts customer data, payment flows, uptime, search visibility, reputation and legal standing at risk at once. Attackers rarely pick targets by size. They run automated tools that scan for known weaknesses, so a small site is as exposed as a large one.
Verizon's 2026 Data Breach Investigations Report found that 31% of breaches began with vulnerability exploitation and 13% with credential abuse. In the 2025 report the figures were 20% and 22%. The datasets differ in size, so read this as a direction of travel, not an exact measure.
What a breach actually costs a business
Costs include downtime, lost sales, recovery work, search warnings, lost customer trust and possible exposure under data protection law. Ransomware featured in 48% of breaches in the 2026 report, up from 44%, though Verizon notes payouts are shrinking and many businesses choose not to pay. The 2025 report found ransomware in 88% of SMB breaches, against 39% at larger organisations.
Who is responsible for what
Security is shared between three parties. Confirm in writing who handles each of these:
- Owner: accounts, access decisions and approving the budget.
- Developer: secure code, updates and fixes.
- Host: server protection, backups and infrastructure.
Gaps between these roles are where incidents begin.
Know what you own before you try to protect it
A website is more than one server. It is a chain of accounts, services and code, and you cannot secure what nobody has listed. Start a simple inventory and record the following for each item: who owns it, who has access and when it was last updated.
- Domain registrar account and DNS provider
- Hosting and server access
- CMS or framework, plus plugins and libraries
- Third-party scripts such as analytics, chat and ads
- Payment provider and email service
- Code repository and admin accounts
The weak points are usually the forgotten ones: a staging site left online, an old plugin, or a former supplier's login that was never removed.
Domain and DNS: the account people forget
Domains are often registered under a former employee's or developer's email address. Nobody checks the account until a renewal lapses or someone takes it over. Whoever controls DNS controls where your website and email point, so keep these accounts under a company address with named owners.
Third-party code and suppliers
Every script and supplier extends your attack surface. In the 2025 report, Verizon's DBIR (opens in a new tab) found that around 30% of breaches involved a third party or supplier. For each script, ask what it does and what data it can reach, then remove those you no longer use.
Control access: passwords, multi-factor authentication and permissions
Credential abuse was still the entry point for 13% of breaches in the 2026 DBIR and 22% in the 2025 DBIR. The OWASP Top 10:2021 ranks A01 Broken Access Control first and includes A07 Identification and Authentication Failures. See OWASP Top 10:2021 (opens in a new tab). Access is where many incidents start.
Use a password manager so every account has a long, unique password. Then turn on multi-factor authentication (MFA) for admin, hosting, domain registrar, email, code repository and payment accounts. Start with email, because a hijacked inbox can reset every other password.
Apply least privilege: each person gets a named account with only the access the job needs. No shared logins, so every action can be traced. Give contractors time-limited access that expires when the work ends.
Roles that match the job
Typical roles include editor, store manager, developer and administrator. An editor publishes content, a store manager handles orders and products, a developer works on code and deployment, and an administrator controls users and settings. Few people need full admin rights. Each extra administrator is another account an attacker can target.
Offboarding: the access you forget to remove
On the day someone leaves, remove or review:
- CMS accounts
- Hosting and cloud accounts
- Domain registrar
- Code repository
- Email and aliases
- Analytics
- Payment dashboard
- Shared tools, plus any shared passwords they knew
Keep software patched and remove what you do not use
Patching is now the leading way in. In the 2026 DBIR, 31% of breaches began with vulnerability exploitation. Verizon also analysed more than 1 billion vulnerability detection records and found that 35% of instances of vulnerabilities on CISA's Known Exploited Vulnerabilities (KEV) list were still open 28 days after detection, according to this analysis (opens in a new tab).
Everything in your stack needs updates: CMS core, themes, plugins, libraries and server software. OWASP lists this under A06 Vulnerable and Outdated Components and A05 Security Misconfiguration (opens in a new tab). For the technical detail, read Common Website Security Vulnerabilities and How to Prevent Them.
A simple update routine
- Apply security updates within days, not months.
- Test on a staging copy first.
- Name one person responsible.
- Automate where safe with deployment pipelines and dependency alerts.
- Use monitoring and alerting to catch problems early.
Why unused plugins and old pages are a liability
Code you do not use still gets attacked, and nobody is watching it. Delete unused plugins, abandoned sites and old test environments. Know your dependencies, including the libraries your developers pull in, so you can tell quickly whether a newly announced flaw affects you.
Protect data in transit and in storage: HTTPS, payments and sensitive data
What the padlock does and does not tell you
HTTPS encrypts traffic between a visitor and your server, using a TLS certificate. Certificates expire, and renewals can fail silently, so assign an owner and set an alert. A padlock only proves the connection is encrypted. It says nothing about whether the site is safe. For the mechanics, read How SSL Certificates Work and Why They Matter for Trust.
Collect less, store less
Data you never collect cannot be stolen. Ask only for what the business needs and delete what it no longer uses. Never handle raw card data yourself. Use a reputable payment gateway or hosted checkout, so card numbers never touch your server.
For the data you keep, encrypt it at rest and restrict database access to the accounts that need it. OWASP lists Cryptographic Failures (opens in a new tab) as A02 in its Top 10. Keep secrets such as API keys and passwords out of code repositories. The 2025 Verizon DBIR highlighted leaked secrets in repositories as a route into third-party breaches.
A web application firewall and security headers add useful layers. They are not substitutes for patching.
Backups and recovery: the control that decides how bad an incident gets
Ransomware was involved in 48% of breaches in the 2026 DBIR, according to Help Net Security's summary of the findings (opens in a new tab). Verizon also notes that ransom payouts are shrinking (opens in a new tab) and that many businesses choose not to pay. A tested backup is what makes that choice possible.
What a good backup looks like
- Files and database. Back up both. Uploads and code without the database leave you with an empty shell.
- Away from the server and its login. If an attacker can reach the server, they can reach copies stored beside it.
- Several restore points. Quiet corruption can go unnoticed for days, so keep older versions as well as last night's.
- The 3-2-1 rule. Common practice is three copies, on two types of media, with one off-site.
Ask your host what it actually backs up and how long it keeps copies. Many plans exclude databases or keep only a few days.
Test the restore, not just the backup
A backup you have never restored is an assumption. Run a restore on a test environment, check the site works, and time it.
Then agree two numbers with your developer or host. The recovery point is how much data you can afford to lose, such as one hour of orders. The recovery time is how long you can be offline. These figures set the backup frequency and the budget.
Build security into the project: hosting, development and monitoring
Security costs least when it is decided at the start. Put it in the brief: user roles, authentication, data protection, logging and hosting. Our guide to writing a software requirements document shows where these belong.
Ask developers to use the OWASP Top 10 (opens in a new tab) as a baseline checklist. Three items matter most to owners: A01 Broken Access Control (people reaching data they should not see), A04 Insecure Design (flaws planned in before any code is written) and A09 Security Logging and Monitoring Failures (no record of what happened).
For hosting, keep staging and production separate, restrict server access, automate deployments and set uptime alerts. For custom or integrated systems, secure API connections and rotate keys on a schedule. Zero One Creation works in these areas through Cloud and DevOps, covering server management and deployment automation, and Technology Consulting, covering architecture.
Questions to ask your developer or host
- Who applies updates, and how often?
- How are backups tested?
- How is access removed when someone leaves?
- What is logged, and for how long?
- Where is our data stored?
- How are passwords and API keys handled?
- What is the process if an incident occurs?
Why logging matters
Without logs, you cannot tell what happened, when it started or which data was touched. That makes recovery slower and any required notification guesswork.
If something goes wrong: a first-response plan
Write the plan before you need it. Name an incident lead and keep current contact details for your host, developer, payment provider and legal adviser somewhere that does not depend on the affected website.
The first hour
- Contain. Take the site offline or into maintenance mode, change credentials and revoke tokens and API keys.
- Preserve evidence. Save logs and copies of affected files before anything is cleaned up.
- Assess. Establish which data and systems were touched.
- Restore. Rebuild from a clean backup only after the entry point is closed, or the attacker returns.
- Notify. Tell the people who need to know.
Be honest with customers about what happened and what they should do. Data protection laws, such as GDPR in Europe and the DPDP Act in India, may require notifying regulators or affected people. Take legal advice and check the rules in each market where you operate.
Review and rebuild trust
Once the site is stable, run a short review: how the attacker got in, what must change and who owns each fix. Record it and revisit it in a month to confirm the work is done.
If you want help planning secure web architecture or hosting, visit Zero One Creation.
Frequently Asked Questions
Yes. Attackers usually scan the internet for known weaknesses, such as outdated software or exposed login pages, and do not choose victims by company size. A small site with an unpatched plugin is as easy to find as a large one, and it is often less closely monitored.
No. A certificate enables HTTPS, which encrypts the connection between the visitor and your server. It does not protect against weak passwords, outdated software, insecure code or a compromised admin account, so it is one control among many.
Apply security updates as soon as you reasonably can, ideally within days of release, after testing them on a staging copy where the site is complex. Review the full software inventory on a regular schedule, such as monthly, and make one named person responsible. Remove anything you no longer use rather than keeping it updated.
Match the frequency to how often your data changes. A brochure site may need a daily or weekly backup, while an online store taking orders may need much more frequent database backups. Keep copies off the server, hold several restore points and test a restore so you know it works and how long it takes.
A web application firewall can block common attack patterns and add a useful layer, especially for e-commerce sites and applications handling sensitive data. It does not replace patching, strong access control or secure code. Ask your developer or host whether one suits your risk and budget.
All three share it, which is why roles need to be agreed in writing. The host usually secures the server and infrastructure, the developer secures the code and configuration, and you are responsible for access, decisions, suppliers and data you collect. Gaps appear when each party assumes another is covering a task.
Contain the problem first. Change passwords, revoke suspicious access and, if needed, take the site offline or into maintenance mode. Preserve logs and evidence, contact your developer and host, and take legal advice on any duty to notify customers or regulators before you restore from a clean backup.



