slides/slides01.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 22 Sep 2013 15:35:50 +0100
changeset 93 82ac034dcc9d
parent 90 d1d07f05325a
child 94 caf08b02fa32
permissions -rw-r--r--
brought order into the repository
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     1
\documentclass[dvipsnames,14pt,t, xelatex]{beamer}
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     2
\usepackage{beamerthemeplaincu}
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     3
%%\usepackage[T1]{fontenc}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\usepackage[latin1]{inputenc}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\usepackage{mathpartir}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage[absolute,overlay]{textpos}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{ifthen}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usepackage{tikz}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage{pgf}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{calc} 
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{ulem}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\usepackage{courier}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\usepackage{listings}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\renewcommand{\uline}[1]{#1}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\usetikzlibrary{arrows}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\usetikzlibrary{automata}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\usetikzlibrary{shapes}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\usetikzlibrary{shadows}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\usetikzlibrary{positioning}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\usetikzlibrary{calc}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\usepackage{graphicx} 
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\definecolor{javared}{rgb}{0.6,0,0} % for strings
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
\lstset{language=Java,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
	basicstyle=\ttfamily,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
	keywordstyle=\color{javapurple}\bfseries,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
	stringstyle=\color{javagreen},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
	commentstyle=\color{javagreen},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
	morecomment=[s][\color{javadocblue}]{/**}{*/},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
	numbers=left,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
	numberstyle=\tiny\color{black},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
	stepnumber=1,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
	numbersep=10pt,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
	tabsize=2,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
	showspaces=false,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
	showstringspaces=false}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\lstdefinelanguage{scala}{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
  morekeywords={abstract,case,catch,class,def,%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
    do,else,extends,false,final,finally,%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
    for,if,implicit,import,match,mixin,%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
    new,null,object,override,package,%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
    private,protected,requires,return,sealed,%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
    super,this,throw,trait,true,try,%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
    type,val,var,while,with,yield},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  otherkeywords={=>,<-,<\%,<:,>:,\#,@},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
  sensitive=true,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
  morecomment=[l]{//},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  morecomment=[n]{/*}{*/},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
  morestring=[b]",
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  morestring=[b]',
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
  morestring=[b]"""
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
\lstset{language=Scala,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
	basicstyle=\ttfamily,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
	keywordstyle=\color{javapurple}\bfseries,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
	stringstyle=\color{javagreen},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
	commentstyle=\color{javagreen},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
	morecomment=[s][\color{javadocblue}]{/**}{*/},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
	numbers=left,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
	numberstyle=\tiny\color{black},
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
	stepnumber=1,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
	numbersep=10pt,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
	tabsize=2,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
	showspaces=false,
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
	showstringspaces=false}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
% beamer stuff 
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    74
\renewcommand{\slidecaption}{APP 01, King's College London, 25.~September 2012}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
\begin{document}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
    79
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
\begin{frame}<1>[t]
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
\frametitle{%
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    83
  \begin{tabular}{@ {}c@ {}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    84
  \LARGE Access Control and \\[-3mm] 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    85
  \LARGE Privacy Policies (1)\\[-6mm] 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    86
  \end{tabular}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    87
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    88
  \begin{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    89
  \includegraphics[scale=1.3]{pics/barrier.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    90
  \end{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    91
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    92
\normalsize
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    93
  \begin{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    94
  \begin{tabular}{ll}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    95
  Email:  & christian.urban at kcl.ac.uk\\
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    96
  Office: & S1.27 (1st floor Strand Building)\\
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    97
  Slides: & KEATS
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    98
  \end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    99
  \end{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   100
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   101
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   105
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   106
\mode<presentation>{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   107
\begin{frame}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   108
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   109
\begin{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   110
\includegraphics[scale=2.1]{pics/barrier.jpg}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   111
\end{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   112
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   113
\end{frame}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   114
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   115
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   116
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   117
\mode<presentation>{
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   118
\begin{frame}[c]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   119
\frametitle{\begin{tabular}{@ {}c@ {}}Security Engineers\end{tabular}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   120
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   121
\alert{\bf Security engineers} require a particular \alert{\bf mindset}:\bigskip
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   122
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   123
\begin{tikzpicture}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   124
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   125
{\normalsize\color{darkgray}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   126
\begin{minipage}{10cm}\raggedright\small
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   127
``Security engineers --- at least the good ones --- see the world dif$\!$ferently. 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   128
They can't walk into a store without noticing how they might shoplift. They can't 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   129
use a computer without wondering about the security vulnerabilities. They can't 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   130
vote without trying to figure out how to vote twice. They just can't help it.''
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   131
\end{minipage}};
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   132
\end{tikzpicture}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   133
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   134
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   135
\includegraphics[scale=0.0087]{pics/schneierbook1.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   136
\includegraphics[scale=0.0087]{pics/schneierbook2.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   137
\includegraphics[scale=0.85]{pics/schneier.png}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   138
\end{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   139
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   140
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   141
\end{frame}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   142
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   143
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   144
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   145
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   146
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   147
\frametitle{\begin{tabular}{@ {}c@ {}}Chip-and-PIN\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   148
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   149
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   150
\includegraphics[scale=0.3]{pics/creditcard1.jpg}\;
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   151
\includegraphics[scale=0.3]{pics/creditcard2.jpg}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   152
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   153
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   154
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   155
\item Chip-and-PIN was introduced in the UK in 2004
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   156
\item before that customers had to sign a receipt\medskip
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   157
\item Is Chip-and-PIN a more secure system?
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   158
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   159
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   160
\begin{flushright}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   161
\small\textcolor{gray}{(Some other countries still use the old method.)}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   162
\end{flushright}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   163
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   164
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   165
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   166
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   167
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   168
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
\begin{frame}[c]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   172
\frametitle{\begin{tabular}{@ {}c@ {}}Yes \ldots\end{tabular}}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   173
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   174
\begin{tikzpicture}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   175
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   176
{\normalsize\color{darkgray}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   177
\begin{minipage}{10cm}\raggedright\small
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   178
``Chip-and-PIN is so effective in this country [UK] that fraudsters are starting to move their activities overseas,'' 
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   179
said Emile Abu-Shakra, spokesman for Lloyds TSB (in the Guardian, 2006).
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   180
\end{minipage}};
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   181
\end{tikzpicture}\bigskip
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   182
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   184
\begin{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   185
\item mag-stripe cards cannot be cloned anymore
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   186
\item stolen or cloned cards need to be used abroad 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   187
\item fraud on lost, stolen and counterfeit credit cards was down \pounds{}60m (24\%) on 2004's figure
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   188
\end{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   189
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   190
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   191
\end{frame}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   192
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   193
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   194
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   195
\mode<presentation>{
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   196
\begin{frame}[c]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   197
\frametitle{\begin{tabular}{c}But let's see \ldots\end{tabular}}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   198
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   199
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   200
\begin{textblock}{1}(3,4)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   201
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   202
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   203
\small Bank
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
\end{tabular}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
\end{textblock}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   206
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   207
\begin{textblock}{1}(7,4.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   208
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   209
\includegraphics[scale=3]{pics/store.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   210
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   211
\end{textblock}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   212
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   213
\begin{textblock}{1}(4.5,9.9)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   214
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   215
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   216
\small costumer / you
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   217
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   218
\end{textblock}  
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   219
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   220
\only<2->{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   221
\begin{textblock}{1}(4.5,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   222
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   223
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   224
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   225
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   226
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   227
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   228
\end{textblock}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   229
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   230
\only<3->{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   231
\begin{textblock}{1}(6.8,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   232
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   233
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   234
  \draw[white] (1,1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   235
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   236
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   237
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   238
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   239
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   240
\begin{textblock}{1}(4.8,5.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   241
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   242
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   243
  \draw[white] (1.4,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   244
  \draw[red, <->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   245
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   246
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   247
\end{textblock}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   248
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   249
\only<4->{  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   250
\begin{textblock}{1}(12,6.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   251
\begin{tabular}{c}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   252
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   253
\small card\\[-2mm]\small terminal\\[-2mm] \small producer
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   254
\end{tabular}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   255
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   256
  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   257
\begin{textblock}{1}(10,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   258
  \begin{tikzpicture}[scale=1.6]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   259
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   260
  \draw[white] (-1,0.6) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   261
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   262
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   263
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   264
\end{textblock}}  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
  
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
\begin{frame}[c]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   272
\frametitle{\begin{tabular}{c}Chip-and-PIN\end{tabular}}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   275
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   276
\item A ``tamperesitant'' terminal playing Tetris on 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   277
\textcolor{blue}{\href{http://www.youtube.com/watch?v=wWTzkD9M0sU}{youtube}}.\\
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   278
\textcolor{lightgray}{\footnotesize(\url{http://www.youtube.com/watch?v=wWTzkD9M0sU})}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   279
\end{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   280
 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   281
  
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   282
\includegraphics[scale=0.2]{pics/tetris.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   283
  
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   284
  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
\end{frame}}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   286
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
\begin{frame}[c]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   291
\frametitle{\begin{tabular}{c}Chip-and-PIN\end{tabular}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   292
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   295
\item in 2006, Shell petrol stations stopped accepting Chip-and-PIN after \pounds{}1m had been stolen from customer accounts\smallskip 
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   296
\item in 2008, hundreds of card readers for use in Britain, Ireland, the Netherlands, Denmark, and Belgium had been 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   297
expertly tampered with shortly after manufacture so that details and PINs of credit cards were sent during the 9 months 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   298
before over mobile phone networks to criminals in Lahore, Pakistan
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
  
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
\begin{frame}[c]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   307
\frametitle{\begin{tabular}{c}Chip-and-PIN is Broken\end{tabular}}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   309
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   310
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   311
\includegraphics[scale=1.5]{pics/anderson.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   312
\end{flushright}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   315
\item man-in-the-middle attacks by the group around Ross Anderson\medskip
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   318
\begin{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   319
\mbox{}\hspace{-20mm}\includegraphics[scale=0.5]{pics/chip-attack.png}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   320
\end{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   321
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   322
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   323
\begin{textblock}{1}(11.5,13.7)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   324
\begin{tabular}{l}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   325
\footnotesize on BBC Newsnight\\[-2mm] 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   326
\footnotesize in 2010 or \textcolor{blue}{\href{http://www.youtube.com/watch?v=JPAX32lgkrw}{youtube}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   327
\end{tabular}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   328
\end{textblock}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
  
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
\begin{frame}[c]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   336
\frametitle{\begin{tabular}{@ {}c@ {}}Chip-and-PIN is Really Broken\end{tabular}}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   338
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   339
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   340
\includegraphics[scale=1.5]{pics/anderson.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   341
\end{flushright}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   344
\item same group successfully attacked this year card readers and ATM machines
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   345
\item the problem: several types of ATMs generate poor random numbers, which are used as nonces
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
\end{itemize}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   347
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
\begin{frame}[c]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   354
\frametitle{\begin{tabular}{c}The Problem \ldots\end{tabular}}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   357
\begin{textblock}{1}(3,4)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   358
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   359
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   360
\small Bank
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   361
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   362
\end{textblock}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   363
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   364
\begin{textblock}{1}(7,4.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   365
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   366
\includegraphics[scale=3]{pics/store.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   367
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   368
\end{textblock}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   370
\begin{textblock}{1}(12,6.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   371
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   372
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   373
\small terminal\\[-2mm] \small producer
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   374
\end{tabular}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
\end{textblock}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   376
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   377
\begin{textblock}{1}(4.5,9.9)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   378
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   379
\includegraphics[scale=0.13]{pics/rman.png}\\[-1mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   380
\small costumer / you
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   381
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   382
\end{textblock}  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
  
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   384
\begin{textblock}{1}(4.5,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   385
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   386
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   387
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   388
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   389
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   390
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   391
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   392
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   393
\begin{textblock}{1}(6.8,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   394
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   395
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   396
  \draw[white] (1,1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   397
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   398
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   399
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   400
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   401
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   402
\begin{textblock}{1}(4.8,5.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   403
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   404
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   405
  \draw[white] (1.4,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   406
  \draw[gray, <->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   407
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   408
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   409
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   410
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   411
\begin{textblock}{1}(10,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   412
  \begin{tikzpicture}[scale=1.6]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   413
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   414
  \draw[white] (-1,0.6) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   415
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   416
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   417
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   418
\end{textblock}  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   419
  
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   420
\begin{textblock}{14}(1,13.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   421
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   422
\item the burden of proof for fraud and financial liability was shifted to the costumer
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   423
\end {itemize} 
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
\end{textblock}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
  
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
\mode<presentation>{
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
\begin{frame}[c]
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   432
\frametitle{\begin{tabular}{c}Being Screwed Again\end{tabular}}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   435
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   436
\includegraphics[scale=0.3]{pics/rbssecure.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   437
\end{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   438
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
\begin{itemize}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   440
\item {\bf Responsibility}\\
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   441
``You understand that you are financially responsible for all uses of RBS Secure.''\\
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   442
\textcolor{lightgray}{\footnotesize\url{https://www.rbssecure.co.uk/rbs/tdsecure/terms_of_use.jsp}}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
  
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
\end{frame}}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   448
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   449
\mode<presentation>{
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   450
\begin{frame}[c]
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   451
\frametitle{\begin{tabular}{c}Web Applications\end{tabular}}
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   452
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   453
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   454
\begin{textblock}{1}(2,5)
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   455
\begin{tabular}{c}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   456
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm]
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   457
\small Servers from\\[-2mm] 
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   458
\small Dot.com Inc.
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   459
\end{tabular}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   460
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   461
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   462
\begin{textblock}{1}(5.6,6)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   463
  \begin{tikzpicture}[scale=2.5]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   464
  \draw[white] (0,0) node (X) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   465
  \draw[white] (1,0) node (Y) {};
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   466
  \only<2>{\draw[red, <-, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   467
  \node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   468
  \only<3>{\draw[red, ->, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   469
  \node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   470
  \only<4>{\draw[red, <-, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   471
  \node [inner sep=7pt,label=above:\textcolor{black}{POST data}] at ($ (X)!.5!(Y) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   472
  \end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   473
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   474
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   475
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   476
\begin{textblock}{1}(9,5.5)
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   477
\begin{tabular}{c}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   478
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   479
\small Client(s)
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   480
\end{tabular}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   481
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   482
  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   483
\begin{textblock}{13}(1,13)  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   484
\begin{itemize}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   485
\item What are pitfalls and best practices?
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   486
\end{itemize}  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   487
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   488
  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   489
\end{frame}}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   490
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   491
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   492
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   493
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   494
\mode<presentation>{
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   495
\begin{frame}[c]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   496
\frametitle{\begin{tabular}{c}Scala + Play\end{tabular}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   497
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   498
\footnotesize a simple response from the server:
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   499
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   500
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   501
\texttt{\lstinputlisting{../progs/app0.scala}}}\bigskip
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   502
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   503
\footnotesize
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   504
alternative response:\\
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   505
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   506
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   507
\texttt{\lstinline{Ok("<H1>Hello world!</H1>").as(HTML)}}}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   508
\end{frame}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   509
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   510
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   511
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   512
\mode<presentation>{
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   513
\begin{frame}[c]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   514
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   515
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   516
\texttt{\lstinputlisting{../progs/app1.scala}}}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   517
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   518
  
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   519
\end{frame}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   520
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   521
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   522
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   523
\mode<presentation>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   524
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   525
\frametitle{\begin{tabular}{c}Cookies\end{tabular}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   526
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   527
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   528
\begin{textblock}{1}(1.5,5)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   529
\begin{tabular}{c}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   530
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   531
\small Servers from\\[-2mm] 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   532
\small Dot.com Inc.
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   533
\end{tabular}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   534
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   535
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   536
\begin{textblock}{1}(5.6,5.6)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   537
  \begin{tikzpicture}[scale=2.5]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   538
  \draw[white] (0,0) node (X) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   539
  \draw[white] (1,0) node (Y) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   540
  \draw[white] (0.05,-0.3) node (X1) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   541
  \draw[white] (0.95,-0.3) node (Y1) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   542
  \only<1-2>{\draw[red, <-, line width = 2mm] (X) -- (Y);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   543
  \node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   544
  \only<1>{\draw[white, <-, line width = 1mm] (X1) -- (Y1);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   545
  \node [inner sep=2pt,label=below:\textcolor{white}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   546
  \only<2>{\draw[red, <-, line width = 1mm] (X1) -- (Y1);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   547
  \node [inner sep=2pt,label=below:\textcolor{black}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   548
  \only<3->{\draw[red, ->, line width = 2mm] (X) -- (Y);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   549
  \node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   550
  \only<3->{\draw[red, ->, line width = 1mm] (X1) -- (Y1);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   551
  \node [inner sep=2pt,label=below:\textcolor{black}{write a cookie}] at ($ (X1)!.5!(Y1) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   552
  \end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   553
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   554
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   555
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   556
\begin{textblock}{1}(9.5,5.5)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   557
\begin{tabular}{c}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   558
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   559
\small Client
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   560
\end{tabular}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   561
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   562
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   563
\only<4->{  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   564
\begin{textblock}{13}(1,11)  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   565
\small\begin{itemize}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   566
\item cookies: max 4KB data\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   567
\item cookie theft, cross-site scripting attacks\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   568
\item session cookies, persistent cookies, HttpOnly cookies, third-party cookies, zombie cookies 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   569
\end{itemize}  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   570
\end{textblock}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   571
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   572
\only<5>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   573
\begin{textblock}{11}(1,3)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   574
\begin{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   575
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   576
{\normalsize\color{darkgray}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   577
\begin{minipage}{10cm}\raggedright\small
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   578
{\bf EU Privacy Directive about Cookies:}\smallskip\\
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   579
``In May 2011, a European Union law was passed stating that websites that leave non-essential cookies on visitors' devices have to alert the visitor and get acceptance from them. This law applies to both individuals and businesses based in the EU regardless of the nationality of their website's visitors or the location of their web host. It is not enough to simply update a website's terms and conditions or privacy policy. The deadline to comply with the new EU cookie law was 26th May 2012 and failure to do so could mean a fine of up to \pounds{}500,000.''
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   580
\hfill\small\textcolor{gray}{$\rightarrow$BBC News}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   581
\end{minipage}};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   582
\end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   583
\end{textblock}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   584
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   585
\end{frame}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   586
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   587
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   588
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   589
\mode<presentation>{
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   590
\begin{frame}[t]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   591
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   592
\item While cookies are per web-page, this can be easily circumvented.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   593
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   594
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   595
\begin{textblock}{1}(1.5,4.5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   596
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   597
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   598
\small Pet Store\\[-2mm] 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   599
\small Dot.com\\[-2mm] 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   600
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   601
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   602
  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   603
\begin{textblock}{1}(1.5,8)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   604
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   605
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   606
\small Dating.com
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   607
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   608
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   609
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   610
\begin{textblock}{1}(10.5,7.5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   611
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   612
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   613
\small Evil-Ad-No\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   614
\small Privacy.com
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   615
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   616
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   617
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   618
\begin{textblock}{1}(6,10.5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   619
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   620
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   621
\small you
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   622
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   623
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   624
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   625
\begin{textblock}{1}(4,5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   626
  \begin{tikzpicture}[scale=1]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   627
  \draw[white] (0,0.5) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   628
  \draw[white] (5.7,-1) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   629
  \draw[red, ->, line width = 0.5mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   630
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   631
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   632
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   633
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   634
\begin{textblock}{1}(4,7.9)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   635
  \begin{tikzpicture}[scale=1]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   636
  \draw[white] (0,0) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   637
  \draw[white] (5.7,0) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   638
  \draw[red, ->, line width = 0.5mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   639
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   640
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   641
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   642
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   643
\begin{textblock}{1}(3.3,9.3)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   644
  \begin{tikzpicture}[scale=1.2]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   645
  \draw[white] (0,0) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   646
  \draw[white] (1.5,-1) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   647
  \draw[red, <->, line width = 2mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   648
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   649
  \draw[white] (0.9,0.3) node (X1) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   650
  \draw[white] (1.9,-1) node (Y1) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   651
  \draw[red, <->, line width = 2mm] (X1) -- (Y1);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   652
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X1)!.5!(Y1) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   653
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   654
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   655
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   656
\begin{textblock}{1}(8.6,10.1)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   657
  \begin{tikzpicture}[scale=0.9]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   658
  \draw[white] (0,0) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   659
  \draw[white] (-2,-1) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   660
  \draw[red, <->, line width = 0.5mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   661
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   662
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   663
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   664
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   665
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   666
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   667
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   668
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   669
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   670
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   671
\mode<presentation>{
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   672
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   673
\frametitle{\begin{tabular}{c}My First Webapp\end{tabular}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   674
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   675
{\bf GET request:}\smallskip
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   676
\begin{enumerate}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   677
\item read the cookie from client
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   678
\item if none is present, set \texttt{visits} to \textcolor{blue}{$0$}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   679
\item if cookie is present, extract \texttt{visits} counter
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   680
\item if \texttt{visits} is greater or equal \textcolor{blue}{$10$}, \\
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   681
print a valued customer message\\
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   682
otherwise just a normal message
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   683
\item increase \texttt{visits} by \textcolor{blue}{$1$} and store new cookie with client
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   684
\end{enumerate}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   685
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   686
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   687
\end{frame}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   688
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   689
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   690
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   691
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   692
\mode<presentation>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   693
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   694
\mbox{}\\[-9mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   695
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   696
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   697
\texttt{\lstinputlisting{../progs/app2.scala}}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   698
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   699
\footnotesize
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   700
\begin{itemize}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   701
\item cookie value encoded as hash
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   702
\end{itemize}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   703
\end{frame}}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   704
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   705
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   706
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   707
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   708
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   709
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   710
\begin{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   711
\includegraphics[scale=1.8]{pics/barrier.jpg}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   712
\end{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   713
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   714
\begin{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   715
\item data integrity needs to be ensured
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   716
\end{itemize}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   717
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   718
\end{frame}}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   719
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   720
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   721
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   722
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   723
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   724
\begin{frame}[c]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   725
\mbox{}\\[-7mm]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   726
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   727
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   728
\texttt{\lstinputlisting{../progs/app3.scala}}}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   729
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   730
\small
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   731
\begin{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   732
\item the counter/hash pair is intended to prevent tampering
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   733
\end{itemize}  
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   734
\end{frame}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   735
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   736
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   737
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   738
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   739
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   740
\frametitle{\begin{tabular}{c}SHA-1\end{tabular}}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   741
  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   742
\begin{itemize}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   743
\item SHA-1 is a cryptographic hash function\\
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   744
(MD5, SHA-256, SHA-512, \ldots) 
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   745
\item message $\rightarrow$ digest
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   746
\item no known attack exists, except brute force\bigskip\pause
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   747
\item but dictionary attacks are very ef$\!$fective for extracting passwords (later)
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   748
\end{itemize}  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   749
  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   750
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   751
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   752
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   753
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   754
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   755
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   756
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   757
\mbox{}\\[-9mm]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   758
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   759
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
93
82ac034dcc9d brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   760
\texttt{\lstinputlisting{../progs/app4.scala}}}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   761
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   762
\begin{textblock}{1}(9,1)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   763
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   764
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   765
  \draw[white] (3,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   766
  \draw[red, <-, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   767
  \node [inner sep=5pt,label=above:\textcolor{black}{\small should be random}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   768
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   769
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   770
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   771
\begin{textblock}{1}(6.6,4.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   772
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   773
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   774
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   775
  \draw[red, <-, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   776
  \node [inner sep=5pt,label=above:{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   777
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   778
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   779
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   780
\end{frame}}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   781
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   782
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   783
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   784
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   785
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   786
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   787
\frametitle{\begin{tabular}{c}Unix Passwords\end{tabular}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   788
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   789
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   790
\item passwords are \alert{\bf not} stored in clear text
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   791
\item instead \texttt{/etc/shadow} contains
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   792
\end{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   793
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   794
{\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   795
\texttt{name:\$1\$QIGCa\$/ruJs8AvmrknzKTzM2TYE.:other\_info}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   796
}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   797
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   798
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   799
\item \texttt{\$} is separator
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   800
\item \texttt{1} is MD5 (actually SHA-512 is used nowadays, \texttt{6})
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   801
\item \texttt{QIGCa} is salt
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   802
\item \texttt{ruJs8AvmrknzKTzM2TYE} $\rightarrow$ password + salt
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   803
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   804
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   805
\textcolor{gray}{\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   806
(\texttt{openssl passwd -1 -salt QIGCa pippo})
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   807
}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   808
% Unix password
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   809
% http://ubuntuforums.org/showthread.php?p=5318038
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   810
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   811
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   812
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   813
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   814
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   815
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   816
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   817
\frametitle{\begin{tabular}{c}Password Blunders\end{tabular}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   818
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   819
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   820
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   821
\item in late 2009, when an SQL injection attack against online games 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   822
service RockYou.com exposed 32 million \alert{plaintext} passwords
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   823
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   824
\item  1.3 million Gawker credentials exposed in December 2010 containing 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   825
unsalted(?) \alert{MD5} hashes
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   826
12
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
   827
\item June 6th, 2012, 6 million unsalted SHA-1 passwords were leaked from linkedIn
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   828
% linkedIn password
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   829
% http://erratasec.blogspot.co.uk/2012/06/confirmed-linkedin-6mil-password-dump.html
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   830
\end{itemize}\medskip
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   831
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   832
\small
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   833
Web user maintains 25 separate accounts but uses just 6.5 passwords
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   834
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   835
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   836
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   837
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   838
%For instance, SHA512crypt, which is included in Mac OS X and most Unix-based operating systems, passes text through 5,000 iterations, a %hurdle that would have limited Gosney to slightly less than 2,600 guesses per second. The Bcrypt algorithm is even more computationally %expensive, in large part because it subjects text to multiple iterations of the Blowfish cipher that was deliberately modified to increase the %time required to generate a hash. PBKDF2, a function built into Microsoft's .Net software developer framework, offers similar benefits.
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   839
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   840
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   841
% rainbow tables
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   842
% http://en.wikipedia.org/wiki/Rainbow_table
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   843
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   844
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   845
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   846
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   847
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   848
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   849
\frametitle{\begin{tabular}{c}Brute Forcing Passwords\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   850
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   851
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   852
\item How fast can hackers crack SHA-1 passwords? \pause
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   853
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   854
\item The answer is 2 billion attempts per second\\ 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   855
using a Radeon HD 7970
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   856
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   857
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   858
\begin{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   859
\begin{tabular}{@ {\hspace{-12mm}}rl}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   860
password length & time\smallskip\\\hline
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   861
5 letters & 5 secs\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   862
6 letters & 500 secs\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   863
7 letters & 13 hours\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   864
8 letters & 57 days\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   865
9 letters & 15 years\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   866
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   867
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   868
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   869
\small
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   870
5 letters $\approx$ 100$^5$ $=$ 10 billion combinations\\ 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   871
(1 letter - upper case, lower case, digits, symbols $\approx$ 100)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   872
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   873
\only<2->{
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   874
\begin{textblock}{1}(12,5)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   875
\begin{tabular}{c}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   876
\includegraphics[scale=0.3]{pics/radeon.jpg}\\[-6mm]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   877
\footnotesize graphics card\\[-1mm]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   878
\footnotesize ca.~\pounds{}300
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   879
\end{tabular}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   880
\end{textblock}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   881
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   882
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   883
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   884
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   885
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   886
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   887
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   888
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   889
\begin{frame}[c]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   890
\frametitle{\begin{tabular}{c}Passwords\end{tabular}}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   891
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   892
How to recover from a breakin?\pause\medskip
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   893
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   894
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   895
\item Do not send passwords in plain text.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   896
\item Security questions are tricky to get right.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   897
\item QQ (Chinese Skype) authenticates you via contacts.
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   898
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   899
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   900
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   901
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   902
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   903
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   904
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   905
\begin{frame}[c]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   906
\frametitle{\begin{tabular}{c}This Course\end{tabular}}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   907
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   908
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   909
\item break-ins (buffer overflows)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   910
\item access control\\ (role based, data security / data integrity)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   911
\item protocols\\
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   912
(specification)
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   913
\item access control logic
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   914
\item privacy
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   915
\begin{quote}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   916
Scott McNealy: \\``You have zero privacy anyway. Get over it.''
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   917
\end{quote}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   918
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   919
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   920
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   921
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   922
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   923
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   924
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   925
\begin{frame}[c]
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   926
\frametitle{\begin{tabular}{c}Books + Homework\end{tabular}}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   927
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   928
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   929
\item there is no single book I am following
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   930
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   931
\includegraphics[scale=0.012]{pics/andersonbook1.jpg}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   932
\includegraphics[scale=0.23]{pics/accesscontrolbook.jpg}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   933
\end{center}\medskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   934
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   935
\item The question ``Is this relevant for the exams'' is not appreciated!\medskip\\
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   936
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   937
Whatever is in the homework sheets (and is not marked optional) is relevant for the
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents: 9
diff changeset
   938
exam. No code needs to be written.
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   939
\end{itemize}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   940
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   941
\end{frame}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   942
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   943
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   944
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   945
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   946
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   947
\frametitle{\begin{tabular}{c}Take-Home Points\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   948
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   949
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   950
\item Never store passwords in plain text.\medskip
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   951
\item Always salt your hashes!\medskip
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   952
\item Use an existing algorithm; do not write your own!
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   953
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   954
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   955
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   956
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   957
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   958
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   959
\mode<presentation>{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   960
\begin{frame}[c]
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   961
\frametitle{\begin{tabular}{c}Thinking as a Defender\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   962
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   963
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   964
\item What are you trying to protect?
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   965
\item What properties are you trying to enforce?\medskip
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   966
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   967
\item Who are the attackers? Capabilities? Motivations?
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   968
\item What kind of attack are we trying to protect?
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   969
\item Who can fix any vulnerabilities?\medskip
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   970
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   971
\item What are the weaknesses of the system?
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   972
\item What will successful attacks cost us?
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   973
\item How likely are the attacks?
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   974
\end{itemize}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   975
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   976
\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   977
\textcolor{gray}{Security almost always is {\bf not} free!}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   978
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   979
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   980
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   981
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   982
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   983
\mode<presentation>{
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   984
\begin{frame}[c]
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   985
\frametitle{\begin{tabular}{c}The Security Mindset\end{tabular}}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   986
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   987
\begin{itemize}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   988
\item How things can go wrong.
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   989
\item Think outside the box.
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   990
\end{itemize}\bigskip
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   991
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   992
The difference between being criminal is to only \alert{\bf think} about how things can go wrong.
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   993
  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   994
\end{frame}}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   995
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   996
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   997
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   998
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   999
\mode<presentation>{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1000
\begin{frame}[t]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1001
\frametitle{\begin{tabular}{c}Maps in Scala\end{tabular}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1002
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1003
\begin{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1004
\item {\bf\texttt{map}} takes a function, say f, and applies it to every element of the list:
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1005
\end{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1006
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1007
\begin{textblock}{15}(2,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1008
\fontsize{13}{14}\selectfont
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1009
\bf\texttt{List(1, 2, 3, 4, 5, 6, 7, 8, 9)}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1010
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1011
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1012
\begin{textblock}{15}(2,10)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1013
\fontsize{13}{14}\selectfont
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1014
\bf\texttt{List(1, 4, 9, 16, 25, 36, 49, 64, 81)}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1015
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1016
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1017
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1018
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1019
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1020
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1021
\end{document}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1022
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1023
%%% Local Variables:  
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1024
%%% mode: latex
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1025
%%% TeX-master: t
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1026
%%% End: 
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1027