Open to Head of IT & IT Manager roles worldwideDhaka, BD ·

· 4 min read

Why every hospital patient portal in Bangladesh needs a Web Application Firewall

Patient portals, online reports and appointment systems are now prime targets. Here is how a WAF protects them, how to choose one, and how to roll it out without breaking clinical services.

Five years ago, most hospital systems in Bangladesh sat inside the building. Today patients book appointments online, download lab reports from a portal, pay through mobile financial services and chat with a help desk. That’s a huge improvement in service. It also means your most sensitive data is now one URL away from the entire internet.

A traditional network firewall doesn’t protect a web application from attacks that arrive as normal-looking web traffic. That is the job of a Web Application Firewall (WAF).

What a WAF actually does

A WAF sits in front of your websites and APIs and inspects every HTTP/HTTPS request before it reaches your servers. It blocks:

  • SQL injection, where an attacker tries to pull patient records straight out of the database.
  • Cross-site scripting (XSS), where malicious scripts are injected into pages that patients or staff open.
  • Credential stuffing and brute force, where leaked passwords are tried against your portal login.
  • Bad bots and scrapers harvesting reports, doctor schedules or pricing.
  • Application-layer DDoS, floods of requests that take your portal offline during peak hours.
  • Exploits of known vulnerabilities in your CMS, frameworks or plugins, often blocked by virtual patching before you can update the code.

Why healthcare in Bangladesh is especially exposed

  • High-value data. Medical records, national ID numbers, phone numbers and payment details are valuable to criminals.
  • Many web-facing systems. A corporate site, patient portal, report download, online payment, doctor apps and partner APIs mean many doors to guard.
  • Legacy code. Many portals were built quickly by vendors and are rarely patched. A WAF buys time.
  • Public trust. A leaked report or defaced website quickly becomes national news and damages patient confidence.
  • Regulatory pressure. Bangladesh’s cybersecurity and data-protection rules keep evolving, and organisations are expected to show reasonable safeguards.

Choosing a WAF: three deployment models

1. Cloud WAF (reverse proxy / CDN-based)

Traffic goes through the provider’s global network before reaching your servers.

  • Pros: Fastest to deploy (often just a DNS change), absorbs large DDoS attacks, no hardware, global performance boost.
  • Cons: Traffic passes through a third party. Check data-handling terms, and whether that is acceptable for your data.

2. Appliance or virtual WAF (on-premises / in your data centre)

A dedicated device or VM in front of your web servers, offered by many next-generation firewall and application-delivery vendors.

  • Pros: Full control, traffic stays local, integrates with your existing security stack.
  • Cons: You manage capacity, updates and tuning. It can’t absorb a very large volumetric DDoS by itself.

3. Hybrid

Cloud WAF and DDoS protection at the edge, plus an on-prem WAF or firewall policies for internal and sensitive applications. For most multi-branch healthcare groups, this is the right answer.

A rollout plan that won’t break clinical services

The biggest risk with a WAF is not attackers. It’s blocking legitimate users, such as a doctor who can’t upload a report or a patient who can’t pay. Roll out carefully:

  1. Inventory every web application and API. Include the forgotten ones: old test servers, vendor admin panels, mobile app back-ends.
  2. Start in monitor (detect-only) mode for 2–4 weeks. Let the WAF learn normal traffic and log what it would block.
  3. Tune false positives. Large file uploads (DICOM images, PDFs), long report text and special characters in Bangla names often trigger generic rules. Whitelist carefully, never globally.
  4. Switch to blocking in stages. Begin with high-confidence rules (SQLi, XSS, known exploits), then add bot management, rate limiting and geo-policies.
  5. Protect logins specifically. Add rate limits, bot challenges and alerts for credential stuffing on patient and staff login pages.
  6. Lock down the origin. Only accept web traffic from the WAF, so attackers can’t bypass it by hitting your server’s IP directly.
  7. Integrate logging. Send WAF events to your SIEM or monitoring platform, and review the top blocked attacks every week.

A WAF is not a substitute for secure software

A WAF is a seatbelt, not a better driver.

Keep doing the fundamentals:

  • Patch your CMS, frameworks and servers on a schedule.
  • Use strong authentication, including multi-factor authentication for staff and administrators.
  • Run vulnerability scans and periodic penetration tests on every public application.
  • Encrypt data in transit (TLS everywhere) and at rest.
  • Hold vendors to secure coding requirements in contracts.

The business case in one paragraph

A WAF costs far less than a single serious breach: the downtime, forensic investigation, regulatory exposure and, above all, the loss of patient trust. For any healthcare provider in Bangladesh that runs a patient portal, online reports or payments, a WAF is no longer optional. It’s basic hygiene.


Securing a patient portal or hospital website? I’m happy to compare notes. Let’s talk.