
HIPAA app engineering: the controls to build in
The access, audit, encryption, vendor and recovery controls the HIPAA Security Rule expects in an app that handles ePHI, written as engineering tasks, and the safeguards Agnotic builds into your product to your requirements.
For founders, product leads and engineers building apps that store or send electronic protected health information (ePHI).
Which HIPAA controls does an app need?
An app that stores or sends ePHI needs the HIPAA Security Rule controls for risk analysis, access, audit logging, encryption, vendor agreements and recovery. Agnotic Technologies builds these controls into client apps as engineering tasks, each mapped to the 45 CFR 164 section it supports, with a recorded decision for every addressable item.
Last reviewed by the Agnotic Technologies engineering team
Where do health apps fall short on HIPAA?
Most gaps are not missing features but controls that stop halfway. These are the ones we find most often in apps that already hold ePHI.
Shared logins and broad roles
Support staff share one admin account, and every role can see every record and field, so access cannot be traced or limited.
No audit trail of reads
The app logs changes but not who viewed a record, so an access review or a breach investigation has nothing to work from.
PHI leaking into side channels
Push notifications, URLs, analytics events and crash reports carry patient data to services that never signed an agreement.
Encryption with gaps
The main database is encrypted, but backups, file storage, mobile caches or internal service calls are not.
Vendors without agreements
An SMS, email, video or AI service receives ePHI before a business associate agreement is in place.
Backups never restored
Backups run every night, but nobody has proven a restore works or planned for losing a region or an encryption key.
What do we build into a HIPAA-ready app?
Agnotic Technologies builds these controls into the client's app and infrastructure, scoped to its risk analysis, users and vendors.
Identity and role-based access
Per-user accounts through the client's identity provider, single sign-on and multi-factor authentication for staff, and roles that limit records and fields.
Break-glass emergency access
An emergency access role that is logged on every use and reviewed afterwards.
Append-only audit logging
An audit event for every read, create, update, export and delete of ePHI, stored where users and admins cannot change it, with alerts on bulk exports and off-hours reads.
Encryption at rest and in transit
Encrypted databases, storage, backups and device storage with managed keys, and TLS on every hop, including internal calls and webhooks.
PHI-safe logging and analytics
Application logs, analytics events and crash reports that strip ePHI before data leaves the app.
Session and token controls
Idle timeouts on web and mobile and short-lived API tokens, so an unattended device does not stay signed in.
Vendor and SDK review
An inventory of every service that touches ePHI, with SDKs removed or reconfigured where no agreement exists.
Backup, restore and incident tooling
Tested restores, disaster recovery runbooks and incident records that feed the breach notification decision.
Which controls belong in the build?
Six groups of controls, each written as an engineering task and mapped to the 45 CFR 164 section it supports. The tag shows how the rule treats it, and every control needs evidence: a configuration, a test, a log sample or a signed agreement.
- Required
- Required implementation specification in the Security Rule.
- Addressable
- Implement it, or document why an alternative is reasonable and appropriate.
- Standard
- Security Rule standard without a separate specification listed here.
- Practice
- Engineering practice that supports the rule; no single section.
Risk analysis and ownership
Start here. The other controls only make sense against a written risk analysis.
- Run a risk analysis that lists where ePHI is created, stored and sent, and the threats to each place.Required164.308(a)(1)(ii)(A)
- Name one person who owns security decisions for the app and records them.Standard164.308(a)(2)
- Keep policies, the risk analysis and each control decision for 6 years from creation or last effective date.Required164.316(b)(2)(i)
Access control and authentication
- Give every user and service its own identity; no shared logins, including for support staff.Required164.312(a)(2)(i)
- Document an emergency access procedure, for example a break-glass role that is logged and reviewed afterwards.Required164.312(a)(2)(ii)
- Lock or end sessions after inactivity on web and mobile, and expire API tokens.Addressable164.312(a)(2)(iii)
- Verify who is signing in: single sign-on for staff, and multi-factor authentication for anyone who can view or export ePHI.Standard164.312(d)
- Build role-based permissions so each role sees only the records and fields it needs.Standard164.308(a)(4)
Audit logging
- Write an audit event for every read, create, update, export and delete of ePHI: who, which record, when and from where.Standard164.312(b)
- Store audit events where application users and admins cannot edit or delete them.Standard164.312(b)
- Review audit logs on a schedule and alert on unusual access, such as bulk exports or off-hours reads.Required164.308(a)(1)(ii)(D)
Encryption and integrity
- Encrypt ePHI at rest in databases, file storage, backups and on mobile devices.Addressable164.312(a)(2)(iv)
- Use TLS on every connection that carries ePHI, including internal service calls and webhooks.Addressable164.312(e)(2)(ii)
- Protect records from silent change, for example with version history or checksums on stored documents.Addressable164.312(c)(2)
- Keep ePHI out of push notifications, URLs, analytics events, crash reports and application logs.Practice
Vendors and business associate agreements
- List every vendor that creates, receives, maintains or transmits ePHI: cloud host, email, SMS, video, AI and support tools.Standard164.308(b)(1)
- Sign a business associate agreement with each of them before ePHI reaches their service.Standard164.308(b)(1)
- Remove or reconfigure SDKs that would send ePHI to a vendor without an agreement.Practice
Backup, recovery and incidents
- Make retrievable exact copies of ePHI and prove a restore works.Required164.308(a)(7)(ii)(A)
- Write a disaster recovery plan for losing a database, a region or an encryption key.Required164.308(a)(7)(ii)(B)
- Plan how critical functions keep running in emergency mode.Required164.308(a)(7)(ii)(C)
- Set up an incident response process to identify, respond to and document security incidents, including the steps and deadlines for breach notification.Required164.308(a)(6)(ii), 164.404
How do we work through the controls with you?
We sit down with the people who build and run the app: the engineering lead, the product owner and whoever owns security.
We go through the groups in order, starting with the risk analysis, and collect evidence for each control already in place.
For each Addressable item that is not implemented, we record why and what the app does instead.
Each gap goes into the risk analysis with an owner, and we review the controls again before release.
What this page cannot tell you
- Whether HIPAA applies to you. That depends on whether you are a covered entity or a business associate. Consumer health apps outside HIPAA can fall under the FTC Health Breach Notification Rule (16 CFR Part 318).
- Whether your organization is compliant. HIPAA also covers policies, workforce training and physical safeguards, and a list of app controls is not a risk analysis.
- Which state privacy laws add duties beyond HIPAA for your users.
- Legal advice. Have your privacy or legal counsel confirm what applies to you.
Which technical safeguards map to which engineering controls?
The technical safeguards in 45 CFR 164.312, with their status in the rule and the control we usually build for each.
| Safeguard | Section | Status in the rule | What we build |
|---|---|---|---|
| Unique user identification | 164.312(a)(2)(i) | Required | Per-user accounts through your identity provider, no shared logins |
| Emergency access procedure | 164.312(a)(2)(ii) | Required | A logged break-glass role with review after use |
| Automatic logoff | 164.312(a)(2)(iii) | Addressable | Idle timeouts on web and mobile, short-lived API tokens |
| Encryption and decryption | 164.312(a)(2)(iv) | Addressable | Encrypted databases, storage and backups with managed keys |
| Audit controls | 164.312(b) | Standard | Append-only audit events for every ePHI read and change |
| Integrity | 164.312(c)(2) | Addressable | Record version history and checksums on stored files |
| Person or entity authentication | 164.312(d) | Standard | SSO and MFA for staff, signed tokens between services |
| Transmission security | 164.312(e)(2)(ii) | Addressable | TLS on every hop, including internal traffic |
Which open controls come first?
Required controls not yet built
Close them before production ePHI goes into the app. The rule does not leave these to your judgment.
Addressable controls not yet decided
Implement them, or record why an alternative is reasonable and appropriate and what that alternative is.
Vendors without an agreement
Get the business associate agreement signed, or switch vendor, before that service touches ePHI.
If several groups have gaps, an engineering review of the whole app is usually quicker than fixing items one at a time. That review is what a scoping call starts.
Trusted by global innovators
























