Updated October 2026
Every time someone pays online, logs in or shares personal details, that information travels across the internet and is stored somewhere. Websites that handle money and sensitive data, from online stores and banks to booking sites and online gaming platforms, rely on layers of encryption and security protocols to keep it safe. This guide explains how those protections work in plain English, and what any small business that takes payments or stores customer data should have in place.
Why encryption matters
Table of Contents
Encryption scrambles data so that only someone with the right key can read it. Without it, anyone who intercepted or stole the data could read card numbers, passwords and personal details. With strong encryption, stolen data is useless without the keys.
Security professionals think about data in two states:
- Data in transit: moving between a customer’s device and a website or app.
- Data at rest: stored in databases, servers, laptops and backups.
Good security protects both.
Protecting data in transit: TLS and HTTPS
Transport Layer Security (TLS) is the protocol that encrypts the connection between a browser or app and a website. When a site uses TLS, the address begins with https:// and browsers show a padlock or similar indicator.
What TLS does:
- Encrypts the information sent back and forth, so eavesdroppers can’t read it.
- Authenticates the website using a digital certificate, helping prove you’re connected to the real site and not an impostor.
- Protects integrity, so data can’t be secretly altered in transit.
Modern sites use TLS 1.2 or TLS 1.3; older versions and the even older SSL protocol are considered insecure and should be disabled. Certificates are now widely available at low or no cost, so there’s no reason for any business website to lack HTTPS.
Protecting data at rest
Stored data needs protection too:
- Disk and database encryption using strong, widely tested algorithms such as AES-256 protects data if servers, laptops or backups are stolen.
- Key management keeps encryption keys separate from the data they protect, with limited access.
- Encrypted backups ensure copies are as safe as the original.
Passwords: hashing, not encryption
Responsible websites never store passwords in readable form. Instead, they store a hash: a one-way mathematical fingerprint of the password. When you log in, the site hashes what you type and compares the result. Strong systems use slow, purpose-built password hashing algorithms with a unique random value (a "salt") for each password, which makes stolen password databases far harder to crack.
Protecting payments
Tokenization
Tokenization replaces a card number with a random stand-in value called a token. The business stores and uses the token for things like repeat billing, while the actual card number is held securely by the payment processor. If the business’s systems were breached, tokens would be useless to criminals.
Payment card security standards
Businesses that accept card payments must follow the Payment Card Industry Data Security Standard (PCI DSS), a set of requirements for protecting cardholder data. The current version, PCI DSS 4.0, made additional requirements mandatory from March 31, 2025, including stronger authentication and more regular security checks. Small businesses can reduce their compliance burden significantly by using payment systems that keep card data off their own systems entirely, such as hosted payment pages and tokenization.
Fraud prevention
Payment systems also use fraud screening: checking addresses and security codes, monitoring for unusual patterns, and adding extra authentication steps for risky transactions.
Protecting accounts: authentication
Many breaches start with stolen or guessed passwords. Strong account protection includes:
- Multi-factor authentication (MFA): requiring a second proof of identity, such as a code from an app or a physical security key. MFA blocks the vast majority of automated account takeover attempts.
- Passkeys: a newer passwordless method that uses cryptographic keys stored on your device, resisting phishing.
- Account lockouts and alerts after repeated failed logins or logins from new devices.
- Session timeouts that log users out after inactivity.
How high-security platforms add extra layers
Websites that handle large amounts of money and personal data, including online banking, investment platforms and regulated online gaming sites, typically add further protections:
- Identity verification when opening accounts, including age and identity checks where required by law.
- Independent security audits and penetration tests.
- Certified randomness testing for platforms where fairness depends on random outcomes, such as regulated games.
- Transaction monitoring to detect fraud and money laundering.
- Segregated systems that separate customer funds and sensitive data from other systems.
- Regulatory oversight, with licensing conditions that require specific security controls.
The lesson for any business: the more sensitive the data and the more money involved, the more layers of protection customers expect.
What happens during a secure online payment
Here’s a simplified look at the layers protecting a typical card payment:
- The customer opens the checkout page, and the browser and website set up an encrypted TLS connection.
- The customer enters card details into a payment form, often hosted directly by the payment processor so the business never sees the full card number.
- The details travel encrypted to the processor, which checks them with the card network and the customer’s bank.
- Fraud checks run in the background, and the bank may ask the customer for extra verification, such as a code sent to their phone.
- The payment is approved or declined, and the business receives a confirmation and a token it can use for refunds or repeat billing.
- The card number stays with the processor, protected by strong encryption and strict controls.
Each layer limits the damage if another fails, which is the core idea behind modern security: defense in depth.
If something goes wrong
Even well-protected businesses can face incidents. A basic response plan includes:
- Contain the problem: disconnect affected devices and change compromised passwords.
- Contact your payment processor and bank if payment data or accounts may be affected.
- Bring in help: an IT or security professional, and your insurer if you have cyber coverage.
- Check notification requirements under your state’s breach laws.
- Learn and improve: fix the weakness that allowed the incident.
Cyber insurance can help cover the costs of responding to an incident; ask your insurance agent whether it fits your business.
Data protection laws
In the US, every state has a data breach notification law requiring businesses to notify affected people when certain personal information is exposed. Some states also have broader consumer privacy laws covering how businesses collect and use personal data. Financial businesses, including some non-bank businesses that offer financing, are subject to federal safeguards rules requiring a written security program. Check which rules apply to your business and industry.
A security checklist for small businesses
- Use HTTPS on your entire website.
- Keep software updated: website platforms, plugins, operating systems and apps. See our guide to securing your WordPress site.
- Turn on multi-factor authentication for email, banking, payment, website and cloud accounts.
- Use a password manager and unique passwords for every account.
- Keep card data off your systems by using tokenized, hosted payment solutions.
- Encrypt laptops and phones, and enable remote wipe.
- Back up data regularly, keep a copy offline or separate, and test restores.
- Limit access: give employees only the access they need, and remove it promptly when they leave.
- Train your team to spot phishing emails and fake payment requests.
- Have a response plan for what to do if something goes wrong.
Common threats to watch for
| Threat | How it works | Key defense |
|---|---|---|
| Phishing | Fake emails or texts trick people into revealing logins | Training, MFA |
| Ransomware | Malware encrypts your files and demands payment | Backups, updates, MFA |
| Payment fraud | Fake invoices or changed bank details | Verify changes by phone |
| Credential stuffing | Reused passwords from other breaches are tried on your accounts | Unique passwords, MFA |
| Unpatched software | Known flaws in outdated software are exploited | Regular updates |
Frequently asked questions
Does the padlock mean a website is safe? It means the connection is encrypted, not that the business itself is trustworthy. Scam sites can use HTTPS too, so check who you’re dealing with.
What’s the difference between encryption and hashing? Encryption can be reversed with the right key; hashing is one-way and is used for passwords.
Do small businesses really get targeted? Yes. Attackers often target small businesses because they may have weaker defenses and less time to monitor systems.
Is public Wi-Fi safe for business? Encrypted HTTPS connections protect much of your traffic, but avoid sensitive work on unknown networks when possible, and keep devices updated.
Related reading
See our guides to secure online transactions, securing your WordPress site and small business taxes and bookkeeping.
This article is for general information and is not legal or security advice.
Last reviewed October 20, 2026. Startup costs are estimates; check local prices, licensing and tax rules before you commit money.



Leave a Reply