Skip to content
HexaTransfer
Back to blog
Cloud & Storage

Cloud Storage Compliance: GDPR, HIPAA, and Beyond

Navigate cloud storage compliance requirements. Understand GDPR, HIPAA, SOC 2, and other regulations affecting file storage and transfer.

Cloud storage compliance means proving four things to auditors: data is encrypted at rest and in transit, access is logged and minimum-necessary, retention follows documented policy, and geographic controls match regulatory boundaries. GDPR, HIPAA, SOC 2 Type II, PCI DSS 4.0, and CCPA each add wrinkles — data subject rights under GDPR Article 17, the HIPAA Security Rule at 45 CFR 164.308-164.316, and PCI DSS Requirement 3.5 for cardholder data at rest — but they share a common skeleton you can build to once.

GDPR: Lawful Basis and the Right to Erasure

Storing EU residents' personal data in cloud buckets triggers GDPR obligations regardless of where your company sits. Article 6 requires a documented lawful basis — consent, contract, legitimate interest, or one of three others — for every processing activity. Article 30 demands a Record of Processing Activities (ROPA) that names the data, purpose, recipients, and retention period.

Article 17 (the "right to erasure") is the operational kicker. When a data subject requests deletion, you have 30 days to purge their files from primary storage, backups, and any replicated tiers. Object-level tags (data-subject-id: 4829) make this tractable; otherwise you're grep-ing through petabytes. S3 Object Tagging and Azure Blob Index Tags both support indexed deletion at scale.

HIPAA: BAAs, Encryption, and the Six-Year Log

The HIPAA Security Rule has three safeguard categories — administrative (§164.308), physical (§164.310), and technical (§164.312). For cloud storage, the technical safeguards matter most: access control (unique user IDs, automatic logoff, encryption), audit controls (record and examine activity), integrity controls, and transmission security.

You need a Business Associate Agreement (BAA) with every cloud provider handling PHI. AWS, Azure, Google Cloud, and Cloudflare all sign BAAs; smaller consumer services usually don't. Retain audit logs for six years per §164.316(b)(2)(i). Encryption is "addressable" rather than "required," but OCR enforcement actions treat it as effectively required — unencrypted laptop breaches average $1.8M in settlements.

SOC 2 Type II: Trust Services Criteria

SOC 2 isn't a regulation but a framework auditors use to certify controls around Security, Availability, Processing Integrity, Confidentiality, and Privacy. Type II reports cover a 6-12 month observation window and are what most enterprise customers actually require before signing.

For cloud storage, the key controls include CC6.1 (logical access), CC6.6 (encryption in transit), CC6.7 (encryption at rest), and CC7.2 (monitoring). Your audit evidence: IAM policy exports, KMS key rotation records, CloudTrail logs, and bucket policies. Vanta, Drata, and Secureframe automate evidence collection; a manual SOC 2 costs 400-600 engineering hours per year.

PCI DSS 4.0: Cardholder Data Scope

If any file in your buckets contains a PAN (Primary Account Number), the whole bucket enters PCI scope. PCI DSS 4.0 Requirement 3.5 requires PANs to be unreadable anywhere they're stored — via one-way hash (SHA-256), truncation, tokenization, or AES-256 encryption with strong key management.

Requirement 4.2.1 mandates strong cryptography for cardholder data over public networks, which means TLS 1.2+ minimum (1.3 preferred). Requirement 10 demands audit logging of all access to cardholder data with daily review. The cheapest compliance strategy: don't store PANs in the first place. Tokenize at the payment processor and store only tokens in cloud files.

CCPA and CPRA: The California Bundle

The California Consumer Privacy Act and its 2023 amendment (CPRA) give California residents rights that echo GDPR: know, delete, correct, opt-out of sale/sharing, and limit use of sensitive personal information. The $25 million revenue threshold means mid-market companies are increasingly in scope.

Practical storage implications: maintain a consumer request workflow that can locate a person's data across all buckets within 45 days (Civil Code §1798.130), implement data minimization, and offer deletion without requiring account creation. CPRA adds "sensitive personal information" as a category requiring extra controls — SSNs, precise geolocation, race, religion, health, and biometrics.

Cross-Border Transfer Mechanisms

Post-Schrems II, moving EU data to the US without valid safeguards is a violation. The EU-US Data Privacy Framework (July 2023) re-enabled transfers to certified US companies, but not everyone is certified. Standard Contractual Clauses (SCCs) remain the fallback, and the new 2021 SCC templates require a Transfer Impact Assessment.

For storage, this means picking regions deliberately. AWS eu-west-3 (Paris), Azure France Central, and Google europe-west9 (Paris) keep data in the EU. Replicate only to other EU regions unless the transfer is covered by SCCs, DPF certification, or explicit consent. Cloudflare's Regional Services and AWS's AWS Nitro Enclaves help enforce data-residency guarantees at the infrastructure level.

Encryption Architecture That Satisfies Everyone

The common denominator across GDPR, HIPAA, PCI, and SOC 2: encryption at rest and in transit with documented key management. Use AES-256-GCM at rest (AWS KMS, Azure Key Vault, Google Cloud KMS) and TLS 1.3 in transit. Rotate customer master keys annually at minimum.

For extra-sensitive workloads, client-side encryption keeps plaintext away from the provider entirely. Tools that do zero-knowledge E2EE — encrypt in the browser with PBKDF2-derived keys, upload only ciphertext — make compliance arguments simpler because the provider can't access the data even under subpoena. HexaTransfer works this way for ad-hoc file sharing during compliance-sensitive projects.

Building an Evidence Pipeline, Not a Binder

Auditors want continuous evidence, not a snapshot assembled the week before the visit. Pipe CloudTrail/Activity Log/Cloud Audit Logs into a SIEM (Splunk, Elastic, Datadog). Tag every resource with owner, data-classification, and retention-policy. Run automated config checks with AWS Config Rules, Azure Policy, or Open Policy Agent.

Document the control, the evidence source, and the owner in a single matrix. When the auditor asks "how do you know MFA is enforced on the bucket?", the answer should be a screenshot from a daily automated report, not a scramble through the console. The organizations that breeze through audits are the ones who treat compliance as a pipeline, not an event.

Try it at hexatransfer.com — free, no account, 10 GB max.

Send large files securely with end-to-end encryption

Transfer files up to 10 GB for free with end-to-end encryption. No account required. Your files are encrypted in your browser before upload — no one else can read them.

Send a file