Skip to main content
Services
Full Stack MarketingWebsite designMedical SEOLocal SEOGoogle Business ProfileSocial media managementBranding & contentPatient acquisitionCRM & follow-upOnline bookingConversion optimizationHealthTech engineeringAI Era: AI integrationsPatient Support System
Who we help
New practicesEndometriosis specialistsPhysical therapistsMental health therapistsDietitiansDentistsMed spasInternational-patient clinicsHealthtech & femtech startups
Locations
United StatesFloridaNew YorkBrooklyn, NYTexasInternationalAustraliaCanadaTürkiye
PricingFree marketing auditAbout usBlogContact
Healthcare Engineering

How to Build a HIPAA Compliant Web Application

A six-step guide to building a HIPAA compliant web application: PHI mapping, hosting, safeguards, trackers, testing, plus what is required today vs proposed.

By MedCare AgencyNovember 17, 2026Updated November 18, 202612 min read
How to Build a HIPAA Compliant Web Application

To build a HIPAA compliant web application, map every place patient data (PHI) flows, run a risk analysis, host on HIPAA-eligible services under signed BAAs, build the Security Rule’s technical safeguards, keep trackers away from PHI, write your policies, then test before launch. No framework or host makes you compliant by itself. Your configuration, contracts and paperwork do.

MedCare Agency is built for exactly this job. It is a growth team that creates secure, HIPAA- and GDPR-ready, multilingual websites for clinics, plus the patient-platform and HealthTech systems behind them: telehealth platforms, pharmacy and clinical integrations, automated booking, dashboards and healthcare AI. It offers a signed BAA, encrypted forms, and US, UK and EU hosting. This guide shows you the steps, so you can build in-house or know what to ask a partner.

What “HIPAA compliant” means for a web app

HIPAA compliance is a set of duties your organization meets. It is not a feature you install. The Security Rule sorts those duties into three groups: administrative safeguards at 45 CFR § 164.308, physical safeguards at § 164.310, and technical safeguards at § 164.312 (HIPAA Safeguards Explained). Your code covers the technical group. The other two are mostly policy, people and vendors.

Do you handle PHI?

If your app creates, receives, stores or sends identifiable health information on behalf of a clinic or health plan, HIPAA almost certainly applies. A clinic is a covered entity. A software company that handles PHI for a clinic is a business associate and needs a BAA with it. Even a form that collects a name plus an appointment request for a medical visit can count, because it ties a person to care. When in doubt, treat it as PHI and ask your counsel.

Why no framework or host is “certified”

There is no HIPAA certification for a framework, cloud or template. One source puts it plainly: neither route is automatically compliant without proper configuration, BAAs, policies and risk assessments (Modelence). Be wary of any vendor who says “certified” and stops there. If you are comparing website tools, see which medical website builders are HIPAA compliant.

The rule is also technology-neutral. It does not name a specific access control method or tool (Federal Register). You choose the methods and must be able to justify them.

Step 1: Map PHI and run a risk analysis

Start on paper. List every screen, form, API, email, file upload, log and third-party script that touches patient data. Draw the path from the browser to the database, and from the database to every vendor.

Then run a risk analysis. The current rule requires a risk analysis and a periodic technical evaluation, and leaves the method open (Invadel). A practical version looks like this:

  1. Inventory data: what you collect, where it lives, who can see it.
  2. List threats: lost laptops, stolen credentials, misconfigured storage, careless staff, vendor failure.
  3. Rate likelihood and impact for each.
  4. Decide what you will fix, and in what order.
  5. Write it down and date it.

Collect less. Every field you skip is a field you never have to protect. Ask whether a booking form truly needs a diagnosis, or whether a visit type is enough.

Step 2: Choose architecture and HIPAA-eligible hosting

Marketing site vs. app or portal

Most clinics should not put everything under one roof. Keep the public marketing site (pages, blog, SEO, analytics) separate from the part that handles PHI (booking, intake, portal, telehealth). The public site can then stay fast and well tracked, while the secure side stays locked down with few scripts and few people.

This split is a decision, not a detail. It shrinks your audit scope and stops marketing tags from reaching patient data. MedCare Agency works this way: a compliant public site, with booking and patient systems connected behind it. For deeper hosting questions, read what your clinic needs from HIPAA compliant hosting.

BAAs with every vendor in the PHI path

Every vendor that stores, processes or transmits PHI needs a signed BAA: host, email, SMS, form tool, chat, video, backup, logging, support desk. Major cloud providers offer BAAs, but only for a defined list of HIPAA-eligible services. Using a service outside that list for PHI is a gap, even on a covered account (Imobdevtech).

Keep a vendor register with the service name, what PHI it sees, the BAA date and the owner. Check it each time you add a tool.

Step 3: Build the technical safeguards (§ 164.312)

There are five technical standards in 45 CFR 164.312: access control, audit controls, integrity, person or entity authentication, and transmission security (Invadel). Here is how each one shows up in a web app.

