apis and your privacy - the policy forum at at&t · • apis allow companies to exchange...

48
APIs and Your Privacy Thomas Norton Executive Director Fordham Center on Law and Information Policy Florian Schaub Assistant Professor University of Michigan School of Information

Upload: others

Post on 22-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

APIs and Your PrivacyThomas NortonExecutive DirectorFordham Center on Law and Information Policy

Florian SchaubAssistant ProfessorUniversity of Michigan School of Information

Page 2: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

ApplicationProgrammingInterfaces

2

Page 3: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

3

APIs at the core of many privacy headlines

New York Times

New York Times

Slate

The Guardian…

Page 4: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

• Companies are tightening API Access

– Facebook revoked API access to thousands of apps

– Twitter tightens vetting of third-parties seeking data

– GDPR spurred companies to evaluate data practices

4

APIs at the core of many privacy headlines

Page 5: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

5

• How APIs work• How websites and apps use APIs

to gather, share, and utilize data• What companies learn about

users

Report: APIs and Your Privacy

Page 6: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

6

• How APIs work• How websites and apps use APIs

to gather, share, and utilize data• What companies learn about

users

Focus:• APIs for third-party developers• APIs for advertisers

Report: APIs and Your Privacy

Page 7: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

7

Facebook (social media website/app)

Google Search (online search engine)

Google Maps (location-based service)

Amazon.com (online shopping)

Netflix (video streaming)

Candy Crush Saga (mobile game)

Pandora (music streaming)

CNN.com (online news)

ESPN.com (sports website)

Tinder (dating mobile app)

Venmo (mobile payment app)

Approach

Analyzed APIs of popular services in different categories

Page 8: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

8

• A predefined way for two services or components to communicate and interact with one another

• APIs are the common way for interconnecting two or more services

What Are APIs?

Page 9: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

9

• A service may have a feature or tool it wants to make available to other websites or applications

• Service defines set of allowed interactions and a protocol for using the feature/tool – the API

• Other websites/ applications use the API to use the service

How Do APIs Work?

Page 10: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

10

We use predefined protocols in many parts of our lives

How Do APIs Work?

https://www.wikihow.com/Mail-a-Letter

Page 11: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

11

Similar: using APIs to have online services interact

How Do APIs Work?

Page 12: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

12

Similar: using APIs to have online services interact

How Do APIs Work?

Page 13: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

13

Similar: using APIs to have online services interact

How Do APIs Work?

1. You visit KayakRental.com

Page 14: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

14

Similar: using APIs to have online services interact

How Do APIs Work?

1. You visit KayakRental.com

2. KayakRental.comneeds data from GetWeather.com

Page 15: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

15

Similar: using APIs to have online services interact

How Do APIs Work?

1. You visit KayakRental.com

2. KayakRental.comneeds data from GetWeather.com

3. KayakRental.comrequests weather for

zip code 12345 through GetWeather API

Page 16: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

16

Similar: using APIs to have online services interact

How Do APIs Work?

1. You visit KayakRental.com

2. KayakRental.comneeds data from GetWeather.com

3. KayakRental.comrequests weather for

zip code 12345 through GetWeather API

4. GetWeather.comsends weather data

Page 17: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

17

• Developers of websites, apps, and other platforms may access your data through APIs

• Advertisers on these platforms may also access information about you from popular websites and apps

How Do APIs Work?

Page 18: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

18

• Developers of websites, apps, and other platforms may access your data through APIs

• Advertisers on these platforms may also access information about you from popular websites and apps

• In addition, websites and apps may learn more information about you from those developers and advertisers utilizing their APIs

How Do APIs Work?

Page 19: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

19

Four main types:

• Content-focused APIs• Feature APIs• Unofficial APIs• Analytics APIs

Developer APIs

Page 20: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

20

• Provide access to content, such as news stories• Do not directly share user data with the developer

Content-focused APIs

ESPN API shutdown 2014

Page 21: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

21

• Allow websites or apps to integrate other services’ features

Feature APIs

Page 22: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

22

• Some of these APIs share your data with the third-party developer:

– Facebook Login: your public profile and email address– Amazon In-App Purchases: User ID, location, currency

• But this is conservative

Feature APIs

Page 23: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

23

• Internal APIs that are discovered, documented, and used by third-parties for an unintended purpose

Unofficial APIs

Tinderbox

Page 24: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

24

• Internal APIs that are discovered, documented, and used by third-parties for an unintended purpose

Unofficial APIs

Page 25: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

25

• Note: if you use a third-party application to sign into your account that application will have complete access to your account

• Also true for official third-party applications

