SRCCON�Restoring our
Readers Privacy
In a Time of None
Matt Dennewitz
Michael Donohoe
SRCCON�AI Blockchain for
Machine Learning
Matt Dennewitz
Michael Donohoe
HELLO
QUIZ TIME
Question:�What information is your browser �broadcasting about you?
Answer:
QUIZ TIME
Question:�What are some of the ways in which �all your browsing history is recorded?
Answer:
CRACKS IN THE DAM
= 30K leaks of Reader Information
= 30M leaks of Reader Information
AUDIT TIME
Let's take some live examples...
What should we test?
What do we expect to find?
AUDIT TIME / DIY
Google Chrome
AUDIT TIME / DIY
Pushing Back / Referrer Policy
HTTP Referrer Policy lets you control referrer-sending for links and subresources (images, scripts, stylesheets, etc.). Supported on all modern browsers except Opera Mini:
<meta name="referrer" content="no-referrer">
You can apply it to audio, img, link, script, and video tags referencing resources which require CORS so only the absolute minimum (the Origin header) will be shared:
<script src="https://example.com/hi.js" crossorigin="anonymous"></script>
(You can't get rid of the Origin header while using CORS as the remote sites need to know what domain is making the request in order to allow or deny it)
PUSHING BACK / YouTube
YouTube has a privacy-enhanced mode. Instead of this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/79DijItQXMM" frameborder="0" allow="autoplay; encrypted-media"></iframe>
Do this:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/79DijItQXMM" frameborder="0" allow="autoplay; encrypted-media"></iframe>
YouTube won't store information about visitors on your website unless they play the video. (Source)
Pushing Back / Twitter
Twitter still honors DNT for personalization on suggestions and ads.
Easily applied on a site template level for global effect
<meta name="twitter:dnt" content="on">
Pushing Back / Twitter
Twitter still honors DNT on an embedded tweet level:
<blockquote class="twitter-tweet" data-dnt="true">� <p lang="und" dir="ltr">🎩💕🎩💕🎩💕</p>� — BrooklynJS (@brooklyn_js) � <a href="https://twitter.com/brooklyn_js/status/723318379805827072">� April 22, 2016� </a>�</blockquote>
�<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Pushing Back / Facebook
Facebook calls out "Mixed Audience without Age Gate"
"Your site, app or service is directed to children but its primary target audience is people who are at least 13 years old. Your site, app or service does not include an age gate."
Pushing Back / Facebook
Using the kid_directed_site parameter to restrict what gets collected.
This applies to:
Source: https://developers.facebook.com/docs/plugins/restrictions#kdsparam1
Adding Trackers
Questions you can ask...
Pushing Back / Lockdown
Content Security Policies
You could also expressly forbid your site not to load things you...
You can't do this if your site has advertising
CSPs are and powerful way to lockdown your site for EU visitors
Think of it as your own Ad Blocker within your site
Two forms:
You're going to have issues with IE and Opera Mini though
But do you really care?
Pushing Back / Lockdown
Ex: allow images from any origin, but to restrict audio or video media to trusted providers, and all scripts only to a specific server that hosts trusted code.
Header
Content-Security-Policy: default-src 'self'; �img-src *; media-src m1.com m2.com; script-src blah.example.com
META Tag
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src *; �media-src m.com m.com; script-src blah.example.com" />
REMEMBER
Our readers cannot modify articles or templates (hopefully anyway)
We can - or we know those who can.
We need to understand our responsibility to protect our readers’ privacy
What’s stopping us from doing this right now?
QUESTIONS FOR YOU
What are you doing at your organization?
How can developers take measures now?
How can site directors and editorial team members lobby for user protection?
BONUS ROUND - GDPR
This is the world's strongest data protection rules, but what does it mean?
BONUS ROUND - CALIFORNIA PRIVACY LAW
New legislation, which goes into effect in January 2020:
BONUS ROUND - DELETE FACEBOOK
All together now
* They will still track you