My Authors
Read all threads
Just had an good conversation with @panmanphil about data flows:
🧐 Why enforcing privacy/access policies in software is hard
😫 Why static and dynamic analysis aren't the solutions of people's dreams
🛣️ Why data visibility/data mapping is The Way

THREAD 👇
@panmanphil 🧐 Enforcing security/privacy policies on data flows is not as simple as checking a rule as data leaves the database. *Which* rule you check for *what* data matters and is hard to keep track of. Either devs need to track this or software needs to track this. It's hard for devs.
@panmanphil 😫 Automatic policy enforcement requires automatic data tracking. Tracking data at runtime comes with unappealing performance overheads. Tracking it statically, before you run, gives you way too many false positives. Anything short of this leaves major gaps.
@panmanphil 😫 Also: people often use static/dynamic code analysis when what they really want is *software* analysis. Code analysis is going to give info on *one node at a time* of the service graph below. This graph is an ecosystem with a life of its own and we should treat it as such.
🛣️ Given that it is not (currently) possible to build a practical system to automatically enforce privacy/security rules, it is incredibly important to build tooling to make the rules getting enforced are the right ones. These tools should show what data is going where, when.
🛣️ We can't just apply existing program analysis to data mapping. They completely fall down because not only were they too conservative before, but they completely fall down in service-oriented architectures. This is why we've been working on a new approach at @AkitaSoftware.
@AkitaSoftware 💡 If you do find yourself in a position of needing to build a policy framework, however, when I was in grad school we did come up with a cute way of monkey-patching Django and using meta-programming in the ORM to programmatically stored policies. Happy to talk about that. 🥰
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Jean Yang ⚡

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!