What does the Security Rule text say?
The rule text behind each control, in brief, with a link to each section on eCFR.
The HIPAA Security Rule requires administrative, physical and technical safeguards for electronic protected health information.
Source: 45 CFR Part 164 Subpart C (eCFR)Audit controls are a Security Rule standard: hardware, software or procedural mechanisms that record and examine activity in systems that contain or use ePHI.
Source: 45 CFR 164.312(b) (eCFR)Risk analysis is a required implementation specification: an accurate and thorough assessment of the potential risks and vulnerabilities to ePHI.
Source: 45 CFR 164.308(a)(1)(ii)(A) (eCFR)A covered entity must notify affected individuals of a breach without unreasonable delay and no later than 60 calendar days after discovering it.
Source: 45 CFR 164.404(b) (eCFR)
Which standards do we build HIPAA-ready apps to?
HIPAA
Health Insurance Portability and Accountability Act
Protect PHI with privacy-first architecture, encrypted storage and transmission, strict access controls, and traceable audit logs.
GDPR
General Data Protection Regulation
Implement lawful consent flows, data minimization, retention controls, and secure processing for sensitive health data.
FHIR
Fast Healthcare Interoperability Resources
Enable standardized health data exchange across apps, care teams, and systems through standards-based FHIR APIs.
HL7
Health Level Seven International
Support enterprise-grade interoperability with HL7-based integrations for records, events, and clinical messaging workflows.
HITRUST
Health Information Trust Alliance
Align security programs to healthcare-specific control and risk management practices trusted by providers and ecosystem partners.
HITECH
Health Information Technology for Economic and Clinical Health Act
Design with breach notification readiness, digital record safeguards, and operational controls that support regulated care programs.
SaMD
FDA Software as a Medical Device
Plan software quality, traceability, and documentation pathways for products that may require SaMD review and submission.
MDR (EU)
Medical Device Regulation (European Union)
Prepare EU market-ready processes for risk classification, evidence tracking, and lifecycle governance under MDR expectations.
SAMHSA
Substance Abuse and Mental Health Services Administration
Apply confidentiality controls and consent-aware sharing models for behavioral and mental health data experiences.
Which Agnotic services pick up from here?
Agnotic Technologies builds HIPAA-ready apps for digital health teams. These pages cover the engineering behind each control.
- HIPAA compliance for software teamsHow we turn the Security Rule into architecture and delivery decisions.
- HIPAA compliant software developmentApps and platforms built with these controls from the first sprint.
- PHI data security engineeringEncryption, access control and logging for health data at rest and in transit.
- HIPAA Security Rule safeguardsEvery standard in 45 CFR 164.308 to 164.316, in the rule's own order, for the organization as a whole.
- Epic integration planningThe next step if your app will connect to a health system on Epic.
- Healthcare software scope builderPut these controls into a full scope with features, users and integrations.