author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Mon, 30 Sep 2013 23:57:44 +0100 | |
changeset 105 | 40c51038c9e4 |
parent 104 | 729b86eae005 |
child 157 | 3a8fff66d62b |
permissions | -rw-r--r-- |
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} |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
3 |
\usepackage{fontenc,xltxtra,xunicode} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
4 |
\defaultfontfeatures{Mapping=tex-text} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
5 |
%%\usepackage[latin1]{inputenc} |
0 | 6 |
\usepackage{mathpartir} |
7 |
\usepackage[absolute,overlay]{textpos} |
|
8 |
\usepackage{ifthen} |
|
9 |
\usepackage{tikz} |
|
10 |
\usepackage{pgf} |
|
11 |
\usepackage{calc} |
|
12 |
\usepackage{ulem} |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
13 |
%%\usepackage{courier} |
0 | 14 |
\usepackage{listings} |
15 |
\renewcommand{\uline}[1]{#1} |
|
16 |
\usetikzlibrary{arrows} |
|
17 |
\usetikzlibrary{automata} |
|
18 |
\usetikzlibrary{shapes} |
|
19 |
\usetikzlibrary{shadows} |
|
20 |
\usetikzlibrary{positioning} |
|
21 |
\usetikzlibrary{calc} |
|
105
40c51038c9e4
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
104
diff
changeset
|
22 |
\usepackage{upquote} |
40c51038c9e4
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
104
diff
changeset
|
23 |
\usetikzlibrary{plotmarks} |
0 | 24 |
\usepackage{graphicx} |
105
40c51038c9e4
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
104
diff
changeset
|
25 |
\usepackage{pgfplots} |
40c51038c9e4
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
104
diff
changeset
|
26 |
|
0 | 27 |
|
28 |
\definecolor{javared}{rgb}{0.6,0,0} % for strings |
|
29 |
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments |
|
30 |
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords |
|
31 |
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc |
|
32 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
33 |
\makeatletter |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
34 |
\lst@CCPutMacro\lst@ProcessOther {"2D}{\lst@ttfamily{-{}}{-{}}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
35 |
\@empty\z@\@empty |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
36 |
\makeatother |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
37 |
|
0 | 38 |
\lstset{language=Java, |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
39 |
basicstyle=\consolas, |
0 | 40 |
keywordstyle=\color{javapurple}\bfseries, |
41 |
stringstyle=\color{javagreen}, |
|
42 |
commentstyle=\color{javagreen}, |
|
43 |
morecomment=[s][\color{javadocblue}]{/**}{*/}, |
|
44 |
numbers=left, |
|
45 |
numberstyle=\tiny\color{black}, |
|
46 |
stepnumber=1, |
|
47 |
numbersep=10pt, |
|
48 |
tabsize=2, |
|
49 |
showspaces=false, |
|
50 |
showstringspaces=false} |
|
51 |
||
52 |
\lstdefinelanguage{scala}{ |
|
53 |
morekeywords={abstract,case,catch,class,def,% |
|
54 |
do,else,extends,false,final,finally,% |
|
55 |
for,if,implicit,import,match,mixin,% |
|
56 |
new,null,object,override,package,% |
|
57 |
private,protected,requires,return,sealed,% |
|
58 |
super,this,throw,trait,true,try,% |
|
59 |
type,val,var,while,with,yield}, |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
60 |
otherkeywords={=>,<-,<\%,<:,>:,\#,@,->}, |
0 | 61 |
sensitive=true, |
62 |
morecomment=[l]{//}, |
|
63 |
morecomment=[n]{/*}{*/}, |
|
64 |
morestring=[b]", |
|
65 |
morestring=[b]', |
|
66 |
morestring=[b]""" |
|
67 |
} |
|
68 |
||
69 |
\lstset{language=Scala, |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
70 |
basicstyle=\consolas, |
0 | 71 |
keywordstyle=\color{javapurple}\bfseries, |
72 |
stringstyle=\color{javagreen}, |
|
73 |
commentstyle=\color{javagreen}, |
|
74 |
morecomment=[s][\color{javadocblue}]{/**}{*/}, |
|
75 |
numbers=left, |
|
76 |
numberstyle=\tiny\color{black}, |
|
77 |
stepnumber=1, |
|
78 |
numbersep=10pt, |
|
79 |
tabsize=2, |
|
80 |
showspaces=false, |
|
81 |
showstringspaces=false} |
|
82 |
||
83 |
% beamer stuff |
|
104
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
102
diff
changeset
|
84 |
\renewcommand{\slidecaption}{APP 01, King's College London, 24.~September 2013} |
0 | 85 |
|
86 |
||
87 |
\begin{document} |
|
88 |
||
9 | 89 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0 | 90 |
\mode<presentation>{ |
91 |
\begin{frame}<1>[t] |
|
92 |
\frametitle{% |
|
1 | 93 |
\begin{tabular}{@ {}c@ {}} |
94 |
\LARGE Access Control and \\[-3mm] |
|
95 |
\LARGE Privacy Policies (1)\\[-6mm] |
|
96 |
\end{tabular}} |
|
97 |
||
98 |
\begin{center} |
|
99 |
\includegraphics[scale=1.3]{pics/barrier.jpg} |
|
100 |
\end{center} |
|
101 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
102 |
|
1 | 103 |
\normalsize |
104 |
\begin{center} |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
105 |
\begin{tabular}{ll} |
1 | 106 |
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
|
107 |
Office: & S1.27 (1st floor Strand Building)\\ |
1 | 108 |
Slides: & KEATS |
109 |
\end{tabular} |
|
110 |
\end{center} |
|
111 |
||
112 |
||
0 | 113 |
\end{frame}} |
114 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
115 |
||
8 | 116 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
117 |
\mode<presentation>{ |
|
118 |
\begin{frame} |
|
119 |
||
120 |
\begin{center} |
|
121 |
\includegraphics[scale=2.1]{pics/barrier.jpg} |
|
122 |
\end{center} |
|
123 |
||
124 |
\end{frame}} |
|
125 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
1 | 126 |
|
127 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
128 |
\mode<presentation>{ |
|
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
129 |
\begin{frame} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
130 |
|
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
131 |
\onslide<-1>{ |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
132 |
\begin{center} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
133 |
\includegraphics[scale=0.1]{pics/snowden.jpg} |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
134 |
\small{} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
135 |
\end{center}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
136 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
137 |
\only<1->{ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
138 |
\begin{textblock}{1}(4.5,7.5) |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
139 |
\begin{tikzpicture}[scale=1.3] |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
140 |
\draw[white] (0,0) node (X) {\includegraphics[scale=0.1]{pics/rman.png}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
141 |
\draw[white] (4,0) node (Y) {\includegraphics[scale=0.1]{pics/gman.png}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
142 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
143 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
144 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
145 |
\draw[white] (1.3, -1) node (NSA) {\includegraphics[scale=0.05]{pics/nsa.png}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
146 |
\draw[white] (2.7, -1) node (GCHQ) {\includegraphics[scale=0.3]{pics/gchq.jpg}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
147 |
\draw[black] (2, -2) node (OTHER) {\huge\ldots}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
148 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
149 |
\end{tikzpicture} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
150 |
\end{textblock}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
151 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
152 |
\end{frame}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
153 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
154 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
155 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
156 |
\mode<presentation>{ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
157 |
\begin{frame} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
158 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
159 |
\begin{center} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
160 |
\includegraphics[scale=0.45]{pics/lavabit-email.jpg} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
161 |
\end{center} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
162 |
\small{}\mbox{}\hfill{} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
163 |
Lavabit email service closed down on 8 August 2013. \\ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
164 |
\mbox{}\hfill{}\textcolor{blue}{\url{goo.gl/bgSrVp}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
165 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
166 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
167 |
\end{frame}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
168 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
169 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
170 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
171 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
172 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
173 |
\mode<presentation>{ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
174 |
\begin{frame} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
175 |
\frametitle{\begin{tabular}{@ {}c@ {}}Also Bad Guys\end{tabular}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
176 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
177 |
\only<1->{ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
178 |
\begin{textblock}{1}(4,2.5) |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
179 |
\begin{tikzpicture}[scale=1.3] |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
180 |
\draw[white] (0,0) node (X) {\includegraphics[scale=0.1]{pics/rman.png}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
181 |
\draw[white] (4,0) node (Y) {\includegraphics[scale=0.1]{pics/gman.png}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
182 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
183 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
184 |
\end{tikzpicture} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
185 |
\end{textblock}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
186 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
187 |
\only<1->{ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
188 |
\begin{textblock}{1}(1,6) |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
189 |
\begin{tikzpicture} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
190 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
191 |
{\normalsize\color{darkgray} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
192 |
\begin{minipage}{11cm}\raggedright\footnotesize |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
193 |
Annonymous Hacker operating a 10k bonnet using the ZeuS hacking tool wrote:\medskip\\ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
194 |
``FYI I do not cash out the bank accounts or credit cards, I just sell the information |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
195 |
(I know, its just as bad, hur dur...), there isn't even a law against such in most countries, |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
196 |
dealing with stolen information is most of the time a legaly greyzone (I was just as surprised |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
197 |
when I looked it up), I'm not talking about 3rd world countries, but about European like Spain |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
198 |
(The Mariposa botnet owner never got charged, because a botnet isn't illegal, only abusing |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
199 |
CC information is, but that did other guys).''\\ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
200 |
\hfill{}\textcolor{blue}{\url{goo.gl/UWluh0}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
201 |
\end{minipage}}; |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
202 |
\end{tikzpicture} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
203 |
\end{textblock}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
204 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
205 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
206 |
\end{frame}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
207 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
208 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
209 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
210 |
\mode<presentation>{ |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
211 |
\begin{frame} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
212 |
\frametitle{\begin{tabular}{@ {}c@ {}}This is a Misconception!\end{tabular}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
213 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
214 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
215 |
\begin{center} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
216 |
\includegraphics[scale=0.6]{pics/cryptographic-small.png} |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
217 |
\end{center} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
218 |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
219 |
The NSA can probably not brute-force magically better than the ``public''. |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
220 |
\end{frame}} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
221 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
222 |
|
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
223 |
|
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
224 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
225 |
\mode<presentation>{ |
1 | 226 |
\begin{frame}[c] |
227 |
\frametitle{\begin{tabular}{@ {}c@ {}}Security Engineers\end{tabular}} |
|
228 |
||
97
efcac3016613
added hws
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
96
diff
changeset
|
229 |
\small\alert{\bf Security engineers} require a particular \alert{\bf mindset}:\bigskip |
1 | 230 |
|
231 |
\begin{tikzpicture} |
|
232 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
|
233 |
{\normalsize\color{darkgray} |
|
234 |
\begin{minipage}{10cm}\raggedright\small |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
235 |
``Security engineers --- at least the good ones --- see the world differently. |
1 | 236 |
They can't walk into a store without noticing how they might shoplift. They can't |
237 |
use a computer without wondering about the security vulnerabilities. They can't |
|
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
238 |
vote without trying to figure out how to vote twice. They just can't help it.''\\ |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
239 |
\hfill{}---Bruce Schneier |
1 | 240 |
\end{minipage}}; |
241 |
\end{tikzpicture} |
|
242 |
||
243 |
\begin{flushright} |
|
244 |
\includegraphics[scale=0.0087]{pics/schneierbook1.jpg}\; |
|
245 |
\includegraphics[scale=0.0087]{pics/schneierbook2.jpg}\; |
|
97
efcac3016613
added hws
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
96
diff
changeset
|
246 |
\includegraphics[scale=0.23]{pics/schneierbook3.jpg}\; |
1 | 247 |
\includegraphics[scale=0.85]{pics/schneier.png} |
248 |
\end{flushright} |
|
249 |
||
250 |
||
251 |
\end{frame}} |
|
252 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
253 |
||
4 | 254 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
255 |
\mode<presentation>{ |
|
256 |
\begin{frame}[c] |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
257 |
\frametitle{\begin{tabular}{@ {}c@ {}}Breaking Things\end{tabular}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
258 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
259 |
For example: |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
260 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
261 |
\begin{center} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
262 |
\begin{tikzpicture} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
263 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
264 |
{\normalsize\color{darkgray} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
265 |
\begin{minipage}{10cm}\raggedright\small |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
266 |
Prof.~V.~Nasty gives the following final exam question (closed books, closed notes):\bigskip |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
267 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
268 |
\noindent |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
269 |
\begin{tabular}{@ {}l} |
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
270 |
Write the first 100 digits of $\pi$:\\ |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
271 |
3.\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
272 |
\end{tabular} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
273 |
\end{minipage}}; |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
274 |
\end{tikzpicture} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
275 |
\end{center} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
276 |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
277 |
How can you cheat in this exam and how can you defend against such cheating? |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
278 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
279 |
\end{frame}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
280 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
281 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
282 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
283 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
284 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
285 |
\mode<presentation>{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
286 |
\begin{frame}[c] |
4 | 287 |
\frametitle{\begin{tabular}{@ {}c@ {}}Chip-and-PIN\end{tabular}} |
288 |
||
289 |
\begin{center} |
|
290 |
\includegraphics[scale=0.3]{pics/creditcard1.jpg}\; |
|
291 |
\includegraphics[scale=0.3]{pics/creditcard2.jpg} |
|
292 |
\end{center} |
|
293 |
||
294 |
\begin{itemize} |
|
295 |
\item Chip-and-PIN was introduced in the UK in 2004 |
|
296 |
\item before that customers had to sign a receipt\medskip |
|
8 | 297 |
\item Is Chip-and-PIN a more secure system? |
4 | 298 |
\end{itemize} |
299 |
||
300 |
\begin{flushright} |
|
301 |
\small\textcolor{gray}{(Some other countries still use the old method.)} |
|
302 |
\end{flushright} |
|
303 |
||
304 |
||
305 |
\end{frame}} |
|
306 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
307 |
||
1 | 308 |
|
0 | 309 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
310 |
\mode<presentation>{ |
|
311 |
\begin{frame}[c] |
|
8 | 312 |
\frametitle{\begin{tabular}{@ {}c@ {}}Yes \ldots\end{tabular}} |
1 | 313 |
|
314 |
\begin{tikzpicture} |
|
315 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
|
316 |
{\normalsize\color{darkgray} |
|
317 |
\begin{minipage}{10cm}\raggedright\small |
|
8 | 318 |
``Chip-and-PIN is so effective in this country [UK] that fraudsters are starting to move their activities overseas,'' |
5 | 319 |
said Emile Abu-Shakra, spokesman for Lloyds TSB (in the Guardian, 2006). |
1 | 320 |
\end{minipage}}; |
321 |
\end{tikzpicture}\bigskip |
|
322 |
||
0 | 323 |
|
1 | 324 |
\begin{itemize} |
325 |
\item mag-stripe cards cannot be cloned anymore |
|
326 |
\item stolen or cloned cards need to be used abroad |
|
327 |
\item fraud on lost, stolen and counterfeit credit cards was down \pounds{}60m (24\%) on 2004's figure |
|
328 |
\end{itemize} |
|
329 |
||
330 |
||
331 |
\end{frame}} |
|
332 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
333 |
||
334 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
335 |
\mode<presentation>{ |
|
336 |
\begin{frame}[c] |
|
8 | 337 |
\frametitle{\begin{tabular}{c}But let's see \ldots\end{tabular}} |
1 | 338 |
|
339 |
||
340 |
\begin{textblock}{1}(3,4) |
|
341 |
\begin{tabular}{c} |
|
342 |
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm] |
|
343 |
\small Bank |
|
0 | 344 |
\end{tabular} |
345 |
\end{textblock} |
|
1 | 346 |
|
347 |
\begin{textblock}{1}(7,4.5) |
|
348 |
\begin{tabular}{c} |
|
349 |
\includegraphics[scale=3]{pics/store.png}\\[-2mm] |
|
350 |
\end{tabular} |
|
351 |
\end{textblock} |
|
352 |
||
353 |
\begin{textblock}{1}(4.5,9.9) |
|
354 |
\begin{tabular}{c} |
|
355 |
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm] |
|
356 |
\small costumer / you |
|
357 |
\end{tabular} |
|
358 |
\end{textblock} |
|
8 | 359 |
|
360 |
\only<2->{ |
|
361 |
\begin{textblock}{1}(4.5,7.5) |
|
362 |
\begin{tikzpicture}[scale=1.3] |
|
363 |
\draw[white] (0,0) node (X) {}; |
|
364 |
\draw[white] (1,-1) node (Y) {}; |
|
365 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
366 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
367 |
\end{tikzpicture} |
|
368 |
\end{textblock}} |
|
369 |
||
370 |
\only<3->{ |
|
371 |
\begin{textblock}{1}(6.8,7.5) |
|
372 |
\begin{tikzpicture}[scale=1.3] |
|
373 |
\draw[white] (0,0) node (X) {}; |
|
374 |
\draw[white] (1,1) node (Y) {}; |
|
375 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
376 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
377 |
\end{tikzpicture} |
|
378 |
\end{textblock} |
|
379 |
||
380 |
\begin{textblock}{1}(4.8,5.9) |
|
381 |
\begin{tikzpicture}[scale=1.3] |
|
382 |
\draw[white] (0,0) node (X) {}; |
|
383 |
\draw[white] (1.4,0) node (Y) {}; |
|
384 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
|
385 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
386 |
\end{tikzpicture} |
|
387 |
\end{textblock}} |
|
388 |
||
389 |
\only<4->{ |
|
390 |
\begin{textblock}{1}(12,6.5) |
|
391 |
\begin{tabular}{c} |
|
392 |
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm] |
|
393 |
\small card\\[-2mm]\small terminal\\[-2mm] \small producer |
|
394 |
\end{tabular} |
|
395 |
\end{textblock} |
|
396 |
||
397 |
\begin{textblock}{1}(10,7) |
|
398 |
\begin{tikzpicture}[scale=1.6] |
|
399 |
\draw[white] (0,0) node (X) {}; |
|
400 |
\draw[white] (-1,0.6) node (Y) {}; |
|
401 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
402 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
403 |
\end{tikzpicture} |
|
404 |
\end{textblock}} |
|
0 | 405 |
|
406 |
\end{frame}} |
|
407 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
408 |
||
409 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
410 |
\mode<presentation>{ |
|
411 |
\begin{frame}[c] |
|
1 | 412 |
\frametitle{\begin{tabular}{c}Chip-and-PIN\end{tabular}} |
0 | 413 |
|
414 |
||
1 | 415 |
\begin{itemize} |
5 | 416 |
\item A ``tamperesitant'' terminal playing Tetris on |
417 |
\textcolor{blue}{\href{http://www.youtube.com/watch?v=wWTzkD9M0sU}{youtube}}.\\ |
|
1 | 418 |
\textcolor{lightgray}{\footnotesize(\url{http://www.youtube.com/watch?v=wWTzkD9M0sU})} |
419 |
\end{itemize} |
|
420 |
||
421 |
||
422 |
\includegraphics[scale=0.2]{pics/tetris.jpg} |
|
423 |
||
424 |
||
0 | 425 |
\end{frame}} |
1 | 426 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0 | 427 |
|
428 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
429 |
\mode<presentation>{ |
|
430 |
\begin{frame}[c] |
|
1 | 431 |
\frametitle{\begin{tabular}{c}Chip-and-PIN\end{tabular}} |
432 |
||
0 | 433 |
|
434 |
\begin{itemize} |
|
5 | 435 |
\item in 2006, Shell petrol stations stopped accepting Chip-and-PIN after \pounds{}1m had been stolen from customer accounts\smallskip |
1 | 436 |
\item in 2008, hundreds of card readers for use in Britain, Ireland, the Netherlands, Denmark, and Belgium had been |
437 |
expertly tampered with shortly after manufacture so that details and PINs of credit cards were sent during the 9 months |
|
438 |
before over mobile phone networks to criminals in Lahore, Pakistan |
|
0 | 439 |
\end{itemize} |
440 |
||
441 |
\end{frame}} |
|
442 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
443 |
||
444 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
445 |
\mode<presentation>{ |
|
446 |
\begin{frame}[c] |
|
1 | 447 |
\frametitle{\begin{tabular}{c}Chip-and-PIN is Broken\end{tabular}} |
0 | 448 |
|
1 | 449 |
\begin{flushright} |
450 |
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\; |
|
451 |
\includegraphics[scale=1.5]{pics/anderson.jpg} |
|
452 |
\end{flushright} |
|
0 | 453 |
|
454 |
\begin{itemize} |
|
5 | 455 |
\item man-in-the-middle attacks by the group around Ross Anderson\medskip |
0 | 456 |
\end{itemize} |
457 |
||
1 | 458 |
\begin{center} |
5 | 459 |
\mbox{}\hspace{-20mm}\includegraphics[scale=0.5]{pics/chip-attack.png} |
1 | 460 |
\end{center} |
5 | 461 |
|
462 |
||
463 |
\begin{textblock}{1}(11.5,13.7) |
|
464 |
\begin{tabular}{l} |
|
465 |
\footnotesize on BBC Newsnight\\[-2mm] |
|
466 |
\footnotesize in 2010 or \textcolor{blue}{\href{http://www.youtube.com/watch?v=JPAX32lgkrw}{youtube}} |
|
467 |
\end{tabular} |
|
468 |
\end{textblock} |
|
0 | 469 |
|
470 |
\end{frame}} |
|
471 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
472 |
||
473 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
474 |
\mode<presentation>{ |
|
475 |
\begin{frame}[c] |
|
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
476 |
\frametitle{\Large\begin{tabular}{@ {}c@ {}}Chip-and-PIN is Really Broken\end{tabular}} |
0 | 477 |
|
1 | 478 |
\begin{flushright} |
479 |
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\; |
|
480 |
\includegraphics[scale=1.5]{pics/anderson.jpg} |
|
481 |
\end{flushright} |
|
0 | 482 |
|
483 |
\begin{itemize} |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
484 |
\item same group successfully attacked in 2012 card readers and ATM machines |
1 | 485 |
\item the problem: several types of ATMs generate poor random numbers, which are used as nonces |
0 | 486 |
\end{itemize} |
1 | 487 |
|
0 | 488 |
\end{frame}} |
489 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
490 |
||
491 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
492 |
\mode<presentation>{ |
|
493 |
\begin{frame}[c] |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
494 |
\frametitle{\begin{tabular}{c}The Real Problem \ldots\end{tabular}} |
0 | 495 |
|
496 |
||
1 | 497 |
\begin{textblock}{1}(3,4) |
498 |
\begin{tabular}{c} |
|
499 |
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm] |
|
500 |
\small Bank |
|
501 |
\end{tabular} |
|
502 |
\end{textblock} |
|
503 |
||
504 |
\begin{textblock}{1}(7,4.5) |
|
505 |
\begin{tabular}{c} |
|
506 |
\includegraphics[scale=3]{pics/store.png}\\[-2mm] |
|
507 |
\end{tabular} |
|
508 |
\end{textblock} |
|
0 | 509 |
|
1 | 510 |
\begin{textblock}{1}(12,6.5) |
511 |
\begin{tabular}{c} |
|
512 |
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm] |
|
513 |
\small terminal\\[-2mm] \small producer |
|
514 |
\end{tabular} |
|
0 | 515 |
\end{textblock} |
1 | 516 |
|
517 |
\begin{textblock}{1}(4.5,9.9) |
|
518 |
\begin{tabular}{c} |
|
519 |
\includegraphics[scale=0.13]{pics/rman.png}\\[-1mm] |
|
520 |
\small costumer / you |
|
521 |
\end{tabular} |
|
522 |
\end{textblock} |
|
0 | 523 |
|
8 | 524 |
\begin{textblock}{1}(4.5,7.5) |
525 |
\begin{tikzpicture}[scale=1.3] |
|
526 |
\draw[white] (0,0) node (X) {}; |
|
527 |
\draw[white] (1,-1) node (Y) {}; |
|
528 |
\draw[gray, ->, line width = 2mm] (X) -- (Y); |
|
529 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
530 |
\end{tikzpicture} |
|
531 |
\end{textblock} |
|
532 |
||
533 |
\begin{textblock}{1}(6.8,7.5) |
|
534 |
\begin{tikzpicture}[scale=1.3] |
|
535 |
\draw[white] (0,0) node (X) {}; |
|
536 |
\draw[white] (1,1) node (Y) {}; |
|
537 |
\draw[gray, ->, line width = 2mm] (X) -- (Y); |
|
538 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
539 |
\end{tikzpicture} |
|
540 |
\end{textblock} |
|
541 |
||
542 |
\begin{textblock}{1}(4.8,5.9) |
|
543 |
\begin{tikzpicture}[scale=1.3] |
|
544 |
\draw[white] (0,0) node (X) {}; |
|
545 |
\draw[white] (1.4,0) node (Y) {}; |
|
546 |
\draw[gray, <->, line width = 2mm] (X) -- (Y); |
|
547 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
548 |
\end{tikzpicture} |
|
549 |
\end{textblock} |
|
550 |
||
551 |
\begin{textblock}{1}(10,7) |
|
552 |
\begin{tikzpicture}[scale=1.6] |
|
553 |
\draw[white] (0,0) node (X) {}; |
|
554 |
\draw[white] (-1,0.6) node (Y) {}; |
|
555 |
\draw[gray, ->, line width = 2mm] (X) -- (Y); |
|
556 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
557 |
\end{tikzpicture} |
|
558 |
\end{textblock} |
|
559 |
||
1 | 560 |
\begin{textblock}{14}(1,13.5) |
561 |
\begin{itemize} |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
562 |
\item the burden of proof for fraud and financial liability was shifted to the costumer (until approx.~2009/10) |
1 | 563 |
\end {itemize} |
0 | 564 |
\end{textblock} |
565 |
||
566 |
\end{frame}} |
|
567 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
568 |
||
569 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
570 |
\mode<presentation>{ |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
571 |
\begin{frame} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
572 |
\frametitle{\begin{tabular}{@ {}c@ {}}The Bad Guy Again\end{tabular}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
573 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
574 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
575 |
\only<1->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
576 |
\begin{textblock}{1}(1,4) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
577 |
\begin{tikzpicture} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
578 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
579 |
{\normalsize\color{darkgray} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
580 |
\begin{minipage}{11cm}\raggedright\footnotesize |
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
581 |
The Annonymous Hacker from earlier:\medskip\\ |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
582 |
``Try to use `Verified-By-Visa' and `Mastercard-Securecode' as rarely as possible. If only your CVV2 code is getting sniffed, you are not liable for any damage, because the code is physically printed and could have been stolen while you payed with your card at a store. Same applies if someone cloned your CC reading the magnetic stripe or sniffing RFID. Only losing your VBV or MCSC password can cause serious trouble.''\\ |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
583 |
\hfill{}\textcolor{blue}{\url{goo.gl/UWluh0}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
584 |
\end{minipage}}; |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
585 |
\end{tikzpicture} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
586 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
587 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
588 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
589 |
\end{frame}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
590 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
591 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
592 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
593 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
594 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
595 |
\mode<presentation>{ |
0 | 596 |
\begin{frame}[c] |
9 | 597 |
\frametitle{\begin{tabular}{c}Being Screwed Again\end{tabular}} |
0 | 598 |
|
599 |
||
1 | 600 |
\begin{flushright} |
601 |
\includegraphics[scale=0.3]{pics/rbssecure.jpg} |
|
602 |
\end{flushright} |
|
603 |
||
0 | 604 |
\begin{itemize} |
1 | 605 |
\item {\bf Responsibility}\\ |
606 |
``You understand that you are financially responsible for all uses of RBS Secure.''\\ |
|
607 |
\textcolor{lightgray}{\footnotesize\url{https://www.rbssecure.co.uk/rbs/tdsecure/terms_of_use.jsp}} |
|
0 | 608 |
\end{itemize} |
609 |
||
610 |
\end{frame}} |
|
611 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
612 |
||
2 | 613 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
614 |
\mode<presentation>{ |
|
615 |
\begin{frame}[c] |
|
3 | 616 |
\frametitle{\begin{tabular}{c}Web Applications\end{tabular}} |
2 | 617 |
|
618 |
||
619 |
\begin{textblock}{1}(2,5) |
|
620 |
\begin{tabular}{c} |
|
621 |
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm] |
|
622 |
\small Servers from\\[-2mm] |
|
623 |
\small Dot.com Inc. |
|
624 |
\end{tabular} |
|
625 |
\end{textblock} |
|
626 |
||
6 | 627 |
\begin{textblock}{1}(5.6,6) |
628 |
\begin{tikzpicture}[scale=2.5] |
|
629 |
\draw[white] (0,0) node (X) {}; |
|
630 |
\draw[white] (1,0) node (Y) {}; |
|
8 | 631 |
\only<2>{\draw[red, <-, line width = 2mm] (X) -- (Y); |
6 | 632 |
\node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};} |
8 | 633 |
\only<3>{\draw[red, ->, line width = 2mm] (X) -- (Y); |
6 | 634 |
\node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};} |
8 | 635 |
\only<4>{\draw[red, <-, line width = 2mm] (X) -- (Y); |
6 | 636 |
\node [inner sep=7pt,label=above:\textcolor{black}{POST data}] at ($ (X)!.5!(Y) $) {};} |
637 |
\end{tikzpicture} |
|
638 |
\end{textblock} |
|
639 |
||
640 |
||
2 | 641 |
\begin{textblock}{1}(9,5.5) |
642 |
\begin{tabular}{c} |
|
643 |
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm] |
|
8 | 644 |
\small Client(s) |
2 | 645 |
\end{tabular} |
646 |
\end{textblock} |
|
647 |
||
648 |
\begin{textblock}{13}(1,13) |
|
649 |
\begin{itemize} |
|
650 |
\item What are pitfalls and best practices? |
|
651 |
\end{itemize} |
|
652 |
\end{textblock} |
|
653 |
||
654 |
\end{frame}} |
|
655 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
656 |
||
5 | 657 |
|
658 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
659 |
\mode<presentation>{ |
|
660 |
\begin{frame}[c] |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
661 |
\frametitle{\begin{tabular}{c}Why Scala?\end{tabular}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
662 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
663 |
\begin{textblock}{6}(1,3) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
664 |
\begin{tabular}{l} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
665 |
\mbox{}\hspace{-1mm}\includegraphics[scale=0.36]{pics/twitter.png}\\[-1mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
666 |
\includegraphics[scale=0.30]{pics/linked.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
667 |
\includegraphics[scale=0.30]{pics/guardian.jpg}\\[-3mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
668 |
\mbox{}\hspace{-2mm}\includegraphics[scale=0.38]{pics/morgan.png}\\[-3mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
669 |
\includegraphics[scale=0.30]{pics/suisse.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
670 |
\includegraphics[scale=0.20]{pics/edf.png}\\[-1mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
671 |
\includegraphics[scale=0.08]{pics/novell.png}\\[-1mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
672 |
\includegraphics[scale=0.30]{pics/foursquare.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
673 |
\includegraphics[scale=0.30]{pics/hsbc.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
674 |
{\large\bf ...} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
675 |
\end{tabular} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
676 |
\end{textblock} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
677 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
678 |
\only<2->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
679 |
\begin{textblock}{6}(6,3) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
680 |
\includegraphics[scale=0.35]{pics/jobgraph.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
681 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
682 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
683 |
\only<3->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
684 |
\begin{textblock}{6}(7.3,9.2) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
685 |
\begin{tabular}{l} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
686 |
\footnotesize 2013: 1$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
687 |
\footnotesize 2014: 3$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
688 |
\footnotesize 2015: 9$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
689 |
\footnotesize 2016: 27$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
690 |
\footnotesize 2017: 81$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
691 |
\footnotesize 2018: 243$\%$ \raisebox{-1mm}{\includegraphics[scale=0.02]{pics/smiley.jpg}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
692 |
\end{tabular} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
693 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
694 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
695 |
\only<3->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
696 |
\begin{textblock}{6}(6,9.5) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
697 |
\footnotesize 5 yrs $\begin{cases}\mbox{}\\[1.4cm]\end{cases}$ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
698 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
699 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
700 |
\only<4->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
701 |
\begin{textblock}{11}(5,14.1) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
702 |
\textcolor{gray}{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
703 |
\footnotesize {\bf in London today:} 1 Scala job for every 30 Java jobs;\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
704 |
Scala programmers seem to get up to 20\% better salary} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
705 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
706 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
707 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
708 |
\only<5->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
709 |
\begin{textblock}{1}(3,6) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
710 |
\begin{tikzpicture} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
711 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
712 |
{\normalsize\color{darkgray} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
713 |
\begin{minipage}{8.5cm}\raggedright\normalsize |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
714 |
Scala is a functional and object-oriented programming language; compiles to the JVM; does not |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
715 |
need null-pointer exceptions; a course on Coursera\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
716 |
\mbox{}\hfill\textcolor{blue}{\url{http://www.scala-lang.org}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
717 |
\end{minipage}}; |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
718 |
\end{tikzpicture} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
719 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
720 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
721 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
722 |
\end{frame}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
723 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
724 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
725 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
726 |
\mode<presentation>{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
727 |
\begin{frame}[c] |
5 | 728 |
\frametitle{\begin{tabular}{c}Scala + Play\end{tabular}} |
729 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
730 |
\small a simple response from the server: |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
731 |
|
6 | 732 |
|
5 | 733 |
{\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
|
734 |
\texttt{\lstinputlisting{../progs/app0.scala}}}\bigskip |
5 | 735 |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
736 |
\small |
5 | 737 |
alternative response:\\ |
738 |
||
739 |
{\lstset{language=Scala}\fontsize{8}{10}\selectfont |
|
6 | 740 |
\texttt{\lstinline{Ok("<H1>Hello world!</H1>").as(HTML)}}} |
5 | 741 |
\end{frame}} |
742 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
743 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
744 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
745 |
|
5 | 746 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
747 |
\mode<presentation>{ |
|
748 |
\begin{frame}[c] |
|
749 |
||
750 |
{\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
|
751 |
\texttt{\lstinputlisting{../progs/app1.scala}}} |
5 | 752 |
|
753 |
||
754 |
\end{frame}} |
|
755 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
756 |
||
6 | 757 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
758 |
\mode<presentation>{ |
|
759 |
\begin{frame}[c] |
|
760 |
\frametitle{\begin{tabular}{c}Cookies\end{tabular}} |
|
761 |
||
762 |
||
763 |
\begin{textblock}{1}(1.5,5) |
|
764 |
\begin{tabular}{c} |
|
765 |
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm] |
|
766 |
\small Servers from\\[-2mm] |
|
767 |
\small Dot.com Inc. |
|
768 |
\end{tabular} |
|
769 |
\end{textblock} |
|
770 |
||
771 |
\begin{textblock}{1}(5.6,5.6) |
|
772 |
\begin{tikzpicture}[scale=2.5] |
|
773 |
\draw[white] (0,0) node (X) {}; |
|
774 |
\draw[white] (1,0) node (Y) {}; |
|
775 |
\draw[white] (0.05,-0.3) node (X1) {}; |
|
776 |
\draw[white] (0.95,-0.3) node (Y1) {}; |
|
777 |
\only<1-2>{\draw[red, <-, line width = 2mm] (X) -- (Y); |
|
778 |
\node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};} |
|
8 | 779 |
\only<1>{\draw[white, <-, line width = 1mm] (X1) -- (Y1); |
780 |
\node [inner sep=2pt,label=below:\textcolor{white}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};} |
|
6 | 781 |
\only<2>{\draw[red, <-, line width = 1mm] (X1) -- (Y1); |
782 |
\node [inner sep=2pt,label=below:\textcolor{black}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};} |
|
783 |
\only<3->{\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
784 |
\node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};} |
|
785 |
\only<3->{\draw[red, ->, line width = 1mm] (X1) -- (Y1); |
|
786 |
\node [inner sep=2pt,label=below:\textcolor{black}{write a cookie}] at ($ (X1)!.5!(Y1) $) {};} |
|
787 |
\end{tikzpicture} |
|
788 |
\end{textblock} |
|
789 |
||
790 |
||
791 |
\begin{textblock}{1}(9.5,5.5) |
|
792 |
\begin{tabular}{c} |
|
793 |
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm] |
|
794 |
\small Client |
|
795 |
\end{tabular} |
|
796 |
\end{textblock} |
|
797 |
||
798 |
\only<4->{ |
|
799 |
\begin{textblock}{13}(1,11) |
|
800 |
\small\begin{itemize} |
|
801 |
\item cookies: max 4KB data\\[-2mm] |
|
802 |
\item cookie theft, cross-site scripting attacks\\[-2mm] |
|
803 |
\item session cookies, persistent cookies, HttpOnly cookies, third-party cookies, zombie cookies |
|
804 |
\end{itemize} |
|
805 |
\end{textblock}} |
|
806 |
||
807 |
\only<5>{ |
|
808 |
\begin{textblock}{11}(1,3) |
|
809 |
\begin{tikzpicture} |
|
810 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
|
811 |
{\normalsize\color{darkgray} |
|
812 |
\begin{minipage}{10cm}\raggedright\small |
|
813 |
{\bf EU Privacy Directive about Cookies:}\smallskip\\ |
|
814 |
``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.'' |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
815 |
\hfill\small\textcolor{gray}{$\rightarrow$BBC News}, \textcolor{blue}{\url{goo.gl/RI4qhh}} |
6 | 816 |
\end{minipage}}; |
817 |
\end{tikzpicture} |
|
818 |
\end{textblock}} |
|
819 |
||
820 |
\end{frame}} |
|
821 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
822 |
||
823 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
824 |
\mode<presentation>{ |
|
9 | 825 |
\begin{frame}[t] |
826 |
\begin{itemize} |
|
827 |
\item While cookies are per web-page, this can be easily circumvented. |
|
828 |
\end{itemize} |
|
829 |
||
830 |
\begin{textblock}{1}(1.5,4.5) |
|
831 |
\begin{tabular}{c} |
|
832 |
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm] |
|
833 |
\small Pet Store\\[-2mm] |
|
834 |
\small Dot.com\\[-2mm] |
|
835 |
\end{tabular} |
|
836 |
\end{textblock} |
|
837 |
||
838 |
\begin{textblock}{1}(1.5,8) |
|
839 |
\begin{tabular}{c} |
|
840 |
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm] |
|
841 |
\small Dating.com |
|
842 |
\end{tabular} |
|
843 |
\end{textblock} |
|
844 |
||
845 |
\begin{textblock}{1}(10.5,7.5) |
|
846 |
\begin{tabular}{c} |
|
847 |
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm] |
|
848 |
\small Evil-Ad-No\\[-2mm] |
|
849 |
\small Privacy.com |
|
850 |
\end{tabular} |
|
851 |
\end{textblock} |
|
852 |
||
853 |
\begin{textblock}{1}(6,10.5) |
|
854 |
\begin{tabular}{c} |
|
855 |
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm] |
|
856 |
\small you |
|
857 |
\end{tabular} |
|
858 |
\end{textblock} |
|
859 |
||
860 |
\begin{textblock}{1}(4,5) |
|
861 |
\begin{tikzpicture}[scale=1] |
|
862 |
\draw[white] (0,0.5) node (X) {}; |
|
863 |
\draw[white] (5.7,-1) node (Y) {}; |
|
864 |
\draw[red, ->, line width = 0.5mm] (X) -- (Y); |
|
865 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
866 |
\end{tikzpicture} |
|
867 |
\end{textblock} |
|
868 |
||
869 |
\begin{textblock}{1}(4,7.9) |
|
870 |
\begin{tikzpicture}[scale=1] |
|
871 |
\draw[white] (0,0) node (X) {}; |
|
872 |
\draw[white] (5.7,0) node (Y) {}; |
|
873 |
\draw[red, ->, line width = 0.5mm] (X) -- (Y); |
|
874 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
875 |
\end{tikzpicture} |
|
876 |
\end{textblock} |
|
877 |
||
878 |
\begin{textblock}{1}(3.3,9.3) |
|
879 |
\begin{tikzpicture}[scale=1.2] |
|
880 |
\draw[white] (0,0) node (X) {}; |
|
881 |
\draw[white] (1.5,-1) node (Y) {}; |
|
882 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
|
883 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
884 |
\draw[white] (0.9,0.3) node (X1) {}; |
|
885 |
\draw[white] (1.9,-1) node (Y1) {}; |
|
886 |
\draw[red, <->, line width = 2mm] (X1) -- (Y1); |
|
887 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X1)!.5!(Y1) $) {}; |
|
888 |
\end{tikzpicture} |
|
889 |
\end{textblock} |
|
890 |
||
891 |
\begin{textblock}{1}(8.6,10.1) |
|
892 |
\begin{tikzpicture}[scale=0.9] |
|
893 |
\draw[white] (0,0) node (X) {}; |
|
894 |
\draw[white] (-2,-1) node (Y) {}; |
|
895 |
\draw[red, <->, line width = 0.5mm] (X) -- (Y); |
|
896 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
897 |
\end{tikzpicture} |
|
898 |
\end{textblock} |
|
899 |
||
900 |
||
901 |
||
902 |
\end{frame}} |
|
903 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
904 |
||
905 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
906 |
\mode<presentation>{ |
|
6 | 907 |
\begin{frame}[c] |
908 |
\frametitle{\begin{tabular}{c}My First Webapp\end{tabular}} |
|
909 |
||
910 |
{\bf GET request:}\smallskip |
|
911 |
\begin{enumerate} |
|
8 | 912 |
\item read the cookie from client |
6 | 913 |
\item if none is present, set \texttt{visits} to \textcolor{blue}{$0$} |
8 | 914 |
\item if cookie is present, extract \texttt{visits} counter |
6 | 915 |
\item if \texttt{visits} is greater or equal \textcolor{blue}{$10$}, \\ |
8 | 916 |
print a valued customer message\\ |
917 |
otherwise just a normal message |
|
6 | 918 |
\item increase \texttt{visits} by \textcolor{blue}{$1$} and store new cookie with client |
919 |
\end{enumerate} |
|
920 |
||
921 |
||
922 |
\end{frame}} |
|
923 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
924 |
||
925 |
||
926 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
927 |
\mode<presentation>{ |
|
928 |
\begin{frame}[c] |
|
929 |
\mbox{}\\[-9mm] |
|
930 |
||
931 |
{\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
|
932 |
\texttt{\lstinputlisting{../progs/app2.scala}}} |
6 | 933 |
|
7 | 934 |
\footnotesize |
935 |
\begin{itemize} |
|
936 |
\item cookie value encoded as hash |
|
937 |
\end{itemize} |
|
938 |
\end{frame}} |
|
939 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
940 |
||
941 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
942 |
\mode<presentation>{ |
|
943 |
\begin{frame}[c] |
|
944 |
||
8 | 945 |
\begin{center} |
946 |
\includegraphics[scale=1.8]{pics/barrier.jpg} |
|
947 |
\end{center} |
|
948 |
||
949 |
\begin{itemize} |
|
950 |
\item data integrity needs to be ensured |
|
951 |
\end{itemize} |
|
7 | 952 |
|
953 |
\end{frame}} |
|
8 | 954 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 955 |
|
956 |
||
957 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
958 |
\mode<presentation>{ |
|
959 |
\begin{frame}[c] |
|
8 | 960 |
\mbox{}\\[-7mm] |
7 | 961 |
|
962 |
{\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
|
963 |
\texttt{\lstinputlisting{../progs/app3.scala}}} |
7 | 964 |
|
8 | 965 |
\small |
966 |
\begin{itemize} |
|
967 |
\item the counter/hash pair is intended to prevent tampering |
|
968 |
\end{itemize} |
|
6 | 969 |
\end{frame}} |
970 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
971 |
||
9 | 972 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 973 |
\mode<presentation>{ |
974 |
\begin{frame}[c] |
|
975 |
\frametitle{\begin{tabular}{c}SHA-1\end{tabular}} |
|
976 |
||
977 |
\begin{itemize} |
|
8 | 978 |
\item SHA-1 is a cryptographic hash function\\ |
979 |
(MD5, SHA-256, SHA-512, \ldots) |
|
980 |
\item message $\rightarrow$ digest |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
981 |
\item attacks exist: $2^{80} \rightarrow 2^{61}$ \bigskip\pause |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
982 |
\item but dictionary attacks are much more effective for extracting passwords (later) |
7 | 983 |
\end{itemize} |
984 |
||
985 |
\end{frame}} |
|
9 | 986 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
987 |
||
7 | 988 |
|
989 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
990 |
\mode<presentation>{ |
|
991 |
\begin{frame}[c] |
|
992 |
\mbox{}\\[-9mm] |
|
993 |
||
994 |
{\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
|
995 |
\texttt{\lstinputlisting{../progs/app4.scala}}} |
7 | 996 |
|
8 | 997 |
\begin{textblock}{1}(9,1) |
998 |
\begin{tikzpicture}[scale=1.3] |
|
999 |
\draw[white] (0,0) node (X) {}; |
|
1000 |
\draw[white] (3,0) node (Y) {}; |
|
1001 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
|
1002 |
\node [inner sep=5pt,label=above:\textcolor{black}{\small should be random}] at ($ (X)!.5!(Y) $) {}; |
|
1003 |
\end{tikzpicture} |
|
1004 |
\end{textblock} |
|
1005 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
1006 |
\begin{textblock}{1}(6.6,5.1) |
8 | 1007 |
\begin{tikzpicture}[scale=1.3] |
1008 |
\draw[white] (0,0) node (X) {}; |
|
1009 |
\draw[white] (1,-1) node (Y) {}; |
|
1010 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
|
1011 |
\node [inner sep=5pt,label=above:{}] at ($ (X)!.5!(Y) $) {}; |
|
1012 |
\end{tikzpicture} |
|
1013 |
\end{textblock} |
|
1014 |
||
7 | 1015 |
\end{frame}} |
1016 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
1017 |
||
6 | 1018 |
|
9 | 1019 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1020 |
\mode<presentation>{ |
1021 |
\begin{frame}[c] |
|
1022 |
\frametitle{\begin{tabular}{c}Unix Passwords\end{tabular}} |
|
6 | 1023 |
|
8 | 1024 |
\begin{itemize} |
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1025 |
\item passwords must \alert{\bf not} be stored in clear text |
9 | 1026 |
\item instead \texttt{/etc/shadow} contains |
8 | 1027 |
\end{itemize} |
9 | 1028 |
|
1029 |
{\small |
|
1030 |
\texttt{name:\$1\$QIGCa\$/ruJs8AvmrknzKTzM2TYE.:other\_info} |
|
1031 |
} |
|
1032 |
||
1033 |
\begin{itemize} |
|
1034 |
\item \texttt{\$} is separator |
|
1035 |
\item \texttt{1} is MD5 (actually SHA-512 is used nowadays, \texttt{6}) |
|
1036 |
\item \texttt{QIGCa} is salt |
|
1037 |
\item \texttt{ruJs8AvmrknzKTzM2TYE} $\rightarrow$ password + salt |
|
1038 |
\end{itemize} |
|
1039 |
||
1040 |
\textcolor{gray}{\small |
|
1041 |
(\texttt{openssl passwd -1 -salt QIGCa pippo}) |
|
1042 |
} |
|
7 | 1043 |
% Unix password |
1044 |
% http://ubuntuforums.org/showthread.php?p=5318038 |
|
1045 |
||
1046 |
\end{frame}} |
|
9 | 1047 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1048 |
|
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1049 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1050 |
\mode<presentation>{ |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1051 |
\begin{frame}[c] |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1052 |
\frametitle{\begin{tabular}{@ {}c@ {}}Plain-Text Passwords\end{tabular}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1053 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1054 |
\pause |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1055 |
\small\textcolor{gray}{On 25 September 2012, a report on a data breach at IEEE:} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1056 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1057 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1058 |
\begin{itemize} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1059 |
\item IEEE is a standards organisation (not-for-profit) |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1060 |
\item many standards in CS are by IEEE\medskip |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1061 |
\item 100k plain-text passwords were recorded in logs |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1062 |
\item the logs were openly accessible on their FTP server |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1063 |
\end{itemize}\bigskip |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1064 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1065 |
\begin{flushright}\small |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1066 |
\textcolor{gray}{\url{http://ieeelog.com}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1067 |
\end{flushright} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1068 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1069 |
\only<3->{ |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1070 |
\begin{textblock}{11}(3,2) |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1071 |
\begin{tikzpicture} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1072 |
\draw (0,0) node[inner sep=2mm,fill=white, ultra thick, draw=red, rounded corners=2mm] |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1073 |
{\normalsize\color{darkgray} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1074 |
\begin{minipage}{7.5cm}\raggedright\small |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1075 |
\includegraphics[scale=0.6]{pics/IEEElog.jpg} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1076 |
\end{minipage}}; |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1077 |
\end{tikzpicture} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1078 |
\end{textblock}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1079 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1080 |
\end{frame}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1081 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1082 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1083 |
|
9 | 1084 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1085 |
\mode<presentation>{ |
1086 |
\begin{frame}[c] |
|
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1087 |
\frametitle{\begin{tabular}{c}Other Password Blunders\end{tabular}} |
6 | 1088 |
|
9 | 1089 |
|
1090 |
\begin{itemize} |
|
1091 |
\item in late 2009, when an SQL injection attack against online games |
|
1092 |
service RockYou.com exposed 32 million \alert{plaintext} passwords |
|
8 | 1093 |
|
9 | 1094 |
\item 1.3 million Gawker credentials exposed in December 2010 containing |
1095 |
unsalted(?) \alert{MD5} hashes |
|
1096 |
||
12 | 1097 |
\item June 6th, 2012, 6 million unsalted SHA-1 passwords were leaked from linkedIn |
3 | 1098 |
% linkedIn password |
1099 |
% http://erratasec.blogspot.co.uk/2012/06/confirmed-linkedin-6mil-password-dump.html |
|
9 | 1100 |
\end{itemize}\medskip |
8 | 1101 |
|
9 | 1102 |
\small |
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1103 |
(web user maintains 25 separate accounts but uses just 6.5 passwords.) |
8 | 1104 |
|
7 | 1105 |
\end{frame}} |
9 | 1106 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1107 |
|
8 | 1108 |
%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. |
1109 |
||
1110 |
||
3 | 1111 |
% rainbow tables |
1112 |
% http://en.wikipedia.org/wiki/Rainbow_table |
|
1113 |
||
7 | 1114 |
|
3 | 1115 |
|
9 | 1116 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1117 |
\mode<presentation>{ |
1118 |
\begin{frame}[c] |
|
1119 |
\frametitle{\begin{tabular}{c}Brute Forcing Passwords\end{tabular}} |
|
1120 |
||
1121 |
\begin{itemize} |
|
5 | 1122 |
\item How fast can hackers crack SHA-1 passwords? \pause |
3 | 1123 |
|
5 | 1124 |
\item The answer is 2 billion attempts per second\\ |
1125 |
using a Radeon HD 7970 |
|
3 | 1126 |
\end{itemize} |
1127 |
||
1128 |
\begin{center} |
|
5 | 1129 |
\begin{tabular}{@ {\hspace{-12mm}}rl} |
3 | 1130 |
password length & time\smallskip\\\hline |
1131 |
5 letters & 5 secs\\ |
|
1132 |
6 letters & 500 secs\\ |
|
1133 |
7 letters & 13 hours\\ |
|
1134 |
8 letters & 57 days\\ |
|
1135 |
9 letters & 15 years\\ |
|
1136 |
\end{tabular} |
|
1137 |
\end{center} |
|
1138 |
||
1139 |
\small |
|
5 | 1140 |
5 letters $\approx$ 100$^5$ $=$ 10 billion combinations\\ |
1141 |
(1 letter - upper case, lower case, digits, symbols $\approx$ 100) |
|
1142 |
||
1143 |
\only<2->{ |
|
1144 |
\begin{textblock}{1}(12,5) |
|
1145 |
\begin{tabular}{c} |
|
1146 |
\includegraphics[scale=0.3]{pics/radeon.jpg}\\[-6mm] |
|
1147 |
\footnotesize graphics card\\[-1mm] |
|
1148 |
\footnotesize ca.~\pounds{}300 |
|
1149 |
\end{tabular} |
|
1150 |
\end{textblock}} |
|
1151 |
||
1152 |
||
3 | 1153 |
|
1154 |
\end{frame}} |
|
9 | 1155 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1156 |
|
9 | 1157 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4 | 1158 |
\mode<presentation>{ |
1159 |
\begin{frame}[c] |
|
7 | 1160 |
\frametitle{\begin{tabular}{c}Passwords\end{tabular}} |
4 | 1161 |
|
9 | 1162 |
How to recover from a breakin?\pause\medskip |
1163 |
||
4 | 1164 |
\begin{itemize} |
9 | 1165 |
\item Do not send passwords in plain text. |
1166 |
\item Security questions are tricky to get right. |
|
1167 |
\item QQ (Chinese Skype) authenticates you via contacts. |
|
4 | 1168 |
\end{itemize} |
1169 |
||
1170 |
\end{frame}} |
|
9 | 1171 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4 | 1172 |
|
9 | 1173 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1174 |
\mode<presentation>{ |
1175 |
\begin{frame}[c] |
|
7 | 1176 |
\frametitle{\begin{tabular}{c}This Course\end{tabular}} |
3 | 1177 |
|
1178 |
\begin{itemize} |
|
9 | 1179 |
\item break-ins (buffer overflows) |
1180 |
\item access control\\ (role based, data security / data integrity) |
|
101
b37223b88ebd
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
100
diff
changeset
|
1181 |
\item electronic voting |
b37223b88ebd
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
100
diff
changeset
|
1182 |
\item protocols (specification) |
7 | 1183 |
\item access control logic |
1184 |
\item privacy |
|
1185 |
\begin{quote} |
|
1186 |
Scott McNealy: \\``You have zero privacy anyway. Get over it.'' |
|
1187 |
\end{quote} |
|
101
b37223b88ebd
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
100
diff
changeset
|
1188 |
\item zero-knowledge proofs |
3 | 1189 |
\end{itemize} |
1190 |
||
1191 |
\end{frame}} |
|
9 | 1192 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1193 |
|
9 | 1194 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1195 |
\mode<presentation>{ |
1196 |
\begin{frame}[c] |
|
100
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1197 |
\frametitle{\Large\begin{tabular}{c}User-Tracking Without Cookies\end{tabular}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1198 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1199 |
Can you track a user {\bf without}: |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1200 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1201 |
\begin{itemize} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1202 |
\item Cookies |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1203 |
\item Javascript |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1204 |
\item LocalStorage/SessionStorage/GlobalStorage |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1205 |
\item Flash, Java or other plugins |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1206 |
\item Your IP address or user agent string |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1207 |
\item Any methods employed by Panopticlick\\ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1208 |
\mbox{}\hfill $\rightarrow$ \textcolor{blue}{\url{https://panopticlick.eff.org/}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1209 |
\end{itemize} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1210 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1211 |
Even when you disabled cookies entirely, have Javascript turned off and use a VPN service.\\\pause |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1212 |
And numerous sites already use it. |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1213 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1214 |
\end{frame}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1215 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1216 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1217 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1218 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1219 |
\mode<presentation>{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1220 |
\begin{frame}[c] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1221 |
\frametitle{\begin{tabular}{c}Web-Protocol\end{tabular}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1222 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1223 |
\only<1->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1224 |
\begin{textblock}{1}(2,2) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1225 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1226 |
\draw[white] (0,0) node (X) {\includegraphics[scale=0.12]{pics/firefox.jpg}}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1227 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1228 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1229 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1230 |
\only<1->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1231 |
\begin{textblock}{1}(11,2) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1232 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1233 |
\draw[white] (0,0) node (X) {\includegraphics[scale=0.15]{pics/servers.png}}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1234 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1235 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1236 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1237 |
\only<1->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1238 |
\begin{textblock}{1}(5,2.5) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1239 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1240 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1241 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1242 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1243 |
\node [inner sep=5pt,label=above:\textcolor{black}{\small GET static.jpg}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1244 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1245 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1246 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1247 |
\only<2->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1248 |
\begin{textblock}{1}(5,6) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1249 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1250 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1251 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1252 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1253 |
\node [inner sep=5pt,label=below:\textcolor{black}{\small ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1254 |
\node [inner sep=5pt,label=above:{\includegraphics[scale=0.15]{pics/tvtestscreen.jpg}}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1255 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1256 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1257 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1258 |
\only<3->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1259 |
\begin{textblock}{1}(4.2,11) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1260 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1261 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1262 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1263 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1264 |
\node [inner sep=5pt,label=above:\textcolor{black}{\small GET static.jpg ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1265 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1266 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1267 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1268 |
\only<4->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1269 |
\begin{textblock}{1}(4.2,13.9) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1270 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1271 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1272 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1273 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1274 |
\node [inner sep=5pt,label=below:\textcolor{black}{\small HTTP/1.1 304 (Not Modified)}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1275 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1276 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1277 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1278 |
\end{frame}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1279 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1280 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1281 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1282 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1283 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1284 |
\mode<presentation>{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1285 |
\begin{frame}[c] |
9 | 1286 |
\frametitle{\begin{tabular}{c}Books + Homework\end{tabular}} |
8 | 1287 |
|
9 | 1288 |
\begin{itemize} |
100
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1289 |
\item There is no single book I am following |
9 | 1290 |
\begin{center} |
1291 |
\includegraphics[scale=0.012]{pics/andersonbook1.jpg} |
|
1292 |
\includegraphics[scale=0.23]{pics/accesscontrolbook.jpg} |
|
1293 |
\end{center}\medskip\pause |
|
1294 |
||
1295 |
\item The question ``Is this relevant for the exams'' is not appreciated!\medskip\\ |
|
1296 |
||
1297 |
Whatever is in the homework sheets (and is not marked optional) is relevant for the |
|
10 | 1298 |
exam. No code needs to be written. |
9 | 1299 |
\end{itemize} |
8 | 1300 |
|
1301 |
\end{frame}} |
|
1302 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
1303 |
||
2 | 1304 |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1305 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1306 |
\mode<presentation>{ |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1307 |
\begin{frame}[c] |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1308 |
\frametitle{\begin{tabular}{c}Take-Home Points\end{tabular}} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1309 |
|
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1310 |
\begin{itemize} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1311 |
\item Never store passwords in plain text.\medskip |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1312 |
\item Always salt your hashes!\medskip |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1313 |
\item Use an existing crypto algorithm; do not write your own!\medskip |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1314 |
\item Make the party responsible for losses, who is in the position to improve things. |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1315 |
\end{itemize} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1316 |
|
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1317 |
\end{frame}} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1318 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0 | 1319 |
|
1320 |
||
1321 |
\end{document} |
|
1322 |
||
1323 |
%%% Local Variables: |
|
94
caf08b02fa32
added pictures
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
93
diff
changeset
|
1324 |
%%% mode: xelatex |
0 | 1325 |
%%% TeX-master: t |
1326 |
%%% End: |
|
1327 |