slides06.tex
author Christian Urban <urbanc@in.tum.de>
Tue, 13 Nov 2012 00:22:28 +0000
changeset 64 d53d7d61f37b
parent 62 e8071a3f13b2
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{proof}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage{beamerthemeplainculight}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\usepackage[T1]{fontenc}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\usepackage[latin1]{inputenc}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage{mathpartir}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{isabelle}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usepackage{isabellesym}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage[absolute,overlay]{textpos}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{ifthen}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{tikz}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\usepackage{courier}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\usepackage{listings}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\usetikzlibrary{arrows}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\usetikzlibrary{positioning}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\usetikzlibrary{calc}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\usepackage{graphicx} 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\isabellestyle{rm}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\renewcommand{\isastyle}{\rm}%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\renewcommand{\isastyleminor}{\rm}%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\renewcommand{\isatagproof}{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\renewcommand{\endisatagproof}{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\renewcommand{\isamarkupcmt}[1]{#1}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
% Isabelle characters
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
\renewcommand{\isacharunderscore}{\_}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
\renewcommand{\isacharbar}{\isamath{\mid}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
\renewcommand{\isasymiota}{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
\renewcommand{\isacharbraceleft}{\{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
\renewcommand{\isacharbraceright}{\}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
\renewcommand{\isacharless}{$\langle$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
\renewcommand{\isachargreater}{$\rangle$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
\renewcommand{\isasymsharp}{\isamath{\#}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
\renewcommand{\isasymdots}{\isamath{...}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
\renewcommand{\isasymbullet}{\act}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
\definecolor{javared}{rgb}{0.6,0,0} % for strings
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
\lstset{language=Java,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
	basicstyle=\ttfamily,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
	keywordstyle=\color{javapurple}\bfseries,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
	stringstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
	commentstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
	morecomment=[s][\color{javadocblue}]{/**}{*/},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
	numbers=left,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
	numberstyle=\tiny\color{black},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
	stepnumber=1,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
	numbersep=10pt,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
	tabsize=2,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
	showspaces=false,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
	showstringspaces=false}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
\lstdefinelanguage{scala}{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
  morekeywords={abstract,case,catch,class,def,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
    do,else,extends,false,final,finally,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
    for,if,implicit,import,match,mixin,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
    new,null,object,override,package,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
    private,protected,requires,return,sealed,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
    super,this,throw,trait,true,try,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
    type,val,var,while,with,yield},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
  otherkeywords={=>,<-,<\%,<:,>:,\#,@},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
  sensitive=true,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
  morecomment=[l]{//},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
  morecomment=[n]{/*}{*/},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
  morestring=[b]",
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
  morestring=[b]',
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
  morestring=[b]"""
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
\lstset{language=Scala,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
	basicstyle=\ttfamily,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
	keywordstyle=\color{javapurple}\bfseries,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
	stringstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
	commentstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
	morecomment=[s][\color{javadocblue}]{/**}{*/},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
	numbers=left,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
	numberstyle=\tiny\color{black},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
	stepnumber=1,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
	numbersep=10pt,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
	tabsize=2,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
	showspaces=false,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
	showstringspaces=false}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
% beamer stuff 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
\renewcommand{\slidecaption}{APP 06, King's College London, 29 October 2012}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
\newcommand{\bl}[1]{\textcolor{blue}{#1}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
\begin{document}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
\begin{frame}<1>[t]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
\frametitle{%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
  \begin{tabular}{@ {}c@ {}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
  \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
  \LARGE Access Control and \\[-3mm] 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
  \LARGE Privacy Policies (6)\\[-6mm] 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
  \end{tabular}}\bigskip\bigskip\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
  %\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
  %\includegraphics[scale=1.3]{pics/barrier.jpg}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
  %\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
\normalsize
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
  \begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
  \begin{tabular}{ll}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
  Email:  & christian.urban at kcl.ac.uk\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  Of$\!$fice: & S1.27 (1st floor Strand Building)\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
  Slides: & KEATS (also homework is there)\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
  \end{tabular}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  \end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
\frametitle{1st Week}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
\item What are hashes and salts?\bigskip\pause
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
\item \ldots can be use to store securely data on a client, but
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
you cannot make your protocol dependent on the
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
presence of the data\bigskip\pause
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
\item \ldots can be used to store and verify passwords
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
\frametitle{2nd Week}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
\item Buffer overflows\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
\item choice of programming language can mitigate or even eliminate this problem
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
\frametitle{3rd Week}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
\item defence in depth\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
\item privilege separation afforded by the OS
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
\begin{tikzpicture}[scale=1]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
  \draw[line width=1mm] (0, 1.1) rectangle (1.2,2);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
  \draw (4.7,1) node {Internet};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
  \draw (0.6,1.7) node {\footnotesize Slave};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
  \draw[line width=1mm] (0, 0) rectangle (1.2,0.9);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
  \draw (0.6,1.7) node {\footnotesize Slave};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
  \draw (0.6,0.6) node {\footnotesize Slave};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
  \draw (0.6,-0.5) node {\footnotesize \begin{tabular}{c}unprivileged\\[-1mm] processes\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
  \draw (-2.7,-0.4) node {\footnotesize \begin{tabular}{c}privileged\\[-1mm] process\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
  \draw[line width=1mm] (-1.8, 0) rectangle (-3.6,2);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
  \draw (-2.9,1.7) node {\footnotesize Monitor};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
  \draw[white] (1.7,1) node (X) {};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
  \draw[white] (3.7,1) node (Y) {};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
  \draw[red, <->, line width = 2mm] (X) -- (Y);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
  \draw[red, <->, line width = 1mm] (-0.4,1.4) -- (-1.4,1.1);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
  \draw[red, <->, line width = 1mm] (-0.4,0.6) -- (-1.4,0.9);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
  \end{tikzpicture}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
\frametitle{4th Week}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
\item voting\ldots has security requirements that are in tension with each other
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
integrity vs ballot secrecy\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
authentication vs enfranchisment 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
\end{center}\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
\item electronic voting makes `whole sale' fraud easier as opposed to `retail attacks' 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
\frametitle{5th Week}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
\item access control logic\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
\item formulas
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
\item judgements
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
\item inference rules
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
  \mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
  \begin{frame}[t]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
  \frametitle{\Large\begin{tabular}{@ {}c@ {}}Access Control Logic\end{tabular}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
  Formulas
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
  \begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
  \item[]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
  \begin{center}\color{blue}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
  \begin{tabular}[t]{rcl@ {\hspace{10mm}}l}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
  \isa{F} & \isa{{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}} & \isa{true} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
            & \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{false} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{F\ {\isaliteral{5C3C616E643E}{\isasymand}}\ F} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{F\ {\isaliteral{5C3C6F723E}{\isasymor}}\ F} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{F\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F}\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{p\ {\isaliteral{28}{\isacharparenleft}}t\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{2C}{\isacharcomma}}{\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{2C}{\isacharcomma}}t\isaliteral{5C3C5E697375623E}{}\isactrlisub n{\isaliteral{29}{\isacharparenright}}} \\  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \alert{\isa{P\ says\ F}} & \textcolor{black}{``saying predicate''}\\ 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
  \end{tabular}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
  \end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
  \end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
Judgements
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
\item[] \mbox{\hspace{9mm}}\bl{$\Gamma \vdash \text{F}$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
  \end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   259
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
\frametitle{Inference Rules}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
\bl{\infer{\Gamma, F\vdash F}{}}\bigskip\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   267
\bl{\infer{\Gamma \vdash F_2}{\Gamma \vdash F_1 \Rightarrow F_2 \quad \Gamma \vdash F_1}}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
\qquad
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
\bl{\infer{\Gamma \vdash F_1 \Rightarrow F_2}{F_1, \Gamma \vdash F_2}}\bigskip\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
\bl{\infer{\Gamma \vdash P\,\text{says}\, F}{\Gamma \vdash F}}\medskip\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
\bl{\infer{\Gamma \vdash P \,\text{says}\, F_2}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
              {\Gamma \vdash P \,\text{says}\, (F_1\Rightarrow F_2) \quad 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
               \Gamma \vdash P \,\text{says}\, F_1}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
\frametitle{Proofs}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   286
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   287
\bl{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   288
\infer{\Gamma \vdash F}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   289
         {\infer{\hspace{1cm}:\hspace{1cm}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   290
             {\infer{\hspace{1cm}:\hspace{1cm}}{:}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   291
               &
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   292
              \infer{\hspace{1cm}:\hspace{1cm}}{:\quad :}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   293
           }}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   294
}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   295
\end{center}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
\frametitle{The Access Control Problem}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
  \begin{tikzpicture}[scale=1]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
  \draw[line width=1mm] (-.3, -0.5) rectangle (1.5,2);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
  \draw (-2.7,1) node {\begin{tabular}{l}access\\request\\ (\bl{$F$})\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
  \draw (4.2,1) node {\begin{tabular}{l}provable/\\not provable\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
  \draw (0.6,0.8) node {\footnotesize \begin{tabular}{l}AC-\\ Checker:\\ applies\\ inference\\ rules\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
  \draw[red, ->, line width = 2mm] (1.7,1) -- (2.7,1); 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
  \draw[red,<-, line width = 2mm] (-0.6,1) -- (-1.6,1);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
  \draw[red, <-, line width = 3mm] (0.6,2.2) -- (0.6,3.2); 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
  \draw (0.6,4) node {\begin{tabular}{l}\large Access Policy (\bl{$\Gamma$})\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
  \end{tikzpicture}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
     
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
  \mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
  \begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
  \frametitle{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
  Recall the following scenario:
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
  \begin{itemize}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   334
  \item If \textcolor{blue}{Admin} says that \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{} {}}} 
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
  should be deleted, then this file must be deleted.
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
  \item \textcolor{blue}{Admin} trusts \textcolor{blue}{Bob} to decide whether 
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   337
  \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}}} should be deleted.
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   338
  \item \textcolor{blue}{Bob} wants to delete \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}}}.
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
  \end{itemize}\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
  \small
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
  \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\small\begin{tabular}{l}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   343
  \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 <urbanc@in.tum.de>
parents: 59
diff changeset
   344
  \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 <urbanc@in.tum.de>
parents: 59
diff changeset
   345
  \isa{Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}}\\
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
  \end{tabular}}\medskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   348
  \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}}}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
  \end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
How to prove \bl{$\Gamma \vdash F$}?\bigskip\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
\Large \bl{\infer{\Gamma, F\vdash F}{}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
\Large 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
\bl{\infer{\Gamma \vdash F_1 \Rightarrow F_2}{F_1, \Gamma \vdash F_2}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
\Large 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
\bl{\infer{\Gamma \vdash P \,\text{says}\, F}{\Gamma \vdash F}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
\Large 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
\bl{\infer{\Gamma \vdash F_1 \vee F_2}{\Gamma \vdash F_1}}\qquad
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
\bl{\infer{\Gamma \vdash F_1 \vee F_2}{\Gamma \vdash F_2}}\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
\Large 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
\bl{\infer{\Gamma \vdash F_1 \wedge F_2}{\Gamma \vdash F_1 \quad \Gamma \vdash F_2}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
\begin{frame}[t]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
I want to prove \bl{$\Gamma \vdash \text{Pred}$}\bigskip\bigskip\pause
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
\begin{enumerate}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
\item I found that \bl{$\Gamma$} contains the assumption \bl{$F_1 \Rightarrow F_2$}\bigskip\pause
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
\item If I can prove \bl{$\Gamma \vdash F_1$},\pause{} then I can prove
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
\bl{$\Gamma \vdash F_2$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
\end{center}\bigskip\pause
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
\item So better I try to prove \bl{$\Gamma \vdash \text{Pred}$} with the additional assumption
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
\bl{$F_2$}.\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
\bl{$F_2, \Gamma \vdash \text{Pred}$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
\end{center}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   432
\end{enumerate}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   434
\only<4>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   435
\begin{textblock}{11}(1,10.5)
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   436
\bl{\infer{\Gamma\vdash F_2}{\Gamma\vdash F_1\Rightarrow F_2 & \Gamma\vdash F_1}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   437
\end{textblock}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   438
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   442
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   443
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   444
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   445
\begin{frame}[c]
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   447
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   448
\item \bl{$P$} is entitled to do \bl{$F$}\smallskip\\ 
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   449
\bl{$P \,\text{controls}\, F \,\dn\, (P\,\text{says}\, F) \Rightarrow F$}\medskip
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   450
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   451
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   452
\bl{\infer{\Gamma \vdash F}{\Gamma \vdash P\,\text{controls}\, F & \Gamma \vdash P\,\text{says}\,F}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   453
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   454
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   455
\item \bl{$P$} speaks for \bl{$Q$}\smallskip\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   456
\bl{$P \mapsto Q \,\dn\, \forall F. (P\,\text{says}\, F) \Rightarrow (Q \,\text{says}\,F)$}\medskip
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   457
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   458
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   459
\bl{\infer{\Gamma \vdash Q\,\text{says}\,F}{\Gamma \vdash P\mapsto Q & \Gamma \vdash P\,\text{says}\,F}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   460
\medskip\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   461
\bl{\infer{\Gamma \vdash P\,\text{controls}\,F}{\Gamma \vdash P\mapsto Q & \Gamma \vdash Q\,\text{controls}\,F}}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   462
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   463
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   464
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   465
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   466
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   467
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   468
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   469
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   470
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   471
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   472
\frametitle{Protocol Specifications}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   473
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   474
The Needham-Schroeder Protocol:
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   475
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   476
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   477
\begin{tabular}{@ {\hspace{-7mm}}l@{\hspace{2mm}}r@ {\hspace{1mm}}l}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   478
Message 1 & \bl{$A \rightarrow S :$} & \bl{$A, B, N_A$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   479
Message 2 & \bl{$S \rightarrow A :$} & \bl{$\{N_A, B, K_{AB},\{K_{AB}, A\}_{K_{BS}} \}_{K_{AS}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   480
Message 3 & \bl{$A \rightarrow B :$} & \bl{$\{K_{AB}, A\}_{K_{BS}} $}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   481
Message 4 & \bl{$B \rightarrow A :$} & \bl{$\{N_B\}_{K_{AB}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   482
Message 5 & \bl{$A \rightarrow B :$} & \bl{$\{N_B-1\}_{K_{AB}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   483
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   484
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   485
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   486
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   487
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   488
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   489
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   490
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   491
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   492
\frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   493
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   494
Simple protocol for establishing a secure connection via a mutually
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   495
trusted 3rd party (server):
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   496
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   497
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   498
\begin{tabular}{@ {\hspace{-7mm}}l@{\hspace{2mm}}r@ {\hspace{1mm}}l}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   499
Message 1 & \bl{$A \rightarrow S :$} & \bl{$A, B$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   500
Message 2 & \bl{$S \rightarrow A :$} & \bl{$\{K_{AB}\}_{K_{AS}}$} and \bl{$\{\{K_{AB}\}_{K_{BS}} \}_{K_{AS}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   501
Message 3 & \bl{$A \rightarrow B :$} & \bl{$\{K_{AB}\}_{K_{BS}} $}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   502
Message 4 & \bl{$A \rightarrow B :$} & \bl{$\{m\}_{K_{AB}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   503
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   504
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   505
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   506
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   507
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   508
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   509
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   510
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   511
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   512
  \frametitle{Sending Messages}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   513
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   514
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   515
  \item Alice sends a message \bl{$m$}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   516
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   517
  \bl{Alice says $m$}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   518
  \end{center}\medskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   519
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   520
  \item Alice sends an encrypted message \bl{$m$}\\ (with key \bl{$K$})
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   521
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   522
  \bl{Alice says $\{m\}_K$}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   523
  \end{center}\medskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   524
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   525
  \item Decryption of Alice's message\smallskip
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   526
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   527
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   528
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_K & \Gamma \vdash \text{Alice}\,\text{says}\,K}}}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   529
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   530
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   531
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   532
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   533
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   534
  
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   535
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   536
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   537
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   538
  \frametitle{Encryption}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   539
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   540
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   541
  \item Encryption of a message\smallskip
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   542
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   543
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_K}
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   544
              {\Gamma \vdash \text{Alice}\;\text{says}\;m & \Gamma \vdash \text{Alice}\,\text{says}\,K}}}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   545
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   546
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   547
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   548
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   549
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   550
  
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   551
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   552
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   553
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   554
  \frametitle{Public/Private Keys}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   555
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   556
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   557
  \item Bob has a private and public key: \bl{$K_{Bob}^{pub}$}, \bl{$K_{Bob}^{priv}$}\bigskip
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   558
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   559
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   560
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_{K_{Bob}^{pub}} & 
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   561
               \Gamma \vdash K_{Bob}^{priv}}}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   562
  \end{center}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   563
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   564
  \item this is {\bf not} a derived rule! 
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   565
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   566
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   567
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   568
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   569
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   570
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   571
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   572
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   573
  \frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   574
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   575
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   576
  \item Alice calls Sam for a key to communicate with Bob
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   577
  \item Sam responds with a key that Alice can read and a key Bob can read (pre-shared)
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   578
  \item Alice sends the message encrypted with the key and the second key it recieved
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   579
  \end{itemize}\bigskip
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   580
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   581
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   582
  \bl{\begin{tabular}{lcl}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   583
  $A$ sends $S$ &:& $\textit{Connect}(A,B)$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   584
  $S$ sends $A$ &:& $\{K_{AB}\}_{K_{AS}}$ \textcolor{black}{and} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   585
  $A$ sends $B$ &:& $\{K_{AB}\}_{K_{BS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   586
  $A$ sends $B$ &:& $\{m\}_{K_{AB}}$
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   587
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   588
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   589
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   590
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   591
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   592
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   593
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   594
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   595
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   596
  \frametitle{Sending Rule}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   597
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   598
  \bl{\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   599
  \mbox{\infer{\Gamma \vdash Q \;\textit{says}\; F}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   600
              {\Gamma \vdash P \;\textit{says}\; F & \Gamma \vdash P \;\textit{sends}\; Q : F}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   601
  \end{center}}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   602
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   603
  \bl{$P \,\text{sends}\, Q : F \dn$}\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   604
  \hspace{6mm}\bl{$(P \,\text{says}\, F) \Rightarrow (Q \,\text{says}\, F)$}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   605
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   606
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   607
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   608
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   609
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   610
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   611
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   612
  \frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   613
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   614
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   615
  \bl{\begin{tabular}{l}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   616
  $A$ sends $S$ : $\textit{Connect}(A,B)$\\  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   617
  \bl{$S \,\text{says}\, (\textit{Connect}(A,B) \Rightarrow$}\\ 
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   618
  \hspace{2.5cm}\bl{$\{K_{AB}\}_{K_{AS}} \wedge 
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   619
  \{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}})$}\\
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   620
 $S$ sends $A$ : $\{K_{AB}\}_{K_{AS}}$ \bl{$\wedge$} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   621
  $A$ sends $B$ : $\{K_{AB}\}_{K_{BS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   622
  $A$ sends $B$ : $\{m\}_{K_{AB}}$
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   623
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   624
  \end{center}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   625
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   626
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   627
  \bl{$\Gamma \vdash B \,\text{says} \, m$}?
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   628
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   629
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   630
\end{document}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   631
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   632
%%% Local Variables:  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   633
%%% mode: latex
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   634
%%% TeX-master: t
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   635
%%% End: 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   636