Unofficial APIs

Page 26: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

26

• Note: if you use a third-party application to sign into your account that application will have complete access to your account

• Also true for official third-party applications

Unofficial APIs

Page 27: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

27

• Open APIs

Unofficial APIs

Public by Default, Hang Do Thi Duc

Page 28: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

28

• Facebook and Google offer analytics APIs:– Third-party developers add invisible code to their website or app– Facebook or Google tracks visitors and shares aggregate

statistics with the developer

Analytics APIs

Page 29: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

29

• Developers are incentivized by audience insights to use these analytics APIs

• Analytics platforms track users across the web– Of top 1m websites (in 2016):

• 75% have Google Analytics• 25% have Facebook Analytics

Engelhard & Narayanan CCS 2016 (https://webtransparency.cs.princeton.edu/webcensus/)

Analytics APIs

Page 30: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

30

• Some services offer no third-party APIs– They may wish to keep their content only within their own

products

No APIs Offered

Page 31: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

31

• APIs allow companies to exchange functionality and data, some of which is about you

• By using a service’s APIs, developers allow those companies to see more of your online browsing habits

• Because their APIs are so popular, large companies like Google and Facebook have an insight into most of what you look at online

Developer APIs Summary

Page 32: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

32

• APIs can help generate advertising revenue:– Platforms collect and organize your information into categorized

profiles– Advertisers refine audience selection for marketing products and

services– Platforms generate revenue by permitting advertisers to reach

their desired audience

APIs and Advertising

Page 33: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

33

• APIs allow advertisers to target their intended audience more precisely

• Two benefits:– Showing interesting products– Reduce costs while increasing conversion rates

• Additionally, platforms often make user data analytical tools available to advertisers

APIs and Advertising

Page 34: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

34

• Revenue-sharing between platform and content creators

Internal Monetization

Page 35: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

35

• Placing a price on products and services– Add-ons– Indirect monetization– Direct monetization

External Monetization

Page 36: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

36

• Create user profiles based on users’ online behavior• By collecting and sifting through your data, marketing APIs

enable advertisers to target you and collect your information

Marketing APIs

Page 37: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

37

• APIs allow platforms to collect data to narrowly categorize their users

• Advertisers pay platforms to target specific audiences with their advertisements

Advertiser Access

Audience-specific targeting options of ComCast Spotlight (used by CNN.com and ESPN.com)

Page 38: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

38

• Advertisers may access your data through APIs: – Some platforms make data available for targeting– Advertisers can also embed tools, like cookies, into their ads to

share and collect more of your data– Advertisers may also receive your data through analytics tools

offered by platforms

Advertiser Access

Page 39: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

39

• APIs help platforms collect data about you and categorize you into user profiles marketable to advertisers.

• APIs allow advertisers to target specific audiences and may enable them to access your data.

Advertising APIs Summary

Page 40: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

40

• APIs are essential for integration of online services

Observations and Conclusions

Page 41: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

41

• APIs are essential for integration of online services

• APIs can be used by developers and advertisers to collect your personal data from popular websites and apps

Observations and Conclusions

Page 42: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

42

• APIs are essential for integration of online services

• APIs can be used by developers and advertisers to collect your personal data from popular websites and apps

• APIs can be used by websites and apps to get information about you from platforms and advertisers

Observations and Conclusions

Page 43: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

43

• APIs enable enhanced user tracking– website to website – app to app – website to app to website

Observations and Conclusions

Page 44: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

44

• APIs enable enhanced user tracking– website to website – app to app – website to app to website

• This data is aggregated by online services and advertisers– Large companies can compile all data about you in one place– Companies offer advertisers thousands of audience filters

Observations and Conclusions

Page 45: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

45

• Companies may play several different roles– Service provider– Data aggregator and profiler– Advertising platform provider– Data broker

Observations and Conclusions

Page 46: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

46

• APIs are an inherent part of the online ecosystem

• Their privacy implications deserve closer scrutiny

Observations and Conclusions

Page 47: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

47

• What can consumers do?– consider what companies might learn about you

• from data you provide directly to them• From data they might be gathering implicitly about you

– use privacy settings – if available – to limit data use and sharing

Observations and Conclusions

Page 48: APIs and Your Privacy - The Policy Forum at AT&T · • APIs allow companies to exchange functionality and data, some of which is about you • By using a service’s APIs, developers

APIs and Your Privacy

Thomas NortonExecutive DirectorFordham Center on Law and Information Policy

Florian SchaubAssistant ProfessorUniversity of Michigan School of Information

Download the report: http://law.fordham.edu/apiprivacy