HTTPS Is Not Enough: What Makes a Website Truly Secure?
A lot of site owners finish installing an SSL certificate, see the padlock appear in the address bar, and decide the security job is done. Visitors do the same thing from the other side: they spot the lock and assume the site is safe. Both groups are working from an idea that was reasonable a decade ago and is dangerous now.
HTTPS matters, and no serious site should run without it. But it covers one narrow piece of website security. This article explains what that piece is, where it stops, and what a site needs on top of it before you can fairly call it secure.
What HTTPS actually does
HTTPS is the secure version of HTTP. It uses TLS (Transport Layer Security, the successor to the old SSL protocol) to do two things. It encrypts the data moving between a visitor's browser and the web server, so nobody on the same Wi-Fi network or along the route can read it. It also lets the browser check that it has reached the server the certificate was issued for.
That is the whole contract. Encryption in transit and a verified server identity. Nothing in it says the site's owner is honest, the code is free of bugs, the server is patched, or the database is protected. A certificate vouches for the connection, and the connection is only one link in a long chain.
Browsers have been moving in this direction for years. Chrome dropped its "secure" label for HTTPS pages and started marking plain HTTP pages as "not secure" instead. The change was meant to treat encryption as the normal baseline, which is why the padlock now says very little about the page behind it.
The padlock problem: attackers use HTTPS too
Certificates are cheap, and many are free. That is good for the web and good for criminals. Anyone can register a look-alike domain, obtain a certificate in minutes, and serve a fake login page with a perfectly valid padlock.
The numbers bear this out. The Anti-Phishing Working Group reported that around 80 percent of phishing sites used SSL certificates in the second quarter of 2020, and about 91 percent of the certificates involved were basic domain-validated ones, which check control of a domain and nothing about who runs it. By the fourth quarter of 2020, roughly 84 percent of phishing attacks that arrived by email led to sites protected by HTTPS. The FBI had already warned the public in 2019 that the padlock should not be treated as proof a site is trustworthy.
There is a second route that makes the padlock even less useful. Phishing pages are often hosted on legitimate platforms such as document-sharing services or code-hosting sites, and they inherit that platform's genuine certificate. The lock is real. The page is still a trap.
So for visitors, the padlock answers "is this connection private?" and leaves "is this site honest?" unanswered. For site owners, it means your certificate is no longer a trust signal on its own. You have to earn trust with the rest of your security.
What HTTPS cannot protect
Think of HTTPS as an armored van moving cash between two buildings. The van is solid. It does nothing about a thief inside the building, a guard who leaves the vault open, or a clerk who writes the combination on a sticky note.
Here is what sits outside HTTPS's reach.
Server compromise. If an attacker breaks into your server or hosting account, the encrypted connection to visitors is irrelevant. They are already inside.
Data stored in plain text. Encrypting data while it travels does not help if passwords or personal details sit unprotected in a database that later leaks.
Application bugs. SQL injection, cross-site scripting and broken login logic all work over perfectly valid HTTPS connections.
Malicious content from third parties. A compromised analytics script or advertising widget loads over HTTPS like everything else.
DNS hijacking. If an attacker redirects your domain to another server, visitors can land on a convincing copy before any certificate check helps them.
Misconfigured TLS. Old protocol versions or weak settings can leave the connection weaker than it looks.
On that last point, the practical guidance is straightforward: use TLS 1.3 where you can, and disable SSL, TLS 1.0 and TLS 1.1.
Security headers: cheap protection many sites skip
Security headers are short instructions your server sends along with each page. They tell the browser how to behave, and they cost almost nothing to add. Yet many sites ship them half configured or leave them out entirely. The modern core set is small.
HTTP Strict Transport Security (HSTS). This tells browsers to only ever contact your site over HTTPS and to upgrade any HTTP attempt automatically. It closes the gap where an attacker strips the secure connection on a visitor's first request, the classic SSL stripping attack. A common value is a one-year max-age with subdomains included, and a redirect from HTTP to HTTPS is not a replacement for the header itself.
Content Security Policy (CSP). CSP is an allowlist of where scripts, styles, images and frames may load from. A well-built policy limits the damage of cross-site scripting and also helps you catch mixed content, where an insecure resource sneaks into a secure page. Roll it out in report-only mode first, watch what would break, and then enforce it. Strict policies built on nonces or hashes hold up better than long lists of trusted hosts, which attackers can sometimes bypass.
X-Content-Type-Options. Setting this to nosniff stops browsers from guessing a file's type, which closes off a family of content-confusion tricks.
Referrer-Policy. This limits how much of your URLs leaks to other sites when a visitor clicks away.
Permissions-Policy. It restricts access to features such as the camera, microphone and location, so embedded content cannot use them without your say.
Cookies deserve the same attention. Session cookies should carry the Secure and HttpOnly flags, so they travel only over HTTPS and cannot be read by page scripts. Some of these controls, like framing rules and CSP reporting, only work as real HTTP headers, not as meta tags in the HTML, so set them at the server or edge.
After deploying, open your browser's developer tools, check the response headers on an actual page, and confirm they are present. A header you assume is set but never verified is worth nothing.
Application security: what the OWASP Top 10 2025 tells us
The most useful public map of where web applications actually fail is the OWASP Top 10. The 2025 edition is the eighth release and the first major update since 2021, built on analysis of more than 175,000 CVE records. Its rankings tell a story that HTTPS cannot touch.
Broken access control stays in first place. That means users reaching data or actions they should not be allowed to reach, such as changing an ID in a URL and seeing someone else's account. Server-side request forgery was folded into this category in the new list.
Security misconfiguration jumped from fifth place to second. Default passwords, open storage buckets, verbose error pages and missing headers all live here. One analysis noted that every application in the tested data showed some form of misconfiguration, which says how common the problem is.
Software supply chain failures entered as a new category at third. Modern sites pull in dozens or hundreds of third-party packages, plugins and scripts, and any of them can carry a flaw or a deliberate backdoor.
Further down, security logging and alerting failures remain on the list, and a new category covers mishandling of exceptional conditions, where errors leak data or cause a system to fail open instead of failing safe.
The pattern across the list is that most serious weaknesses come from configuration, code and process, not from the network layer. A site can have flawless TLS and still fall to any of them.
Keep software, plugins and dependencies current
Outdated software is the easiest way in for attackers, because known flaws come with public exploit instructions. If you run a content management system, treat updates to the core, themes and plugins as routine maintenance, not an occasional chore. Remove plugins you no longer use. Each one is extra code you have to trust.
For custom applications, track your dependencies. Use an automated scanner that flags packages with known vulnerabilities, pin versions deliberately, and review what you install. The rise of supply chain failures in the OWASP list is a direct warning about this.
Strong authentication and sensible access control
Most breaches involve stolen or weak credentials somewhere. A few habits reduce that risk a great deal.
Require multi-factor authentication for admin accounts and anyone with access to sensitive data.
Enforce long, unique passwords and encourage a password manager.
Give each person the minimum access their job needs, and remove accounts when people leave.
Check permissions on the server for every request. Hiding a button in the interface is not access control.
Limit login attempts and watch for unusual sign-in patterns.
Passwords themselves should be stored only as salted hashes made with a slow, purpose-built algorithm, never in plain text and never encrypted in a way you can reverse.
Monitoring, logging and backups
Security is partly about how fast you notice a problem. Keep logs of logins, errors and administrative actions, and send them somewhere an attacker who gains access to the server cannot quietly erase them. Set alerts for events that should be rare, such as many failed logins, new admin accounts or unexpected file changes.
Backups are your safety net when prevention fails. Keep them automatic, store copies away from the main server, and test a restore at least occasionally. A backup you have never restored is a hope, not a plan.
A web application firewall can add another layer by filtering known attack patterns before they reach your code. It helps, but it works best as a supplement to fixing the underlying flaws, not a substitute for it.
A practical website security checklist
Use this as a starting audit for your own site.
1. HTTPS on every page, with TLS 1.3 enabled and old protocols disabled.
2. HSTS set and verified in the response headers.
3. A Content Security Policy deployed, starting in report-only mode.
4. nosniff, Referrer-Policy and Permissions-Policy set.
5. Session cookies flagged Secure and HttpOnly.
6. Server, CMS, plugins and dependencies updated on a schedule.
7. Multi-factor authentication on all admin and privileged accounts.
8. Access checks enforced on the server for every sensitive request.
9. Passwords stored as salted hashes, and sensitive data encrypted at rest.
10. Logging and alerting turned on, with logs stored away from the web server.
11. Automated, off-server backups with tested restores.
12. Regular vulnerability scans and, for important sites, an occasional penetration test.
How visitors can judge whether a site is safe
If you are on the visiting side, treat the padlock as the minimum, not the verdict. Read the full domain name carefully, since look-alike spellings are the standard trick. Be wary of links that arrive by email or text, and type the address yourself or use a bookmark for banking and shopping. A password manager helps here, because it will refuse to fill in a password on a domain it does not recognize. Keep your browser and device updated, and use security software that checks sites beyond whether they hold a certificate.
Conclusion
HTTPS earned its place as the starting line of website security. It keeps traffic private and confirms who is on the other end. Everything past that, from headers and patching to access control, monitoring and backups, determines whether the site is actually secure. Treat the certificate as the first item on a list, work through the rest, and keep checking, because security is a habit you maintain, not a switch you flip once.
Frequently asked questions
Is HTTPS enough to make a website secure?
No. HTTPS protects data in transit and confirms the server's identity. It does nothing about vulnerable code, weak passwords, outdated software, stolen credentials or a compromised server. It is a necessary foundation and only that.
Does the padlock mean a website is safe to use?
The padlock means your connection to the site is encrypted. It does not mean the site is legitimate. Most phishing sites now use HTTPS, so a lock on its own should never be your reason for trusting a page.
What is the difference between SSL and TLS?
TLS is the modern successor to SSL. People still say "SSL certificate" out of habit, but current HTTPS connections use TLS, and the old SSL versions should be disabled on your server.
What are HTTP security headers and which ones matter most?
They are instructions your server sends to browsers that control how pages are handled. The most useful are Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, Referrer-Policy and Permissions-Policy.
What does HSTS do?
HSTS tells browsers to connect to your site only over HTTPS and to convert any HTTP request automatically. This protects against attacks that downgrade a visitor's connection to plain HTTP.
What is the OWASP Top 10?
It is a widely used awareness list of the most critical web application security risks, maintained by the Open Worldwide Application Security Project. The 2025 edition lists broken access control first and security misconfiguration second.
How often should I update my website's software?
Apply security updates as soon as you reasonably can, and review your plugins, themes and dependencies on a regular schedule. Critical patches should not wait for the next monthly review.
Do small websites really need all of this?
Attackers scan the internet automatically and do not care how small a site is. Small sites are often easier targets because they skip updates and basic hardening. Most items on the checklist are free or low cost.
Is a web application firewall worth having?
It adds a useful layer by blocking common attack patterns, but it should sit alongside secure code and good configuration, not replace them.
How do I check whether my security headers are set?
Open your browser's developer tools, go to the Network tab, click the main page request and read the response headers. Online header scanners can also grade your setup.
References
Hacksplaining - https://hacksplaining.com/owasp
Mimecast - https://mimecast.com/blog/encryption-is-no-longer-the-hallmark-of-a-secure-webpage
Guardio - https://guard.io/blog/https-padlock-myth-doesnt-mean-safe
F-Secure - https://blog.f-secure.com/5-ways-to-make-sure-a-website-is-secure-and-private
SecurityScorecard - https://securityscorecard.com/?p=11538
Freshman, Securing your website - https://freshman.tech/https-blind-spots/
Tags: HTTPS security, website security beyond HTTPS, SSL/TLS encryption, web application firewall, DDoS protection, security best practices, cyber security