Skip to content
Mohammad Emmon Mohammad Emmon.

SSL and Payment Security: What TLS Covers, the Gaps, and Fixes in Dubai

14 min read By Mohammad Emmon
SSL padlock shown as only one layer of online payment security

Quick answer

SSL only encrypts data travelling between the customer's browser and your server. It does not stop malware, payment skimmers or hacked plugins on the site itself. To protect payments, you also need a hosted payment gateway, regular updates, a firewall, strong admin logins, file monitoring on checkout pages and regular security scans.

On this page

An SSL certificate protects your customers' data while it travels between their browser and your server, and it makes no promise at all about whether the page doing the asking is honest. That is the gap, and it is why a hacked store shows the same padlock as a clean one.

TLS, the protocol behind the padlock, does three specific jobs. MDN describes them as encryption, so data "can't be read by any attackers" in transit, integrity, so "an attacker can't secretly modify data (without detection) while it is in transit between client and server", and authentication, so the server can prove it is the server it claims to be. All three are real and all three are about the journey.

Customers struggle with this because the padlock was marketed to them as a trust badge. It became shorthand for "safe to buy here", and it never meant that. Sucuri analysed a credit card skimmer in March 2025 that ran on a checkout page and captured "the credit card number, expiration date, security code, and all billing information" before the form was ever submitted. The certificate worked perfectly throughout. This article covers what TLS actually protects, the six gaps it leaves, and the six things that belong alongside it.

What Does an SSL Certificate Actually Protect?

An SSL certificate protects the connection, not the content. It proves your server's identity to the browser and encrypts what passes between them.

The system works by establishing an encrypted channel before any page data moves. The browser checks the certificate, confirms it was issued for your domain by an authority it trusts, and then encrypts everything in both directions.

That stops a specific and serious attack: somebody sitting between your customer and your server, on a café network or a compromised router, reading or altering what passes. Before HTTPS was standard, that attack was trivial. It is now the one thing you can stop worrying about.

What Does TLS Encrypt, and Between Which Two Points?

TLS encrypts data between the customer's browser and your server, and only between those two points.

Both ends sit outside that protection. If the browser is compromised, TLS does not help. If your server is compromised, TLS delivers the attacker's page with a valid padlock and full encryption.

MDN also notes two narrower limits worth knowing. "Client authentication, in which the client proves who they are to the server, is rare on the web outside some specialized applications", so the certificate proves your identity to the customer and not theirs to you. And with HSTS enabled, downgrade attacks are "prevented except for the first time the browser tries to connect to your site", which leaves a first-visit gap.

What Does Payment Security Need Beyond TLS?

Payment security needs integrity at both ends and control over everything that runs on the page. TLS gives you a safe pipe and says nothing about what you pour into it.

Three questions sit outside the certificate entirely. Is the code on my checkout page the code I put there? Is every third-party script on that page still the script I approved? Can card data be read before it enters the pipe?

That last question is the one that matters most, because a skimmer answers it in the attacker's favour. Encryption protects data in transit, and a skimmer takes it before transit begins.

There is also a layer question. A firewall filters requests before or as they arrive, which is a different job again from encrypting them, and where a firewall sits in the request path explains how those layers stack.

What Are the Gaps SSL Leaves Open?

There are six gaps, and none of them is a flaw in TLS. They are jobs it was never designed to do.

1. A Compromised Server Serving Malicious Pages Over HTTPS

If an attacker controls your site, TLS encrypts and authenticates their work exactly as faithfully as yours.

The certificate says "this really is the server for your-store.com." It says nothing about whether that server is currently serving a phishing page, a redirect or a skimmer. Sucuri found at least one backdoor on 49.21% of compromised sites, and every one of those sites could hold a valid certificate.

2. Mixed Content on an Otherwise Secure Page

Mixed content means an HTTPS page loading some resources over plain HTTP, and MDN is explicit about the consequence: "Mixed content is unsafe because the subresources don't get the protection that HTTPS offers, so an attacker can not only read them but potentially also modify them."

Modify is the dangerous word. A script loaded over HTTP on your checkout page can be swapped in transit for a different script.

3. Third-Party Scripts You Load on Purpose

Every script you deliberately add to your checkout runs with the same access to the page as your own code: analytics, chat widgets, ad pixels, heatmaps, testing tools.

TLS secures their delivery and vouches for nothing about their behaviour. If the provider is compromised, you serve their compromise over a perfect HTTPS connection.

MDN names this directly when describing Subresource Integrity: if an attacker gains control of a third-party host "they can inject arbitrary malicious content into its files (or replace the files completely). This is referred to as a supply chain attack."

4. A Skimmer Reading the Form Before Encryption Happens

