Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 1 Deploying P3P.

Slides:



Advertisements
Similar presentations
Web Privacy with P3P Lorrie Faith Cranor P3P Specification Working Group Chair AT&T Labs-Research July 2002
Advertisements

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2005 Lorrie Cranor 1 Privacy Authorization Languages.
U.S. Department of Commerce Web Advisory Group Implementing Machine Readable Privacy Requirements of the E-Gov Act.
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
Back to Table of Contents
P3P Implementation Tips : Observations for approaching Design, Build and Deploy PricewaterhouseCoopers Brendon Lynch.
Identity Management Based on P3P Authors: Oliver Berthold and Marit Kohntopp P3P = Platform for Privacy Preferences Project.
Minding Your Own Business The Platform for Privacy Preferences Project and Privacy Minder Lorrie Faith Cranor AT&T Labs-Research
IDK0040 Võrgurakendused I RSS 2.0 Deniss Kumlander.
Project 1 Introduction to HTML.
Tutorial 6 Working with Web Forms
Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 1 Web Privacy.
Lorrie Cranor 1 Introduction to P3P Lorrie Faith Cranor.
Implementing P3P Using Database Technology Rakesh Agrawal Jerry Kiernan Ramakrishnan Srikant Yirong Xu Presented by Yajie Zhu 03/24/2005.
Web Page Behavior IS 373—Web Standards Todd Will.
Institute of Information Systems, Humboldt University, 2006· Privacy Engineering Sarah Spiekermann & Lorrie Faith Cranor DIMACS Workshop, Rutgers University.
Python and Web Programming
C MU U sable P rivacy and S ecurity Laboratory 1 Privacy Policy, Law and Technology Deploying P3P on Web Sites October 7, 2008.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
An Analysis of P3P Deployment Hyun Jin Kim Sensitive Information in a Wired World November 11, 2003.
Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 1 Privacy Policy.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
The Internet & The World Wide Web Notes
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Automated Tracking of Online Service Policies J. Trent Adams 1 Kevin Bauer 2 Asa Hardcastle 3 Dirk Grunwald 2 Douglas Sicker 2 1 The Internet Society 2.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Privacy Preferences Edgardo Vega Usable Security – CS 6204 – Fall, 2009 – Dennis.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
WEB ANALYTICS Prof Sunil Wattal. Business questions How are people finding your website? What pages are the customers most interested in? Is your website.
P3P Soundbytes : Observations for approaching Design, Build and Deploy PricewaterhouseCoopers Ruth Nelson.
P3P A New Standard in Online Privacy Overview and Demos from Summer 2000.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
Privacy Policy, Law and Technology Carnegie Mellon University Fall 2004 Lorrie Cranor 1 P3P 2 Week 6 - October 12,
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Privacy Policy, Law and Technology Carnegie Mellon University Fall 2004 Lorrie Cranor 1 P3P I Week 6 - October.
Privacy, P3P and Internet Explorer 6 P3P Briefing – 11/16/01.
Web HTTP Hypertext Transfer Protocol. Web Terminology ◘Message: The basic unit of HTTP communication, consisting of structured sequence of octets matching.
The Future of P3P Ari Schwartz Center for Democracy and Technology Lorrie Faith Cranor AT&T Labs-Research November 2002.
How P3P Works Lorrie Faith Cranor P3P Specification Working Group Chair AT&T Labs-Research 4 February 2002
P3P & Internet Explorer 6.0 New York – Feb. 4, 2002.
1 WS-Privacy Paul Bui Ryan Dickey. 2 Agenda  WS-Privacy  Introduction to P3P  How P3P Works  P3P Details  A P3P Scenario  Conclusion  References.
User Interfaces for Privacy Design and Evaluation of the AT&T Privacy Bird P3P User Agent Lorrie Faith Cranor AT&T Labs-Research
JAVA SERVER PAGES. 2 SERVLETS The purpose of a servlet is to create a Web page in response to a client request Servlets are written in Java, with a little.
Use of a P3P User Agent by Early Adopters Lorrie Faith Cranor Manjula Arjula Praven Guduru AT&T Labs November 2002.
Lecture 8 – Cookies & Sessions SFDV3011 – Advanced Web Development 1.
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
12 Developing a Web Site Section 12.1 Discuss the functions of a Web site Compare and contrast style sheets Apply cascading style sheets (CSS) to a Web.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Log files presented to : Sir Adnan presented by: SHAH RUKH.
Privacy Policy, Law and Technology Carnegie Mellon University Fall 2005 Lorrie Cranor 1 Introduction to P3P Week.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
U.S. Department of Commerce Web Advisory Group Minding Your Own Business The Platform for Privacy Preferences Project.
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
The Platform for Privacy Preferences (P3P) Workshop on the Relationship between Privacy and Security Lorrie Faith Cranor P3P Specification Working Group.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Introduction Web analysis includes the study of users’ behavior on the web Traffic analysis – Usage analysis Behavior at particular website or across.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
CMPE 494 Service-Oriented Architectures and Web Services Platform for Privacy Preferences Project (P3P) İDRİS YILDIZ
In this session, you will learn to:
Chapter 1 Introduction to HTML.
How P3P Works Lorrie Faith Cranor P3P Specification Working Group Chair AT&T Labs-Research 4 February
Project 1 Introduction to HTML.
Web Caching? Web Caching:.
The Platform for Privacy Preferences Project
Presentation transcript:

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 1 Deploying P3P on Web Sites October 2, 2007

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 2 P3P: Enabling your web site – overview and options P3P deployment overview 1.Create a privacy policy 2.Analyze the use of cookies and third-party content on your site 3.Determine whether you want to have one P3P policy for your entire site or different P3P policies for different parts of your site 4.Create a P3P policy (or policies) for your site 5.Create a policy reference file for your site 6.Configure your server for P3P 7.Test your site to make sure it is properly P3P enabled

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 3 P3P: Enabling your web site – overview and options One policy or many? P3P allows policies to be specified for individual URLs or cookies One policy for entire web site (all URLs and cookies) is easiest to manage Multiple policies can allow more specific declarations about particular parts of the site Multiple policies may be needed if different parts of the site have different owners or responsible parties (universities, CDNs, etc.)

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 4 Third-party content Third-party content should be P3P-enabled by the third-party If third-party content sets cookies, IE6 will block them by default unless they have P3P compact policy Your first-party cookies may become third- party cookies if your site is framed by another site, a page is sent via , etc. P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 5 Cookies and P3P P3P policies must declare all the data stored in a cookie as well as any data linked via the cookie P3P policies must declare all uses of stored and linked cookie data Sites should not declare cookie-specific policies unless they are sure they know where their cookies are going! Watch out for domain-level cookies Most sites will declare broad policy that covers both URLs and cookies P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 6 Generating a P3P policy Edit by hand Cut and paste from an example Use a P3P policy generator Recommended: IBM P3P policy editor Generate compact policy and policy reference file the same way (by hand or with policy editor) Get a book Web Privacy with P3P by Lorrie Faith Cranor P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 7 Sites can list the types of data they collect And view the corresponding P3P policy IBM P3P Policy Editor VI. P3P Deployment – Client Examples P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 8 Locating the policy reference file Place policy reference file in “well known location” /w3c/p3p.xml Most sites will do this Use special P3P HTTP header Recommended only for sites with unusual circumstances, such as those with many P3P policies Embed link tags in HTML files Recommended only for sites that exist as a directory on somebody else’s server (for example, a personal home page) P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 9 Compact policies HTTP header with short summary of full P3P policy for cookies (not for URLs) Not required Must be used in addition to full policy Must commit to following policy for lifetime of cookies May over simplify site’s policy IE6 relies heavily on compact policies for cookie filtering – especially an issue for third-party cookies P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 10 Server configuration Only needed for compact policies and/or sites that use P3P HTTP header Need to configure server to insert extra headers Procedure depends on server – see P3P Deployment Guide appendix or Appendix B of Web Privacy with P3P P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 11 Don’t forget to test! Make sure you use the P3P validator to check for syntax errors and make sure files are in the right place But validator can’t tell whether your policy is accurate Use P3P user agents to view your policy and read their policy summaries carefully Test multiple pages on your site P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 12 XML syntax basics Sometimes data goes between opening and closing tags P3P: Policy syntax Element opening tag Element closing tag (beginning slash) Attribute Element that doesn’t contain other elements (ending slash) Comment Element that contains character data

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 13 Assertions in a P3P policy General assertions Location of human-readable policies and opt-out mechanisms – discuri, opturi attributes of Indication that policy is for testing only – (optional) Web site contact information – Access information – Information about dispute resolution – (optional) Data-Specific Assertions Consequence of providing data – (optional) Indication that no identifiable data is collected – (optional) How data will be used – With whom data may be shared – Whether opt-in and/or opt-out is available – required attribute of and Data retention policy – What kind of data is collected – P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 14 Structure of a P3P policy TEST ENTITY POLICY attributes ACCESS DISPUTES-GROUP STATEMENT additional STATEMENT elements POLICY = mandatory element = optional element (not all optional elements are shown) DISPUTES REMEDIES additional DISPUTES elements DISPUTES-GROUP CONSEQUENCE NON-IDENTIFIABLE PURPOSE RECIPIENT RETENTION DATA-GROUP STATEMENT

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 15 Example privacy policy We do not currently collect any information from visitors to this site except the information contained in standard web server logs (your IP address, referer, information about your web browser, information about your HTTP requests, etc.). The information in these logs will be used only by us and the server administrators for website and system administration, and for improving this site. It will not be disclosed unless required by law. We may retain these log files indefinitely. Please direct questions about this privacy policy to P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 16 P3P/XML encoding P3P: Policy syntax <POLICY discuri=" name="policy"> <DATA <DATA ref="#business.contact-info.online.uri"> Web Privacy With P3P We keep standard web server logs. P3P version Location of human-readable privacy policy P3P policy name Site’s name and contact info Access disclosure Statement Human-readable explanation How data may be used Data recipients Data retention policy Types of data collected

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 17 The POLICY element Contains a complete P3P policy Takes mandatory discuri attribute indicates location of human- readable privacy policy Takes opturi attribute (mandatory for sites with opt-in or opt-out) Indicates location of opt-in/opt- out policy Takes mandatory name attribute Sub-Elements,,,,,,,, Example P3P: Policy syntax TEST ENTITY POLICY attributes ACCESS DISPUTES-GROUP STATEMENT additional STATEMENT elements POLICY

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 18 The TEST element Used for testing purposes Presence indicates that policy is for testing purposes and MUST be ignored Prevents misunderstandings during initial P3P deployment P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 19 The ENTITY element Identifies the legal entity making the representation of the privacy practices contained in the policy Uses the business.name data element and (optionally) other fields in the business data set (at least one piece of contact info required) Example CatalogExample P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 20 The ACCESS Element Indicates the ability of individuals to access their data Example P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 21 The DISPUTES Element Describes a dispute resolution procedure may be followed for disputes about a service’s privacy practices Part of a allows multiple dispute resolution procedures to be listed Attributes: resolution-type  customer service  independent organization  court  applicable law service short-description (optional) Verification (optional) Sub-Elements (optional) P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 22 The REMEDIES element Sub element of DISPUTES element Specifies possible remedies in case a policy breach occurs,, Example of DISPUTES and REMEDIES P3P: Policy syntax DISPUTES REMEDIES additional DISPUTES elements DISPUTES-GROUP

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 23 The STATEMENT element Data practices applied to data elements mostly serves as a grouping mechanism Contains the following sub-elements (optional) P3P: Policy syntax CONSEQUENCE NON-IDENTIFIABLE PURPOSE RECIPIENT RETENTION DATA-GROUP STATEMENT

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 24 The CONSEQUENCE element Consequences that can be shown to a human user to explain why the suggested practice may be valuable in a particular instance, even if the user would not normally allow the practice Example We offer a 10% discount to all individuals who join our Cool Deals Club and allow us to send them information about cool deals that they might be interested in. P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 25 The NON-IDENTIFIABLE element Can optionally be used to declare that no data or no identifiable data is collected non-identifiable: there is no reasonable way to attach collected data to identity of a natural person, even with assistance from a third-party Stronger requirements than non-identified Must have a human readable explanation how this is done at the discuri Other STATEMENT elements are optinal when NON-IDENTIFIABLE is present P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 26 The PURPOSE element Purposes of data collection, or uses of data Optional attribute: required  always (default)  opt-in  opt-out Example P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 27 Customization purposes P3P: Policy syntax PurposeDoes this involve creating a profile of the user? How is the user identified? Does this result in a decision that directly affects the user? Research and development Nouser is not identifiedNo One-time tailoringNo user may not be identified at all, or may be identified with a pseudonym or with personally-identifiable information Yes Pseudonymous analysis YespseudonymNo Pseudonymous decision YespseudonymYes Individual analysisYespersonally- identifiable information No Individual decisionYespersonally- identifiable information Yes

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 28 The RECIPIENT element Recipients of the collected data Optional attribute required  always (default)  opt-in  opt-out Optional sub-element Example FedEx P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 29 The RETENTION element Indicates the kind or retention policy that applies to the referenced data Example Requires publishing of destruction timetable linked from human- readable privacy policy P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 30 The DATA element Describes the data to be transferred or inferred Contained in a DATA-GROUP Attributes: ref optional (optional, default is no, not optional=required) Sub-Elements: Example P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 31 The CATEGORIES element Physical contact information Online contact information Unique identifiers Purchase information Financial information Computer information Navigation and click-stream data Interactive data Demographic and socio- economic data Content State management mechanisms Political information Health information Preference data Government-issued identifiers Location information other Provides hints to user agents as to the intended uses of the data P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 32 Base Data Schema User data – user name, bdate, cert, gender, employer, department, jobtitle, home-info, business-info Third party data – thirdparty Same as user Business data – business name, department, cert, contact-info Dynamically generated - Dynamic clickstream, http, clientevents, cookies, miscdata, searchtext, interactionrecord P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 33 dynamic.miscdata Used to represent data described only by category (without any other specific data element name) Must list applicable categories Example P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 34 Custom data schemas You can define your own data elements Not required – you can always use categories May be useful to make specific disclosures, interface with back-end databases, etc. Use the element Embedded in a policy file or in a stand-alone XML file P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 35 Extension mechanism describes extension to P3P syntax optional attribute indicates whether the extension is mandatory or optional (default is optional="yes" ) Optional extensions may be safely ignored by user agents that don’t understand them Only useful if user agents or other P3P tools know what to do with them Example (IBM GROUP-INFO extension used to add name attribute to STATEMENT elements)... P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 36 Compact policy syntax Part of P3P Header P3P: CP="NON NID DSP NAV CUR" Represents subset of P3P vocabulary ACCESS (NOI ALL CAO IDC OTI NON) CATEGORIES (PHY ONL UNI PUR... OTC) DISPUTES (DSP) NON-IDENTIFIABLE (NID) PURPOSE (CUR ADM DEV CUS... OTP) aio RECIPIENT (OUR DEL SAM UNR PUB OTR) aio REMEDIES (COR MON LAW) RETENTION (NOR STP LEG BUS IND) TEST (TST) P3P: Policy syntax

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 37 Policy reference files (PRF) Allows web sites to indicate which policy applies to each resource (URL or cookie) Every resource (HTML page, image, sound, form action URL, etc.) can have its own policy User agents can cache PRFs (as long as permitted by EXPIRY ) so they don’t have to fetch a new PRF every time a user clicks P3P: Policy reference files

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 38 PRF elements Determines how long PRF is valid – default is 24 hours Provides URL of policy in about attribute, URL prefixes (local) to which policy applies/doesn’t apply, Associates / disassociates cookies with policy – if you want a policy to apply to a cookie, you must use ! HTTP methods to which policy applies Provides URLs of PRFs for third-party content P3P: Policy reference files

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 39 PRF example P3P: Policy reference files / /news/* /news/top/* /news/top/* /photos/* /ads/*

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 40 Policy updates Changing your P3P policy is difficult, but possible New policy applies only to new data (old policy applies to old data unless you have informed consent to apply new policy) Technically you can indicate exact moment when old policy will cease to apply and new policy will apply But, generally it’s easiest to have a policy phase- in period where your practices are consistent with both policies Default policy life time is 24 hours, so phase-in period would be just one day for most sites P3P: Enabling your web site – overview and options

Privacy Policy, Law and Technology Carnegie Mellon University Fall 2007 Lorrie Cranor 41 Class exercise Create a P3P policy for a web site that has a fairly complete privacy policy but no P3P policy For example, What questions do you need to ask someone from that company? How will you group data into statements? Where will you put the PRF?