Data Processing Addendum (DPA)
Mandatory DPA under PDPL 91/2025/QH15 defining Controller vs. Processor roles, isolated PostgreSQL 18 databases, KEK/DEK envelope encryption, per-project RLS, 2-hour Support Access Grants, sub-processors, breach notification, and .hpb data return/deletion.
Data Processing Addendum (DPA)
Last updated: 2026-11-25 · Version: 2026-11-25
This Data Processing Addendum ("DPA") forms a mandatory, integral part of the Habify Base Terms of Service between Customer (acting as Personal Data Controller) and HABIFY COMPANY LIMITED (CÔNG TY TNHH HABIFY, Enterprise Code: 0319523808, acting as Personal Data Processor), in compliance with Vietnam's Personal Data Protection Law No. 91/2025/QH15 and Decree No. 356/2025/ND-CP.
1. Roles and Processing on Customer Instructions
- Roles of the Parties:
- Customer as Data Controller: Customer determines the purposes, legal basis, consent capture, and scope of all end-user personal data stored inside Customer's Project database (
hb_proj_<ulid>), object storage buckets, and BYO integrations. - Habify as Data Processor:
CÔNG TY TNHH HABIFYprocesses end-user personal data strictly on behalf of Customer and solely in accordance with Customer's documented instructions expressed through the Console, CLI, SDKs, Data API, and BYO configurations.
- Customer as Data Controller: Customer determines the purposes, legal basis, consent capture, and scope of all end-user personal data stored inside Customer's Project database (
- Confidentiality: Habify never accesses, discloses, monetizes, or trains AI models on Customer's
publicschema data unless required by a binding Vietnamese statutory order (with prior notice to Customer unless legally prohibited).
2. Technical & Organizational Security Safeguards
Habify enforces defense-in-depth protections across every Managed Project:
- Physical Database Isolation & Per-Project PostgreSQL 18 RLS:
- Each Project receives a dedicated physical PostgreSQL 18 database (
hb_proj_<ulid>) separated intohabify_sys(protected system tables) andpublic(Customer business tables), operated by a non-superuser rolehb_role_<ulid>. - Each Project has a dedicated RLS execution role
hb_rls_<ulid>(NOLOGIN,NOINHERIT, noCONNECTprivilege). Every REST Data API request (/v1/db/tables/*) runs inside a transaction withSET LOCAL ROLE hb_rls_<ulid>and bindsapp.current_user_id/app.current_role. Even anonymoushb_pk_*requests without a JWT are forced intoapp.current_role = 'anon'(NULLuser ID) under a strict Default-Deny rule (ENABLE + FORCE ROW LEVEL SECURITYplus at least one policy).
- Each Project receives a dedicated physical PostgreSQL 18 database (
- Two-Layer KEK / DEK Envelope Encryption (
CredentialVault):- All BYO service keys and sensitive secrets are encrypted using per-project Data Encryption Keys (DEK —
AES-256-GCM) bound toAAD = "{project_id}|{service}|{field}", wrapped by rotatable Master Key Encryption Keys (KEK).SensitiveDataRedactorstrips secrets from logs and traces; all transit uses HTTPS / TLS 1.3.
- All BYO service keys and sensitive secrets are encrypted using per-project Data Encryption Keys (DEK —
- Immutable Audit Logs: RBAC checks, Sudo Mode confirmations, key rotations, backups, and support grants are recorded in append-only
audit_logs. - 2-Hour Read-Only Support Access Grants:
- Habify personnel and Hub administrators cannot inspect a Project's metadata or logs without an explicit, active Support Access Grant created by an authorized Workspace member.
- Every Support Access Grant is strictly locked to the
read_metadata_logsscope, limited to 15–120 minutes (maximum 2 hours), immediately revocable by Customer, fully audit-logged, and exposes ZERO raw secrets/DEKs and ZERO end-user PII orpublicschema rows.
3. Authorized Sub-processors
Customer grants general written authorization for Habify to engage the following infrastructure sub-processors (each bound by equivalent confidentiality and data protection obligations):
| Sub-processor | Location | Technical Processing Scope |
|---|---|---|
CÔNG TY TNHH CÔNG NGHỆ TDCLOUD (Tax Code: 6001787246) | Vietnam (160.187.228.182) | Real-time hot-standby PostgreSQL 18 Physical Streaming Replication & nightly AES-256 onshore backup storage in Vietnam. |
| Contabo GmbH & Authorized Dedicated Infrastructure Partners (OVHcloud / Hetzner) | Singapore (217.216.34.96 & Dedicated Nodes) | Primary cloud compute nodes, PostgreSQL 18 database clusters, and on-demand Dedicated Compute nodes. |
| Cloudflare, Inc. | USA / Global Edge | DNS resolution, WAF/DDoS protection, CDN, and R2 object storage (base-managed-public, base-managed-private, base-backups-private). |
| Amazon Web Services, Inc. (AWS SES) | Singapore | Transactional platform email delivery and mail.habifybase.app sandbox relays. |
| Alibaba Cloud (Singapore) & Anthropic PBC (USA) | Singapore / USA | Invoked via AI Gateway only if Customer uses Pass-through AI (automated PII scrubbing applied; configured for Zero Data Retention / No Training). Never invoked for BYO AI keys or disabled AI. |
| SePay & Viettel S-Invoice | Vietnam | Domestic VND platform checkout (Bank Transfer (Scan QR Code) & International Card (Visa, Mastercard, JCB)) and Workspace VAT e-invoicing. |
- Sub-processor Change Notice: Habify provides at least 15 days prior notice before adding or replacing a sub-processor handling Project data. Customer may object by exporting its
.hpbbundle and terminating prior to the effective date.
4. Cross-Border Data Transfers & A05 Compliance
- Primary hosting in Singapore (
Contabo GmbHand authorized dedicated infrastructure partners), edge services (Cloudflare), transactional email (AWS SES), and optional Pass-through AI constitute cross-border personal data transfers under Article 20 of PDPL91/2025/QH15and Decree356/2025/ND-CP. CÔNG TY TNHH HABIFYmaintains and files the unified Cross-Border Transfer Impact Assessment Dossier (Forms 01a, 09) and Data Processing Impact Assessment (Forms 02, 10) with Department A05 — Ministry of Public Security and continuously mirrors databases onshore atTDCLOUD(160.187.228.182). Customer remains responsible for its own Controller notifications/filings where applicable to its business.
5. Data Subject Requests & Breach Notification
- Assistance with Data Subject Rights: Customer can fulfill access, export, correction, and erasure requests autonomously via
/v1/db/tables/*, SQL/Table Editor, Clone-to-Sandbox PII masking, andowner_ref-scoped/internal/export/owner-records. Habify forwards any direct end-user requests referencing a Customer Project promptly to Customer. - Breach Notification: Upon confirming a personal data breach affecting Project data within Habify's infrastructure, Habify takes immediate containment action and notifies Customer without undue delay within 24–48 hours, providing scope, remediation steps, and technical logs to support Customer's 72-hour statutory notification to Department A05.
6. Data Return & Deletion (.hpb Portability)
- Zero Lock-In
.hpbExport: At any time during active service — and throughout the 30-day Project suspension period (suspended) — Customer may export complete portable.hpbbundles across three storage modes:metadata_only: PostgreSQL 18database/tenant.dump(exported viahb_role_<ulid>), enabled core serviceowner_refexports, and file manifests;inline_files: Bundled with Managed storage blobs inside the.hpbarchive;signed_pull_manifest: Presigned download manifest for multi-stream migration to Customer's VPS or Self-Hosted stack (habify-base.sh import-from-cloud)..hpbexports never contain Habify platform Master KEKs or raw Vault ciphertexts from other tenants.
- Permanent Erasure: Upon Project deletion, end of the 30-day Project suspension window (
purged), or expiration of the 15-day soft-delete grace period after Habify Account deletion, Habify dropshb_proj_<ulid>, removeshb_role_<ulid>/hb_rls_<ulid>, destroys Project DEKs, and deletes Managed R2 objects underproj_{project_id}/(rolling encrypted backups expire within at most 30 days; statutory accounting records remain archived 10 years).
7. DPA Contact
- Data Protection Department —
CÔNG TY TNHH HABIFY(Tax Code: 0319523808) - Email:
base@habifyhub.com· Support Portal: https://support.habifyhub.com · Phone:0367 465 952