Urgent.News

What's breaking now, across thousands of outlets.

Tech

Cómo pensamos el cifrado de PII en una app Ionic + Angular, para cumplir el RGPD y la LOPD-GDD

Envelope encryption con clave por usuario, qué se cifra y qué no, cómo lo puso a prueba una auditoría externa, y el incidente de rendimiento que provocó nuestro propio hardening de seguridad. Montaste tu app con IA rápido: le pides unos datos al usuario, llamas al modelo, guardas el resultado en la base de datos y a producción. Cómodo, sin complicaciones. Hasta que un día miras bien qué estás…

Cuentopia creates customized bedtime stories for children using AI, with data provided by parents about their child's character, fears, and family situations. This data is sensitive and falls under the category of especially protected personal data under GDPR and LOPD-GDD. To protect this data, Cuentopia implemented envelope encryption with a master key stored in Google Cloud KMS and a user-specific key to encrypt sensitive fields before they reach the database.

The encryption process ensures that only the necessary fields are decrypted in memory, and the database only sees encrypted text. The design criteria for what to encrypt and what not to encrypt are based on whether the data is public or private. Public content, such as public stories in the catalog, is stored in plain text, while private content, like child profiles and private stories, is encrypted.

This approach allows for secure reading by default, as unencrypted documents are automatically treated as plaintext alongside encrypted private content. The encryption architecture uses Firebase Firestore for data storage, Cloud Functions for server-side logic, and Google Cloud KMS for the master key.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why engineers need commercial awareness, not just technical depth

Engineers who only understand the technology, and never the business it serves, hit a ceiling early. The best ones develop commercial awareness — a real sense of how value is created, funded, and…

  • Engineers with commercial awareness surpass those with only technical depth.
  • Observing startup pitches at 21BY72 Season 4 highlights business value creation.
  • Understanding customer needs and business constraints refines engineering priorities.

Keeping Mac work alive without pretending awake means safe

A developer usually meets Mac power management through a simple need. A build, local server, download, or agent is still running, and idle sleep would interrupt it.

  • Afterlid distinguishes three Mac states: Sleepy, Awake, and Always On
  • Awake prevents both idle and display sleep when lid is open
  • Recovery process crucial, activation is a feature but recovery is the product

Too Many Req: A Bucket List Guide to Building a Rate Limiter

Hello, I'm Maneshwar. I'm building git-lrc, a Micro AI code reviewer that runs on every commit. It is free and source-available on Github. Star git-lrc to help devs discover the project.

  • Configurable limits for different user tiers
  • Token bucket algorithm resolves window boundary issue
  • Capacity and refill rate control burst and sustained throughput

More from Sunday 23 August →