This is the gap that defeats intuition, and it is the one that costs stores real money.

A skimmer in the page reads the card number out of the input field as the customer types. The submission that follows is encrypted flawlessly. The theft already happened, in plaintext, inside the browser.

Sucuri's March 2025 case did exactly this on a checkout page, collecting the card number, expiry, security code and billing details, then exfiltrating them "using a fake image request". How to find both kinds of skimmer is covered in a skimmer reading the form.

5. Stolen Admin Credentials Used Correctly

A login with the right password over HTTPS is a legitimate login as far as every layer of your stack is concerned.

TLS has no opinion about who is holding the password. Neither does your certificate, your host or your firewall. Sucuri found malicious admin users in 55% of database-infected sites, and all of them logged in over HTTPS.

6. The First Connection Before HSTS Applies

HSTS tells browsers to use HTTPS for your domain in future, which closes the downgrade gap for return visits.

MDN notes the limit: protection applies "except for the first time the browser tries to connect to your site", and again once an HSTS record expires. It is worth enabling and it is not absolute.

Why Does the Padlock Still Appear on a Hacked Site?

The padlock appears because it is answering a different question from the one your customer thinks they asked.

The question it answers is "is this connection encrypted and is this server really who it says it is." The question customers believe it answers is "is this site safe to give my card to." A compromised store satisfies the first completely and fails the second entirely.

This problem happens when a store owner treats their certificate as the security budget. They see HTTPS, assume payments are covered, and never audit the scripts on the checkout page or the accounts that can edit it.

There is a second-order effect worth knowing. Google's Safe Browsing warnings and the browser padlock are unrelated systems, so a site can hold a valid certificate while Google separately flags it as deceptive. The browser-label side of that confusion is covered in a "Not Secure" warning in the browser, which deals with certificate problems rather than payment gaps.

What Should Sit Alongside Your Certificate?

There are six things, and the first two cover most of the risk for most stores.

1. Payment Fields Hosted by the Provider

Keep card entry inside your payment provider's own hosted fields, iframe or redirect, so card data never passes through your server or your page's own form.

This is the single highest-value decision available, because it shrinks the worst case dramatically. A skimmer on your page cannot read a field your page does not own.

WooCommerce's documentation confirms the baseline, stating that "your customer's credit card number and security code are never stored on your website." Hosted fields extend that from storage to capture. This is also much cheaper to decide at build time than to change later, which is the argument in payment fields decided at build time.

2. A Script Inventory on the Checkout Page

Keep a written list of every script that should load on your checkout, and compare the live page against it monthly.

This is now a compliance matter as well as a security one. Under the current PCI DSS SAQ A eligibility criteria, effective 31 March 2025, payment page elements must come only from PCI DSS compliant third-party providers and the merchant must confirm the site is not vulnerable to malicious scripts.

The practical version of this check sits in a script inventory on the checkout page, where it is the second item on the list.

3. Subresource Integrity on Third-Party Scripts

Subresource Integrity is the browser feature built for exactly the third-party problem. MDN describes it as "a security feature that enables browsers to verify that resources they fetch (for example, from a CDN) are delivered without unexpected manipulation."

You add an integrity attribute containing a cryptographic hash of the file you approved. MDN lists the allowed prefixes as sha256, sha384 and sha512, and cross-origin use requires CORS.

The behaviour is binary and that is what makes it valuable. If the file's hash does not match, the browser "will refuse to load the resource, and return a network error." A swapped script simply does not run.

4. HSTS and Consistent HTTPS

Enable HSTS and serve every page over HTTPS with no mixed content anywhere.

Mixed content is the specific thing to hunt, because MDN says those subresources lose HTTPS protection and can be modified in transit. One HTTP script on a checkout page undoes a lot of careful work.

5. Two-Factor on Every Admin Account

Put two-factor authentication on every account that can edit the site, not just yours. Shop manager accounts can see your full order list.

This closes gap five, which TLS cannot touch at all. It costs nothing: Wordfence's free tier includes two-factor authentication, passkeys and a login CAPTCHA.

6. File and Database Change Monitoring

Watch for changes to your theme and checkout template files, and for code appearing in database options where settings belong.

Both halves matter because skimmers use both. Sucuri documented a server-side skimmer whose payload lived in a plugin's option row in wp_options rather than in any file, which a file-only check would never see.

What Do Customers Think the Padlock Means?

Customers think the padlock means the site is trustworthy, and that belief is your commercial problem rather than their mistake.

It cuts two ways. A site without HTTPS loses sales, because browsers label it and customers back out. A compromised site with HTTPS keeps the badge, which means your customers have no visible warning and you lose nothing until the fraud reports start.

