slides/slides07.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 19 Nov 2013 03:05:48 +0000
changeset 135 e78af5feb655
parent 90 d1d07f05325a
child 136 058504a45c34
permissions -rw-r--r--
added
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{proof}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     3
\usepackage{beamerthemeplaincu}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     4
%\usepackage[T1]{fontenc}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     5
%\usepackage[latin1]{inputenc}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage{mathpartir}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{isabelle}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usepackage{isabellesym}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage[absolute,overlay]{textpos}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{ifthen}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{tikz}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\usepackage{courier}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\usepackage{listings}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\usetikzlibrary{arrows}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\usetikzlibrary{positioning}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\usetikzlibrary{calc}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\usepackage{graphicx} 
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
    18
\usetikzlibrary{shapes}
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
    19
\usetikzlibrary{shadows}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
    20
\usetikzlibrary{plotmarks}
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
    21
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\isabellestyle{rm}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\renewcommand{\isastyle}{\rm}%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\renewcommand{\isastyleminor}{\rm}%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
\renewcommand{\isatagproof}{}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
\renewcommand{\endisatagproof}{}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
\renewcommand{\isamarkupcmt}[1]{#1}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    30
\newcommand{\isaliteral}[1]{}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    31
\newcommand{\isactrlisub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    32
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
% Isabelle characters
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
\renewcommand{\isacharunderscore}{\_}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
\renewcommand{\isacharbar}{\isamath{\mid}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
\renewcommand{\isasymiota}{}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
\renewcommand{\isacharbraceleft}{\{}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
\renewcommand{\isacharbraceright}{\}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
\renewcommand{\isacharless}{$\langle$}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
\renewcommand{\isachargreater}{$\rangle$}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\renewcommand{\isasymsharp}{\isamath{\#}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
\renewcommand{\isasymdots}{\isamath{...}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
\renewcommand{\isasymbullet}{\act}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
\definecolor{javared}{rgb}{0.6,0,0} % for strings
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
\lstset{language=Java,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
	basicstyle=\ttfamily,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
	keywordstyle=\color{javapurple}\bfseries,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
	stringstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
	commentstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
	morecomment=[s][\color{javadocblue}]{/**}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
	numbers=left,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
	numberstyle=\tiny\color{black},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
	stepnumber=1,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
	numbersep=10pt,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
	tabsize=2,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
	showspaces=false,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
	showstringspaces=false}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
\lstdefinelanguage{scala}{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
  morekeywords={abstract,case,catch,class,def,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
    do,else,extends,false,final,finally,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
    for,if,implicit,import,match,mixin,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
    new,null,object,override,package,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
    private,protected,requires,return,sealed,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
    super,this,throw,trait,true,try,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
    type,val,var,while,with,yield},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  otherkeywords={=>,<-,<\%,<:,>:,\#,@},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  sensitive=true,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  morecomment=[l]{//},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
  morecomment=[n]{/*}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
  morestring=[b]",
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
  morestring=[b]',
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
  morestring=[b]"""
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
\lstset{language=Scala,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
	basicstyle=\ttfamily,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
	keywordstyle=\color{javapurple}\bfseries,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
	stringstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
	commentstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
	morecomment=[s][\color{javadocblue}]{/**}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
	numbers=left,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
	numberstyle=\tiny\color{black},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
	stepnumber=1,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
	numbersep=10pt,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
	tabsize=2,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
	showspaces=false,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
	showstringspaces=false}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
% beamer stuff 
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    99
\renewcommand{\slidecaption}{APP 07, King's College London, 19 November 2013}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
\newcommand{\bl}[1]{\textcolor{blue}{#1}}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   102
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   103
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   104
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
\begin{document}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
\begin{frame}<1>[t]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
\frametitle{%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
  \begin{tabular}{@ {}c@ {}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
  \\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
  \LARGE Access Control and \\[-3mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
  \LARGE Privacy Policies (7)\\[-6mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  \end{tabular}}\bigskip\bigskip\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
  %\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  %\includegraphics[scale=1.3]{pics/barrier.jpg}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
  %\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
\normalsize
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  \begin{tabular}{ll}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  Email:  & christian.urban at kcl.ac.uk\\
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   125
  Office: & S1.27 (1st floor Strand Building)\\
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
  Slides: & KEATS (also homework is there)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
  \end{tabular}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
 
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   134
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   135
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   136
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   137
  \frametitle{}
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   138
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   139
  Recall the following scenario:
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   140
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   141
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   142
  \item If \textcolor{blue}{Admin} says that \textcolor{blue}{\isa{file}} 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   143
  should be deleted, then this file must be deleted.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   144
  \item \textcolor{blue}{Admin} trusts \textcolor{blue}{Bob} to decide whether 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   145
  \textcolor{blue}{\isa{file}} should be deleted (delegation).
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   146
  \item \textcolor{blue}{Bob} wants to delete \textcolor{blue}{\isa{file}}.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   147
  \end{itemize}\bigskip
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   148
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   149
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   150
  \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\small\begin{tabular}{l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   151
  \isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}},\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   152
  \isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ {\isaliteral{28}{\isacharparenleft}}{\isaliteral{28}{\isacharparenleft}}Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}{\isaliteral{29}{\isacharparenright}}{\isaliteral{29}{\isacharparenright}}},\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   153
  \isa{Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   154
  \end{tabular}}\medskip
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   155
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   156
  \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   157
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   158
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   159
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   160
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   161
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   162
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   163
\frametitle{\begin{tabular}{@ {\hspace{-2mm}}c@ {}}The Access Control Problem\end{tabular}}
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   164
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   165
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   166
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   167
  \begin{tikzpicture}[scale=1]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   168
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   169
  \draw[line width=1mm] (-.3, -0.5) rectangle (1.5,2);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   170
  \draw (-2.7,1) node {\begin{tabular}{l}access\\request\\ (\bl{$F$})\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   171
  \draw (4.2,1) node {\begin{tabular}{l}provable/\\not provable\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   172
  \draw (0.6,0.8) node {\footnotesize \begin{tabular}{l}AC-\\ Checker:\\ applies\\ inference\\ rules\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   173
 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   174
  \draw[red, ->, line width = 2mm] (1.7,1) -- (2.7,1); 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   175
  \draw[red,<-, line width = 2mm] (-0.6,1) -- (-1.6,1);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   176
  \draw[red, <-, line width = 3mm] (0.6,2.2) -- (0.6,3.2); 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   177
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   178
  \draw (0.6,4) node {\begin{tabular}{l}\large Access Policy (\boldmath\bl{$\Gamma$})\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   179
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   180
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   181
\end{center}
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   182
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   183
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   184
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   185
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   186
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   187
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   188
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   189
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   190
\item \bl{$P \,\text{says}\, F$} means \bl{$P$} can send a ``signal'' \bl{$F$} through a wire, or
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   191
can make a ``statement'' \bl{$F$}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   192
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   193
\item \bl{$P$} is entitled to do \bl{$F$}\smallskip\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   194
\bl{$P \,\text{controls}\, F \,\dn\, (P\,\text{says}\, F) \Rightarrow F$}\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   195
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   196
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   197
\bl{\infer{\Gamma \vdash F}{\Gamma \vdash P\,\text{controls}\, F & \Gamma \vdash P\,\text{says}\,F}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   198
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   199
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   201
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   202
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   203
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   204
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   205
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   206
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   207
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   208
  \begin{frame}[c]
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   209
  \frametitle{Security Levels}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   210
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   211
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   212
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   213
  \item Top secret (\bl{$T\!S$})
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   214
  \item Secret (\bl{$S$})
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   215
  \item Public (\bl{$P$})
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   216
  \end{itemize}
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   217
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   218
  \begin{center}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   219
  \bl{$slev(P) < slev(S) < slev(T\!S)$}\pause
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   220
  \end{center}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   221
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   222
  \begin{itemize}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   223
  \item Bob has a clearance for ``secret''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   224
  \item Bob can read documents that are public or sectret, but not top secret
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   225
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   226
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   227
  \end{frame}}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   228
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   229
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   230
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   231
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   232
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   233
  \frametitle{Reading a File}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   234
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   235
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   236
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   237
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   238
  \only<2->{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$}}\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   239
  \only<2->{\hspace{3cm}}Bob controls Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   240
  Bob says Permitted $($File, read$)$\only<2->{\\}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   241
  \only<2>{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   242
  \only<3>{\textcolor{red}{$slev($File$)$ $=$ $P$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   243
  \only<3>{\textcolor{red}{$slev($Bob$)$ $=$ $S$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   244
  \only<3>{\textcolor{red}{$slev(P)$ $<$ $slev(S)$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   245
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   246
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   247
  Permitted $($File, read$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   248
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   249
  \end{center}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   250
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   251
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   252
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   253
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   254
66
Christian Urban <urbanc@in.tum.de>
parents: 65
diff changeset
   255
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   257
  \mode<presentation>{
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   258
  \begin{frame}[c]
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   259
  \frametitle{Substitution Rule}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   260
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   261
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   262
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   263
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   264
  $\Gamma \vdash slev(P) = l_1$ \hspace{4mm} $\Gamma \vdash slev(Q) = l_2$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   265
  \hspace{4mm} $\Gamma \vdash l_1 < l_2$\\\hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   266
  $\Gamma \vdash slev(P) < slev(Q)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   267
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   268
  \end{center}}\bigskip\pause
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   269
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   270
  \begin{itemize}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   271
  \item \bl{$slev($Bob$)$ $=$ $S$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   272
  \item \bl{$slev($File$)$ $=$ $P$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   273
  \item \bl{$slev(P) < slev(S)$}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   274
  \end{itemize}
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   275
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   276
  \end{frame}}
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   277
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   278
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   279
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   280
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   281
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   282
  \frametitle{Reading a File}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   283
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   284
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   285
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   286
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   287
  $slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   288
  \hspace{3cm}Bob controls Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   289
  Bob says Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   290
  $slev($File$)$ $=$ $P$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   291
  $slev($Bob$)$ $=$ $T\!S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   292
  \only<1>{\textcolor{red}{$?$}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   293
  \only<2>{\textcolor{red}{$slev(P) < slev(S)$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   294
  \only<2>{\textcolor{red}{$slev(S) < slev(T\!S)$}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   295
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   296
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   297
  Permitted $($File, read$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   298
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   299
  \end{center}}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   300
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   301
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   302
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   303
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   304
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   305
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   306
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   307
  \frametitle{Transitivity Rule}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   308
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   309
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   310
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   311
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   312
  $\Gamma \vdash l_1 < l_2$ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   313
  \hspace{4mm} $\Gamma \vdash l_2 < l_3$\\\hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   314
  $\Gamma \vdash l_1 < l_3$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   315
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   316
  \end{center}}\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   317
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   318
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   319
  \item \bl{$slev(P) < slev (S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   320
  \item \bl{$slev(S) < slev (T\!S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   321
  \item[] \bl{$slev(P) < slev (T\!S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   322
  \end{itemize}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   323
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   324
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   325
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   326
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   327
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   328
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   329
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   330
  \frametitle{Reading Files}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   331
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   332
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   333
  \item Access policy for Bob for reading
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   334
  \end{itemize}
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   335
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   336
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   337
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   338
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   339
  $\forall f.\;slev(f)$ \only<1>{$<$}\only<2>{\textcolor{red}{$\le$}} $slev($Bob$)$ $\Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   340
  \hspace{3cm}Bob controls Permitted $(f$, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   341
  Bob says Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   342
  $slev($File$)$ $=$ \only<1>{$P$}\only<2>{\textcolor{red}{$T\!S$}}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   343
  $slev($Bob$)$ $=$ $T\!S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   344
  $slev(P) < slev(S)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   345
  $slev(S) < slev(T\!S)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   346
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   347
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   348
  Permitted $($File, read$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   349
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   350
  \end{center}}
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   351
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   352
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   353
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   354
%
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   355
67
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   356
2522dea979d0 updated
Christian Urban <urbanc@in.tum.de>
parents: 66
diff changeset
   357
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   358
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   359
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   360
  \frametitle{Writing Files}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   362
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   363
  \item Access policy for Bob for {\bf writing}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   364
  \end{itemize}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   366
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   367
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   368
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   369
  $\forall f.\;slev($Bob$)$ $\le$ $slev(f)$ $\Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   370
  \hspace{3cm}Bob controls Permitted $(f$, write$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   371
  Bob says Permitted $($File, write$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   372
  $slev($File$)$ $=$ $T\!S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   373
  $slev($Bob$)$ $=$ $S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   374
  $slev(P) < slev(S)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   375
  $slev(S) < slev(T\!S)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   376
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   377
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   378
  Permitted $($File, write$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   379
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   380
  \end{center}}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   382
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   383
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   384
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   385
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
  \frametitle{Encrypted Messages}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
  \item Alice sends a message \bl{$m$}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
  \bl{Alice says $m$}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
  \end{center}\medskip\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
  \item Alice sends an encrypted message \bl{$m$}\\ (with key \bl{$K$})
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
  \bl{Alice says $\{m\}_K$}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
  \end{center}\medskip\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
  \item Decryption of Alice's message\smallskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_K & \Gamma \vdash \text{Alice}\,\text{says}\,K}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
  \frametitle{Encryption}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
  \item Encryption of a message\smallskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_K}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
              {\Gamma \vdash \text{Alice}\;\text{says}\;m & \Gamma \vdash \text{Alice}\,\text{says}\,K}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   426
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   427
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   428
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   429
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   430
\frametitle{Trusted Third Party}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   431
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   432
Simple protocol for establishing a secure connection via a mutually
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   433
trusted 3rd party (server):
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   434
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   435
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   436
\begin{tabular}{@ {\hspace{-7mm}}l@{\hspace{2mm}}r@ {\hspace{1mm}}l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   437
Message 1 & \bl{$A \rightarrow S :$} & \bl{$A, B$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   438
Message 2 & \bl{$S \rightarrow A :$} & \bl{$\{K_{AB}\}_{K_{AS}}$} and \bl{$\{\{K_{AB}\}_{K_{BS}} \}_{K_{AS}}$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   439
Message 3 & \bl{$A \rightarrow B :$} & \bl{$\{K_{AB}\}_{K_{BS}} $}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   440
Message 4 & \bl{$A \rightarrow B :$} & \bl{$\{m\}_{K_{AB}}$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   441
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   442
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   443
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   444
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   445
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   446
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   447
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   448
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   449
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   450
  \frametitle{Sending Rule}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   451
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   452
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   453
  \mbox{\infer{\Gamma \vdash Q \;\text{says}\; F}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   454
              {\Gamma \vdash P \;\text{says}\; F & \Gamma \vdash P \;\text{sends}\; Q : F}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   455
  \end{center}}\bigskip\pause
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
  
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   457
  \bl{$P \,\text{sends}\, Q : F \dn$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   458
  \hspace{6mm}\bl{$(P \,\text{says}\, F) \Rightarrow (Q \,\text{says}\, F)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   459
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   460
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   461
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   462
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   463
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
  \frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
  \begin{center}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   469
  \bl{\begin{tabular}{l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   470
  $A$ sends $S$ : $\text{Connect}(A,B)$\\  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   471
  \bl{$S \,\text{says}\, (\text{Connect}(A,B) \Rightarrow$}\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   472
  \hspace{2.5cm}\bl{$\{K_{AB}\}_{K_{AS}} \wedge 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   473
  \{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}})$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   474
 $S$ sends $A$ : $\{K_{AB}\}_{K_{AS}}$ \bl{$\wedge$} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   475
  $A$ sends $B$ : $\{K_{AB}\}_{K_{BS}}$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   476
  $A$ sends $B$ : $\{m\}_{K_{AB}}$
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
  \end{tabular}}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   478
  \end{center}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   479
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   480
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   481
  \bl{$\Gamma \vdash B \,\text{says} \, m$}?
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   482
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   483
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   484
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   485
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   486
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   487
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   488
  \frametitle{Public/Private Keys}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   489
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   490
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   491
  \item Bob has a private and public key: \bl{$K_{Bob}^{pub}$}, \bl{$K_{Bob}^{priv}$}\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   492
  \begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   493
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   494
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_{K_{Bob}^{pub}} & 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   495
               \Gamma \vdash K_{Bob}^{priv}}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   496
  \end{center}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   497
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   498
  \item this is {\bf not} a derived rule! 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   499
  \end{itemize}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
  
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   504
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   505
%  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   506
%  \item Alice calls Sam for a key to communicate with Bob
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   507
%  \item Sam responds with a key that Alice can read and a key Bob can read (pre-shared)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   508
 % \item Alice sends the message encrypted with the key and the second key it recieved
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   509
 % \end{itemize}\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   510
  
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   513
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   514
  \frametitle{Sending Rule}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   516
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   517
  \bl{\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   518
  \mbox{\infer{\Gamma \vdash Q \;\textit{says}\; F}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   519
              {\Gamma \vdash P \;\textit{says}\; F & \Gamma \vdash P \;\textit{sends}\; Q : F}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   520
  \end{center}}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   521
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
  \bl{$P \,\text{sends}\, Q : F \dn$}\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
  \hspace{6mm}\bl{$(P \,\text{says}\, F) \Rightarrow (Q \,\text{says}\, F)$}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   524
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   525
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   526
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   527
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   529
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   531
  \frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   532
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   533
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   534
  \bl{\begin{tabular}{l}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   535
  $A$ sends $S$ : $\textit{Connect}(A,B)$\\  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   536
  \bl{$S \,\text{says}\, (\textit{Connect}(A,B) \Rightarrow$}\\ 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   537
  \hspace{2.5cm}\bl{$\{K_{AB}\}_{K_{AS}} \wedge 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   538
  \{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}})$}\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   539
 $S$ sends $A$ : $\{K_{AB}\}_{K_{AS}}$ \bl{$\wedge$} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   540
  $A$ sends $B$ : $\{K_{AB}\}_{K_{BS}}$\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   541
  $A$ sends $B$ : $\{m\}_{K_{AB}}$
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   542
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   543
  \end{center}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   544
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   545
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   546
  \bl{$\Gamma \vdash B \,\text{says} \, m$}?
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   547
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   548
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   549
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   550
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   551
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   552
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   553
  \frametitle{Challenge-Response Protocol}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   554
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   555
 \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   556
 \item an engine \bl{$E$} and a transponder \bl{$T$} share a key \bl{$K$}\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   557
 \item \bl{$E$} sends out a \alert{nonce} \bl{$N$} (random number) to \bl{$T$}\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   558
 \item \bl{$T$} responds with \bl{$\{N\}_K$}\bigskip
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   559
 \item if \bl{$E$} receives  \bl{$\{N\}_K$} from \bl{$T$}, it starts engine
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   560
 \end{itemize}	
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   561
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   562
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   563
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   566
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   567
  \begin{frame}[c]
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   568
  \frametitle{Challenge-Response Protocol}
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   570
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   571
  \bl{\begin{tabular}{l}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   572
  $E \;\text{says}\; N$\hfill(start)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   573
  $E \;\text{sends}\; T : N$\hfill(challenge)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   574
  $(T \;\text{says}\; N) \Rightarrow (T \;\text{sends}\; E : \{N\}_K \wedge$\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   575
  \hspace{3.5cm} $T \;\text{sends}\; E : \text{Id}(T))$\;\;\;\hfill(response)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   576
 $T \;\text{says}\; K$\hfill(key)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   577
 $T \;\text{says}\; \text{Id}(T)$\hfill(identity)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   578
  $(E \;\text{says}\; \{N\}_K \wedge E \;\text{says}\; \text{Id}(T)) \Rightarrow$\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   579
   \hspace{5cm}$ \text{start\_engine}(T)$\hfill(engine)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   580
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   581
  \end{center}\bigskip 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   582
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   583
  \bl{$\Gamma \vdash \text{start\_engine}(T)$}?
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   584
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   585
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   586
     
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   587
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   588
  \mode<presentation>{
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   589
  \begin{frame}[c]
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   590
  \frametitle{Exchange of a Fresh Key}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   591
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   592
\bl{$A$} and \bl{$B$} share a (``super-secret'') key \bl{$K_{AB}$} and want to share another key
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   593
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   594
 \begin{itemize}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   595
 \item assumption \bl{$K_{AB}$} is only known to \bl{$A$} and \bl{$B$}\bigskip 
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   596
 \item \bl{$A \,\text{sends}\, B :  A, \{N_A\}_{K_{AB}}$} 
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   597
 \item \bl{$B\,\text{sends}\, A : \{N_A + 1, N_B\}_{K_{AB}}$}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   598
 \item \bl{$A \,\text{sends}\, B : \{N_B + 1\}_{K_{AB}}$}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   599
  \item \bl{$B \,\text{sends}\, A : \{K^{new}_{AB}, N^{new}_B\}_{K_{AB}}$}
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   600
  \item<2> \bl{$A \,\text{sends}\, B : \{msg\}_{K^{new}_{AB}}$}
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   601
 \end{itemize}\bigskip
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   602
  
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   603
  Assume \bl{$K^{new}_{AB}$} is compromised by \bl{$I$}
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   604
  \end{frame}}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   605
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   606
     
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   607
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   608
  \mode<presentation>{
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   609
  \begin{frame}[c]
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   610
  \frametitle{The Attack}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   611
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   612
An intruder \bl{$I$} convinces \bl{$A$} to accept the compromised key \bl{$K^{new}_{AB}$}\medskip 
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   613
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   614
\begin{minipage}{1.1\textwidth}
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   615
\begin{itemize}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   616
 \item \bl{$A \,\text{sends}\, B :  A, \{N_A\}_{K_{AB}}$} 
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   617
 \item \bl{$B\,\text{sends}\, A : \{N_A + 1, N_B\}_{K_{AB}}$}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   618
 \item \bl{$A \,\text{sends}\, B : \{N_B + 1\}_{K_{AB}}$}
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   619
  \item \bl{$B \,\text{sends}\, A : \{K^{new}_{AB}, N^{new}_B\}_{K_{AB}}$}\;\;recorded by \bl{$I$}\pause
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   620
  \item \bl{$A \,\text{sends}\, B :  A, \{M_A\}_{K_{AB}}$} 
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   621
 \item \bl{$B\,\text{sends}\, A : \{M_A + 1, M_B\}_{K_{AB}}$}
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   622
 \item \bl{$A \,\text{sends}\, B : \{M_B + 1\}_{K_{AB}}$}
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   623
  \item \bl{$B \,\text{sends}\, I : \{K^{newer}_{AB}, N^{newer}_B\}_{K_{AB}}$}\;intercepted by \bl{$I$}
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   624
  \item \bl{$I \,\text{sends}\, A : \{K^{new}_{AB}, N^{new}_B\}_{K_{AB}}$}\pause
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   625
   \item \bl{$A \,\text{sends}\, B : \{msg\}_{K^{new}_{AB}}$}\;\;\;\;\bl{$I$} can read it also
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   626
 \end{itemize}	
69
53e7d51dbc10 updated
Christian Urban <urbanc@in.tum.de>
parents: 68
diff changeset
   627
 \end{minipage}
68
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   628
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   629
  \end{frame}}
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   630
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bc48791bb3a9 updated
Christian Urban <urbanc@in.tum.de>
parents: 67
diff changeset
   631
     
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   632
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   633
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   634
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   635
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   636
A Man-in-the-middle attack in real life:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   637
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   638
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   639
\item the card only says yes or no to the terminal if the PIN is correct
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   640
\item trick the card in thinking transaction is verified by signature
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   641
\item trick the terminal in thinking the transaction was verified by PIN
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   642
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   643
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   644
\begin{minipage}{1.1\textwidth}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   645
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   646
\mbox{}\hspace{-6mm}\includegraphics[scale=0.5]{pics/chip-attack.png}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   647
\includegraphics[scale=0.3]{pics/chipnpinflaw.png}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   648
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   649
\end{minipage}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   650
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   651
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   652
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   653
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   654
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   655
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   656
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   657
\frametitle{Problems with EMV}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   658
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   659
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   660
\item it is a wrapper for many protocols
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   661
\item specification by consensus (resulted unmanageable complexity)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   662
\item its specification is 700 pages in English plus 2000+ pages for testing, additionally some 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   663
further parts are secret
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   664
\item other attacks have been found
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   665
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   666
\item one solution might be to require always online verification of the PIN with the bank
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   667
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   668
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   669
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   670
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   671
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   672
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   673
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   674
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   675
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   676
\frametitle{\begin{tabular}{c}Problems with WEP (Wifi)\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   677
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   678
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   679
\item a standard ratified in 1999
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   680
\item the protocol was designed by a committee not including cryptographers
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   681
\item it used the RC4 encryption algorithm which is a stream cipher requiring a unique nonce
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   682
\item WEP did not allocate enough bits for the nonce
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   683
\item for authenticating packets it used CRC checksum which can be easily broken
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   684
\item the network password was used to directly encrypt packages (instead of a key negotiation protocol)\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   685
\item encryption was turned off by default
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   686
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   687
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   688
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   689
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   690
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   691
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   692
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   693
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   694
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   695
\frametitle{Protocols are Difficult}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   696
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   697
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   698
\item even the systems designed by experts regularly fail\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   699
\item try to make everything explicit (you need to authenticate all data you might rely on)\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   700
\item the one who can fix a system should also be liable for the losses\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   701
\item cryptography is often not {\bf the} answer\bigskip\bigskip  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   702
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   703
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   704
logic is one way protocols are studied in academia
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   705
(you can use computers to search for attacks)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   706
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   707
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   708
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   709
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   710
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   711
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   712
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   713
\frametitle{Public-Key Infrastructure}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   714
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   715
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   716
\item the idea is to have a certificate authority (CA)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   717
\item you go to the CA to identify yourself
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   718
\item CA: ``I, the CA, have verified that public key \bl{$P^{pub}_{Bob}$} belongs to Bob''\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   719
\item CA must be trusted by everybody
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   720
\item What happens if CA issues a false certificate? Who pays in case of loss? (VeriSign 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   721
explicitly limits liability to \$100.)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   722
\end{itemize}
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   723
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   724
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   725
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   726
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   727
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   728
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   729
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   730
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   731
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   732
\frametitle{Privacy, Anonymity et al}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   733
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   734
Some terminology:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   735
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   736
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   737
\item \alert{secrecy} is the mechanism used to limit the number of 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   738
principals with access to information (eg, cryptography or access controls)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   739
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   740
\item \alert{confidentiality} is the obligation to protect the secrets of other people 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   741
or organizations (secrecy for the benefit of an organisation)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   742
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   743
\item \alert{anonymity} is the ability to leave no evidence of an activity (eg, sharing a secret)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   744
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   745
\item \alert{privacy} is the ability or right to protect your personal secrets 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   746
(secrecy for the benefit of an individual)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   747
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   748
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   749
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   750
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   751
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   752
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   753
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   754
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   755
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   756
\frametitle{Privacy vs Anonymity}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   757
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   758
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   759
\item everybody agrees that anonymity has its uses (e.g., voting, whistleblowers, peer-review)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   760
\end{itemize}\bigskip\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   761
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   762
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   763
But privacy?\bigskip\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   764
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   765
``You have zero privacy anyway. Get over it.''\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   766
\hfill{}Scott Mcnealy (CEO of Sun)\bigskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   767
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   768
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   769
If you have nothing to hide, you have nothing to fear.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   770
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   771
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   772
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   773
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   774
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   775
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   776
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   777
\frametitle{Privacy}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   778
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   779
private data can be often used against me
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   780
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   781
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   782
\item if my location data becomes public, thieves will switch off their phones and help themselves in my home
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   783
\item if supermarkets can build a profile of what I buy, they can use it to their advantage (banks - mortgages)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   784
\item my employer might not like my opinions\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   785
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   786
\item one the other hand, Freedom-of-Information Act 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   787
\item medical data should be private, but medical research needs data
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   788
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   789
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   790
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   791
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   792
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   793
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   794
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   795
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   796
\frametitle{Privacy Problems}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   797
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   798
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   799
\item Apple takes note of every dictation (send over the Internet to Apple)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   800
\item markets often only work, if data is restricted (to build trust)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   801
\item Social network can reveal data about you 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   802
\item have you tried the collusion extension for FireFox?
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   803
\item I do use Dropbox and store cards\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   804
\item next week: anonymising data
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   805
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   806
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   807
\begin{textblock}{5}(12,9.8)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   808
\includegraphics[scale=0.2]{pics/gattaca.jpg}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   809
\small Gattaca (1997)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   810
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   811
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   812
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   813
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   814
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   815
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   816
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
   817
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   818
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   819
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   820
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   821
\frametitle{Privacy}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   822
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   823
\begin{minipage}{1.05\textwidth}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   824
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   825
\item we \alert{do} want that government data is made public (free maps for example)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   826
\item we \alert{do not} want that medical data becomes public (similarly tax data, school 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   827
records, job offers)\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   828
\item personal information can potentially lead to fraud 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   829
(identity theft)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   830
\end{itemize}\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   831
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   832
{\bf ``The reality'':}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   833
\only<2>{\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   834
\item London Health Programmes lost in June last year unencrypted details of more than 8 million people
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   835
(no names, but postcodes and details such as gender, age and ethnic origin)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   836
\end{itemize}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   837
\only<3>{\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   838
\item also in June last year, Sony got hacked: over 1M users' personal information, including passwords, email addresses, home addresses, dates of birth, and all Sony opt-in data associated with their accounts.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   839
\end{itemize}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   840
\end{minipage}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   841
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   842
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   843
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   844
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   845
   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   846
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   847
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   848
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   849
\frametitle{Privacy and Big Data}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   850
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   851
Selected sources of ``Big Data'':\smallskip{}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   852
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   853
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   854
\item Facebook 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   855
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   856
\item 40+ Billion photos (100 PB)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   857
\item 6 Billion messages daily (5 - 10 TB)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   858
\item 900 Million users  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   859
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   860
\item Common Crawl
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   861
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   862
\item covers 3.8 Billion webpages (2012 dataset)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   863
\item 50 TB of data
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   864
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   865
\item Google
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   866
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   867
\item 20 PB daily (2008)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   868
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   869
\item Twitter
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   870
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   871
\item 7 Million users in the UK
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   872
\item a company called Datasift is allowed to mine all tweets since 2010
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   873
\item they charge 10k per month for other companies to target advertisement
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   874
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   875
\end{itemize}\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   876
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   877
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   878
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   879
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   880
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   881
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   882
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   883
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   884
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   885
\frametitle{Cookies\ldots}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   886
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   887
``We have published a new cookie policy. It explains what cookies are 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   888
and how we use them on our site. To learn more about cookies and 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   889
their benefits, please view our cookie policy.\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   890
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   891
If you'd like to disable cookies on this device, please view our information 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   892
pages on 'How to manage cookies'. Please be aware that parts of the 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   893
site will not function correctly if you disable cookies. \medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   894
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   895
By closing this 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   896
message, you consent to our use of cookies on this device in accordance 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   897
with our cookie policy unless you have disabled them.''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   898
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   899
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   900
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   901
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   902
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   903
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   904
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   905
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   906
\frametitle{Scare Tactics}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   907
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   908
The actual policy reads:\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   909
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   910
``As we explain in our Cookie Policy, cookies help you to get the most 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   911
out of our websites.\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   912
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   913
If you do disable our cookies you may find that certain sections of our 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   914
website do not work. For example, you may have difficulties logging in 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   915
or viewing articles.''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   916
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   917
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   918
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   919
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   920
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   921
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   922
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   923
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   924
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   925
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   926
\frametitle{Netflix Prize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   927
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   928
Anonymity is \alert{necessary} for privacy, but \alert{not} enough!\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   929
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   930
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   931
\item Netflix offered in 2006 (and every year until 2010) a 1 Mio \$ prize for improving their movie rating algorithm
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   932
\item dataset contained 10\% of all Netflix users (appr.~500K)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   933
\item names were removed, but included numerical ratings as well as times of rating
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   934
\item some information was \alert{perturbed} (i.e., slightly modified)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   935
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   936
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   937
\hfill{\bf\alert{All OK?}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   938
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   939
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   940
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   941
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   942
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   943
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   944
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   945
\frametitle{Re-identification Attack}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   946
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   947
Two researchers analysed the data: 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   948
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   949
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   950
\item with 8 ratings (2 of them can be wrong) and corresponding dates that can have a margin 14-day error, 98\% of the
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   951
records can be identified
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   952
\item for 68\% only two ratings and dates are sufficient (for movie ratings outside the top 500)\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   953
\item they took 50 samples from IMDb (where people can reveal their identity)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   954
\item 2 of them uniquely identified entries in the Netflix database (either by movie rating or by dates)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   955
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   956
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   957
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   958
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   959
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   960
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   961
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   962
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   963
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   964
\frametitle{}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   965
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   966
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   967
\item Birth data, postcode and gender (unique for\\ 87\% of the US population)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   968
\item Preferences in movies (99\% of 500K for 8 ratings)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   969
\end{itemize}\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   970
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   971
Therefore best practices / or even law (HIPAA, EU): 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   972
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   973
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   974
\item only year dates (age group for 90 years or over), 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   975
\item no postcodes (sector data is OK, similarly in the US)\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   976
\textcolor{gray}{no names, addresses, account numbers, licence plates}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   977
\item disclosure information needs to be retained for 5 years
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   978
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   979
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   980
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   981
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   982
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   983
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   984
\begin{frame}<2>[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   985
\frametitle{How to Safely Disclose Information?}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   986
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   987
\only<1>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   988
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   989
\item Assume you make a survey of 100 randomly chosen people.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   990
\item Say 99\% of the surveyed people in the 10 - 40 age group have seen the
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   991
Gangnam video on youtube.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   992
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   993
\item What can you infer about the rest of the population? 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   994
\end{itemize}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   995
\only<2>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   996
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   997
\item Is it possible to re-identify data later, if more data is released. \bigskip\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   998
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   999
\item Not even releasing only  aggregate information prevents re-identification attacks.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1000
(GWAS was a public database of gene-frequency studies linked to diseases;
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1001
you only needed partial DNA information  in order
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1002
to identify whether an individual was part of the study --- DB closed in 2008) 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1003
\end{itemize}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1004
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1005
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1006
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
  1007
     
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
  1008
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1009
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1010
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1011
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1012
\frametitle{Differential Privacy}
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
  1013
71
6ebdaef3e4f1 updated
Christian Urban <urbanc@in.tum.de>
parents: 70
diff changeset
  1014
\begin{center}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1015
User\;\;\;\;    
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1016
\begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1017
tell me \bl{$f(x)$} $\Rightarrow$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1018
$\Leftarrow$ \bl{$f(x) + \text{noise}$}
71
6ebdaef3e4f1 updated
Christian Urban <urbanc@in.tum.de>
parents: 70
diff changeset
  1019
\end{tabular}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1020
\;\;\;\;\begin{tabular}{@{}c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1021
Database\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1022
\bl{$x_1, \ldots, x_n$}
71
6ebdaef3e4f1 updated
Christian Urban <urbanc@in.tum.de>
parents: 70
diff changeset
  1023
\end{tabular}
6ebdaef3e4f1 updated
Christian Urban <urbanc@in.tum.de>
parents: 70
diff changeset
  1024
\end{center}
6ebdaef3e4f1 updated
Christian Urban <urbanc@in.tum.de>
parents: 70
diff changeset
  1025
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1026
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1027
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1028
\item \bl{$f(x)$} can be released, if \bl{$f$} is insensitive to
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1029
individual entries  \bl{$x_1, \ldots, x_n$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1030
\item Intuition: whatever is learned from the dataset would be learned regardless of whether
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1031
\bl{$x_i$} participates\bigskip\pause 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1032
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1033
\item Noised needed in order to prevent queries:\\ Christian's salary $=$ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1034
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1035
\bl{\large$\Sigma$} all staff $-$  \bl{\large$\Sigma$} all staff $\backslash$ Christian
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1036
\end{center} 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1037
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1038
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1039
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1040
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1041
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1042
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1043
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1044
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1045
\frametitle{Adding Noise}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1046
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1047
Adding noise is not as trivial as one would wish:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1048
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1049
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1050
\item If I ask how many of three have seen the Gangnam video and get a result
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1051
as follows 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1052
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1053
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1054
\begin{tabular}{l|c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1055
Alice & yes\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1056
Bob & no\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1057
Charlie & yes\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1058
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1059
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1060
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1061
then I have to add a noise of \bl{$1$}. So answers would be in the
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1062
range of \bl{$1$} to \bl{$3$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1063
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1064
\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1065
\item But if I ask five questions for all the dataset (has seen Gangnam video, is male, below 30, \ldots),
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1066
then one individual can change the dataset by \bl{$5$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1067
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1068
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1069
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1070
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
  1071
     
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1072
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1073
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1074
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1075
\frametitle{\begin{tabular}{@{}c@{}}Take Home Point\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1076
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1077
According to Ross Anderson: \bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1078
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1079
\item Privacy in a big hospital is just about doable.\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1080
\item How do you enforce privacy  in something as big as Google
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1081
or complex as Facebook? No body knows.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1082
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1083
Similarly, big databases imposed by government
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1084
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1085
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1086
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1087
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
  1088
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
70
20d0a65b47f2 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
  1089
     
65
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1090
\end{document}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1091
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1092
%%% Local Variables:  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1093
%%% mode: latex
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1094
%%% TeX-master: t
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1095
%%% End: 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1096