Posts Archive

Technical and litigation notes

Clear
Data Privacy & GDPR

Database Schema Design and Data Protection by Design

22 May 2026 / EU, India, US

GDPR Article 25 requires data protection by design and by default. Database schema design is a data protection design decision. Whether you use soft or hard deletes, how you structure audit tables, and whether you store personal data in JSON columns all have GDPR implications.

Security & Compliance

Webhook Security — HMAC, Rate Limiting, Replay Attacks

22 May 2026 / EU, India, US

Webhook HMAC verification is widely implemented and widely misunderstood. It proves the payload was signed by someone with the app secret — not that the payload is fresh, not that it hasn't been seen before, and not that the app secret hasn't been compromised. Understanding what HMAC proves is as important as implementing it.

Security & Compliance

XSS, JSON Injection, and Output Encoding

22 May 2026 / EU, India, US

Cross-site scripting (XSS) via JSON injection in HTML attributes is consistently underestimated because it requires an unusual combination of conditions: JSON output inside an HTML attribute, combined with content that contains HTML-special characters. When all three coincide — as they do in legal case data that contains names like "O'Brien" — the vulnerability is real.

Data Privacy & GDPR

Logging Personal Data — GDPR and Application Logs

22 May 2026 / EU, India, US

Application logs capture request URIs, query parameters, and response bodies. In a legal SaaS, these often contain personal data: client names in URL slugs, phone numbers in query strings, case details in response bodies. GDPR requires a lawful basis and a retention policy for every category of personal data — including what ends up in log files.

Request a consultation

This is a lightweight intake endpoint for now. It is structured so the practice management system can later take over scheduling, conflict checks and matter creation.

Submitting this form does not create an advocate-client relationship. Please avoid sending confidential details until engagement is confirmed.