Access control, unique IDs, roles and auto-logoff

Unique user identification is a Required specification (HIPAA Survival Guide). No shared logins, ever. Then:

  • Give each role the minimum access it needs (front desk, clinician, billing, admin).
  • Block direct object access: check permissions on the server for every record request.
  • End idle sessions after a short, defined time.
  • Have an emergency access plan for when the normal path fails.

Authentication and MFA

Person or entity authentication is a Required standard (CyberSilo). The rule does not name a method, so strong passwords plus MFA is the sensible build. Be accurate about the law, though: MFA is not yet mandated by the Security Rule. It is proposed (see the section on the proposed update below). Build it anyway. It is the single most useful control against stolen passwords.

Encryption in transit and at rest

Encryption at rest (§ 164.312(a)(2)(iv)) and in transit (§ 164.312(e)(2)(ii)) are addressable specifications (HIPAA Safeguards Explained). Addressable does not mean optional. You must implement it, or document why an equivalent measure fits, and in practice that rarely holds up. So:

  • Force HTTPS with modern TLS everywhere, including internal calls.
  • Encrypt databases, file storage and backups.
  • Keep keys in a managed key service, separate from the data, with rotation and limited access.
  • Never put PHI in URLs, query strings or error messages.

Audit logs and integrity controls

Audit controls are hardware, software or procedures that record and examine access and other activity in systems that contain or use ePHI (NIU). It is a Required standard. Log who viewed, created, changed, exported or deleted a record, and when. Keep logs free of the PHI itself, protect them from edits, and review them on a schedule. For integrity, use checksums, input validation and write controls so data cannot be altered without a trace.

Web-specific: sessions, caching, logout, CSP

Many guides are mobile-first and skip the browser. Add these:

  • Sessions: secure, HttpOnly, SameSite cookies; short lifetimes; rotate the session ID at login.
  • Caching: send no-store headers on pages with PHI so shared computers do not keep them.
  • Logout: destroy the session on the server, not just in the browser.
  • Deep links: require login before showing a record, and never put identifiers in shareable links.
  • CSP: set a strict Content Security Policy that allows only the scripts you own. This also blocks stray trackers.
  • Standard web defenses: protect against XSS, CSRF and injection, and scan dependencies.

Step 4: Secure forms, booking, chat, uploads and integrations

Forms are where most clinic sites leak. Encrypt submissions, store them in a protected system rather than plain email, and send only a “you have a message” notice. See how to add a HIPAA compliant contact form and what to collect and secure in website forms. For intake, read how to set up patient intake forms online securely.

For uploads, check file type and size, scan for malware, store files outside the web root and serve them through authenticated links. For chat, use a vendor that signs a BAA and keeps transcripts protected; see HIPAA compliant web chat options and HIPAA compliant chatbot requirements.

Trackers, pixels and analytics

This is the gap most guides give one line. Treat every third-party script as a possible PHI leak. Pixels, analytics tags, session replay tools, heatmaps, chat widgets and embedded forms can all capture page URLs, form entries or IP addresses tied to a health interest.

A safe approach:

  1. Inventory every script on every page, including those added by tag managers.
  2. Remove all advertising pixels and session replay from logged-in and booking pages.
  3. Use analytics only on public pages, or a setup under a BAA that strips identifiers.
  4. Enforce it with CSP so a new tag cannot slip in unnoticed.
  5. Re-scan after each release.

The status of federal tracking-technology guidance has shifted, so confirm the current position with HHS or counsel before relying on any one reading. More detail in HIPAA compliant website analytics. MedCare Agency pairs this with medical SEO, so the site still brings patients in without tags that expose them.

EHR, pharmacy and AI integrations

Every integration is a new PHI path. For each one, confirm a BAA, send only the fields the other system needs, authenticate both ends, log every call and plan for failure. AI features need the same care: do not send PHI to a model provider without a BAA and clear rules on retention and training use. MedCare Agency builds pharmacy and clinical integrations, telehealth platforms, Bask integration, dashboards and healthcare AI, so these links are designed together rather than patched on.

How MedCare Agency builds compliant sites and patient platforms

MedCare Agency’s founding team previously led digital growth for a global endometriosis patient advocacy platform. Today it serves clinics and practices worldwide: OB/GYN, fertility, endometriosis, physical therapy, mental health, dietitians, dentists and direct-to-consumer telehealth brands.

What that means for a build like this:

  • Compliance basics included: a signed BAA, encrypted forms, and hosting in the US, UK or EU for HIPAA and GDPR needs.
  • One team across the stack: HIPAA-compliant web design, automated booking integrations, telehealth platforms, pharmacy and clinical integrations, and dashboards.
  • Patients can find you: medical SEO, local SEO and conversion work run alongside the build, with tracking kept away from PHI.
  • Multilingual sites for clinics serving diverse patients.
  • Migration from Wix or Squarespace with redirects and preserved rankings.
  • Low-risk start: a free website audit and a 3-month free trial with no credit card required.

