Data Pipeline Under Protection: Practices for Transmitting Sensitive Data in .NET
summary
Covers secure transmission of personal data in .NET systems using Kafka as the data bus. Describes using AES-256 encryption with keys stored in HashiCorp Vault, integrating encryption/decryption into JSON serialization with System.Text.Json, and managing service contracts via NuGet packages containing C# classes where personal-data fields are marked with attributes; also discusses adapting the same approach for storing personal data in databases.
AI-written summary · about
chapters (34)
- 0:00Introduction
- 1:48Talk overview
- 3:13Personal data threats
- 7:27Data classification
- 12:47Threat model setup
- 14:33Functional requirements
- 15:35Existing service encryption
- 16:19AVS Encryption SDK
- 19:52AVS SDK pros and cons
- 20:14JSON Web Encryption
- 22:19JWE pros and cons
- 23:02HashiCorp Vault Transit
- 24:49HashiCorp Vault pros
- 25:31Custom encryption SDK
- 27:16Contract design
- 29:03Algorithm choice AES256-GCM
- 31:11Vault configuration
- 32:14Encryption in code
- 35:02JSON encryption
- 37:57Kafka integration
- 40:48Benchmarking custom
- 41:09Kafka PII config
- 42:35Key rotation handling
- 44:41Custom SDK pros
- 45:43Tokenization overview
- 47:46Database encryption
- 48:28SQL Server encryption
- 49:51PostgreSQL pgcrypto
- 50:54App-level DB encryption
- 51:35Encrypted DB schema
- 53:44Reencryption task
- 55:53DB key rotation
- 56:34DB key compromise
- 57:23Summary