So the padlock is a floor rather than a differentiator. Every competitor has one. Nobody gets credit for it, and nobody gets warned by its presence on a store that has been breached.

The honest position for a store owner is to treat HTTPS as table stakes and put the actual effort into the six items above. What a breach then exposes, and what you owe your customers if it happens, is covered in what a breach actually exposes.

How Do You Check Your Own Payment Path?

You can check the whole path yourself in under half an hour, free, and the checks run in a sensible order.

Start by confirming where card entry actually happens. Ask your payment provider whether their integration keeps card fields on their side, and then look at your own checkout to confirm it matches.

Then list every script on the checkout page and name the owner of each one. Anything you cannot account for is a question, not a curiosity.

Next, hunt mixed content. Load the checkout and look for any resource requested over HTTP rather than HTTPS, because MDN's warning applies to every one of them.

Then count the fields on the billing form against what your provider says they render, and watch where the page sends data during a test order. Finally, check your admin user list and confirm two-factor is on for all of them.

Finding nothing is good news with a caveat. These checks cover the client-side path well and reach server-side code barely at all, which is the limit worth knowing before you declare the path clean.

How Much Does Payment-Path Hardening Cost in Dubai?

Most of this costs nothing but attention. Two-factor authentication is free in Wordfence's free tier. A script inventory is a document. Subresource Integrity is an attribute on a tag. Mixed content is a fix rather than a purchase. Hosted payment fields are usually a configuration choice your provider already supports.

What costs money is the work around them: auditing a checkout nobody has reviewed, fixing mixed content across a large site, implementing hosted fields on a custom checkout, or setting up monitoring that watches files and database options rather than just uptime. The published security market for ongoing cover runs 229 to 549 USD per year on platform subscriptions, read in the first week of October 2026.

I do not publish a fixed rate, because the honest scope depends on how your checkout is built and what is already in place. For the full market picture, what website security services cost in Dubai sets out the price bands, and what payment-path hardening includes covers the service side. If you are about to build or rebuild, getting this right at the start is far cheaper, and a build that gets this right from the start covers what that involves. What a store gets back from that work, in orders kept and trust protected, is set out in the benefits of WordPress security services. For the bigger picture of how a certificate fits among the other layers, what website security actually means sets out where SSL sits and what it leaves to everything else.

Payment Security in Dubai by Mohammad Emmon

How Mohammad Emmon Secures a Payment Path

I start by asking where the card data actually goes, because that one answer decides how much the rest matters. If card entry sits inside your provider's hosted fields, your worst case is already much smaller than you think.

Then I work the page itself. Every script on the checkout gets a named owner or gets removed. Mixed content gets fixed. Third-party scripts get integrity hashes where the provider supports them. Admin accounts get two-factor. Theme files, checkout templates and database options go under change monitoring, because skimmers use all three.

If something is already running, the order changes. Clean it, close the entry point that let it in, then harden. Hardening a payment path on top of an active compromise protects the attacker as much as the customer, and it is the mistake I see most often on stores that have had a certificate installed and called it done. That honesty about order is what you should expect from a WordPress security expert in the UAE.

Dubai and UAE E-Commerce Coverage

I work with online stores across Dubai and the wider UAE, alongside hospitality, retail and professional services clients. The padlock assumption is near universal among Dubai SMEs, and the checkout script inventory is the single check almost nobody has run. The local detail is on my pages for WordPress security in Dubai and WordPress security in Abu Dhabi.

All the work is remote, so nothing waits on travel or appointments. Clients in the UAE, UK, USA, Canada and Australia get the same approach and the same written finding at the end.

Get a Free Security Check from Mohammad Emmon

The free security check includes the payment path: where card data goes, what loads on your checkout, whether you have mixed content, and whether anything is already sitting where it should not be. You get a written finding rather than a note saying your certificate is valid.

Message me on WhatsApp or book a call, whichever is easier. If a customer or your bank has already raised card fraud, say so first and I will treat it as urgent. Contact Mohammad Emmon today for a free security check and find out what your padlock is not covering.




Free security check

Worried your site is infected?

Get a free security check — I'll tell you if your WordPress site is compromised and exactly what it needs. No obligation.

Related

Take it further.

Mohammad Emmon

Written by

Mohammad Emmon

WordPress Malware Removal, Security, Ongoing Security Monitoring And Website Development

I'm a WordPress malware removal and security specialist — I've cleaned and secured over 10,000 sites. Once a site is safe, I can also build, run and automate the whole thing. Based in Dhaka, working worldwide.

  • 15,000+ sites secured
  • 745+ businesses
  • 96% come back

Worried about your site?

Think your WordPress site is hacked? Let's check it.

Google Business Profile

Find me on the map

Open in Google Maps