MedCare Agency does not claim a HIPAA “certification”, and neither should anyone else. For pricing and project scope, check its site or contact the team directly.

Step 5: Policies, training and documentation

Code covers only part of HIPAA. You also need written policies, named security and privacy owners, workforce training, sanction rules, access reviews and a contingency plan with backups and recovery tests. Keep required HIPAA documentation for at least six years (Modelence).

Train everyone who touches the app, including support and marketing staff, on phishing, device care and what never goes into email or chat. For a broader checklist, use the HIPAA compliance website checklist for clinics.

Step 6: Test, launch and monitor

Pre-launch checklist

  • Risk analysis done, dated and signed off.
  • BAAs signed for every vendor in the PHI path.
  • Unique logins, roles, MFA and auto-logoff working.
  • TLS everywhere; data and backups encrypted; keys managed.
  • Audit logs recording and reviewed once as a drill.
  • Penetration test or security review completed, findings fixed.
  • Script scan shows no trackers on PHI pages.
  • Test accounts and sample data removed from production.
  • Backup restore tested end to end.
  • Policies, training records and incident plan in place.

Incident response and breach notification

Write your response plan before you need it: who investigates, how you contain, how you decide whether it is a reportable breach, and who notifies patients and regulators within the required timelines. Run a short tabletop drill. After launch, patch dependencies, review logs, repeat the risk analysis on a schedule and after any major change.

What’s changing: the proposed Security Rule update

Many articles talk about MFA and encryption as already mandatory. Here is the accurate picture.

Topic Required today Proposed
Unique user IDs Required Stays required
Audit controls, authentication Required standards Stays required
Encryption Addressable Mandatory, limited exceptions
MFA Not named by the rule Mandatory
Required vs. addressable Both exist Distinction removed
Restoration after incident Contingency planning 72-hour requirement

HHS published the proposal on January 6, 2025 (Federal Register). It would remove the required/addressable split and add mandatory MFA, encryption and a 72-hour restoration requirement (NHIMG). The comment period closed March 7, 2025, and as of 24 October 2026 no final rule has been published; HHS states the current rule remains in effect. The regulatory agenda targets July 2027 for a final rule, pushed back from May 2026 (DailyCISO).

The practical advice: build to the proposed standard now. It costs little more and saves a rebuild later.

Build in-house or with a partner?

Build in-house if you have engineers with healthcare security experience, a named compliance owner and time for ongoing maintenance. Choose a partner if you need to launch soon, your team is clinical rather than technical, or you need the public site, booking and patient platform to work as one.

Questions to ask any partner:

  1. Will you sign a BAA, and which services does it cover?
  2. Where is data hosted, and can it be in my region?
  3. How do you keep trackers off PHI pages?
  4. Who handles integrations, and under which BAAs?
  5. What happens to my data and site if we part ways?
  6. Who supports us after launch?

For a fuller list, see how to choose a HIPAA compliant web development agency and how to make your website HIPAA compliant, step by step. If you want an outside view first, MedCare Agency offers a free website audit, with no card needed.

If a safe site is all you need today, start with the audit. If you are building a patient platform, bring your PHI map to the first call and work from there.

Ready to see where your current site stands? Request a free website audit from MedCare Agency.

Frequently asked questions

Is there such a thing as a HIPAA-certified app or framework?

No. HIPAA has no official certification for software, hosts or frameworks. Compliance depends on how you configure systems, sign BAAs, write policies and assess risk. Treat any “certified” claim as marketing.

Is encryption required under HIPAA?

Encryption at rest and in transit are addressable specifications today. That means you must implement them or document an equivalent measure, and in practice you should encrypt. The proposed Security Rule update would make encryption mandatory, with limited exceptions.

Is MFA required by HIPAA right now?

Not by name. The current Security Rule requires person or entity authentication but does not specify a method. MFA is proposed as mandatory in the 2025 proposal, which is not final. Build it in anyway.

Can I use Google Analytics, Meta Pixel or chat widgets on a patient-facing site?

Not on pages or flows where they could capture PHI, unless the vendor signs a BAA and the setup strips identifiers. Keep advertising pixels and session replay off booking, intake and portal pages. Confirm the latest HHS guidance with counsel.

Do I need HIPAA compliance if my app only collects names and appointment requests?

If you collect them for a covered entity such as a clinic, that data ties a person to care and is likely PHI. Treat it as protected and sign a BAA with the clinic or your vendors. Ask a qualified adviser about your exact case.

Keep reading

More from the blog

See all articles

Get in touch

Let’s find the patients your marketing is missing.

Book a free marketing audit and we’ll map your whole funnel, from Google to the booked appointment. Opening a new practice? Start free with the Launch program.