The full answer
Protect the data in layers: encrypt it, keep the workspace off the public internet, give each person access only to the rows and columns they need, mask what they don't need to see, record every access, and meet GDPR duties such as minimisation, retention and deletion in the pipeline design.
1. Encryption
- Data at rest in Synapse is encrypted by default. For more control, enable double encryption with a customer-managed key in Azure Key Vault when the workspace is created; dedicated SQL pools in workspaces without it can use Transparent Data Encryption.
- Connections use TLS.
2. Network isolation
- Create the workspace with a managed virtual network and connect to data stores through managed private endpoints.
- Turn on data exfiltration protection at creation (it can't be added later), so outbound connections go only to approved Microsoft Entra tenants.
- Use private endpoints for Synapse Studio and SQL endpoints, and disable public network access.
3. Identity and access
- Sign-in with Microsoft Entra ID, managed identities for pipelines, and Synapse RBAC roles for workspace actions.
- Column-level security (
GRANT SELECT ON dbo.Customers (CustomerId, Country) TO Analysts) and row-level security (a security policy with a predicate function) restrict what each user reads in SQL pools.
4. Masking
Dynamic data masking hides values in query results from users without UNMASK permission:
ALTER TABLE dbo.Customers
ALTER COLUMN Email ADD MASKED WITH (FUNCTION = 'email()');
Masking is not encryption: privileged users and some query patterns can still infer values, so use it alongside column and row security.
5. Auditing and monitoring
- SQL auditing sends events to storage, Log Analytics or Event Hubs; Microsoft Defender for SQL flags suspicious activity.
- Microsoft Purview scans and classifies personal data and shows lineage, so you know where it flows.
6. GDPR in the design
- Minimise: bring in only the personal fields the purpose needs; pseudonymise identifiers in curated layers.
- Residency: choose regions that meet residency rules.
- Retention and erasure: set retention per dataset and build a tested way to delete or anonymise a person's data across raw, curated and backup copies.
- Accountability: document processing purposes, access reviews and audit results.
Last updated 16 October 2026
Sources
Where each fact comes from
- 1Encryption for Azure Synapse Analytics workspaces
- 2Dynamic Data Masking
- 3Column-level security for dedicated SQL pool
- 4Row-Level Security
- 5Azure Synapse managed virtual network
- 6Data exfiltration protection for Azure Synapse Analytics
- 7Auditing for Azure SQL Database and Azure Synapse Analytics
- 8Learn about Microsoft Purview