author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Tue, 02 Dec 2014 02:29:37 +0000 | |
changeset 339 | 0e78c809b17f |
parent 154 | 525c512629c7 |
child 341 | f652d17db871 |
permissions | -rw-r--r-- |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
\documentclass[dvipsnames,14pt,t]{beamer} |
339
0e78c809b17f
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
154
diff
changeset
|
2 |
\usepackage{../slides} |
0e78c809b17f
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
154
diff
changeset
|
3 |
\usepackage{../langs} |
0e78c809b17f
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
154
diff
changeset
|
4 |
\usepackage{../graphics} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
% beamer stuff |
339
0e78c809b17f
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
154
diff
changeset
|
7 |
\renewcommand{\slidecaption}{APP 10, King's College London} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
\newcommand{\bl}[1]{\textcolor{blue}{#1}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
\begin{document} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
13 |
\mode<presentation>{ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
14 |
\begin{frame}<1>[t] |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
15 |
\frametitle{% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
16 |
\begin{tabular}{@ {}c@ {}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
17 |
\\ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
18 |
\LARGE Access Control and \\[-3mm] |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
19 |
\LARGE Privacy Policies (10)\\[-6mm] |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
20 |
\end{tabular}}\bigskip\bigskip\bigskip |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
21 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
22 |
%\begin{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
23 |
%\includegraphics[scale=1.3]{pics/barrier.jpg} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
24 |
%\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
25 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
26 |
\normalsize |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
27 |
\begin{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
28 |
\begin{tabular}{ll} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
29 |
Email: & christian.urban at kcl.ac.uk\\ |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
30 |
Office: & S1.27 (1st floor Strand Building)\\ |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
31 |
Slides: & KEATS (also homework is there)\\ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
32 |
\end{tabular} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
33 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
34 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
35 |
\end{frame}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
36 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
37 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
38 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
39 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
40 |
\mode<presentation>{ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
41 |
\begin{frame}[c] |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
42 |
\frametitle{\mbox{}\\[20mm]\huge Revision} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
43 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
44 |
\end{frame}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
45 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
46 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
47 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
48 |
\mode<presentation>{ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
49 |
\begin{frame}[c] |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
50 |
\frametitle{1st Lecture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
51 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
52 |
\begin{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
53 |
\item hashes and salts to guaranty data integrity\bigskip |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
54 |
\item storing passwords (brute force attacks and dictionary attacks) |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
55 |
\end{itemize} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
56 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
57 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
58 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
59 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
60 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
61 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
62 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
63 |
\frametitle{\begin{tabular}{c}2nd Lecture:\\ E-Voting\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
64 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
65 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
66 |
\item Integrity |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
67 |
\item Ballot Secrecy |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
68 |
\item Voter Authentication |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
69 |
\item Enfranchisement |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
70 |
\item Availability |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
71 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
72 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
73 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
74 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
75 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
76 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
77 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
78 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
79 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
80 |
\frametitle{\begin{tabular}{c}2nd Lecture:\\ E-Voting\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
81 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
82 |
Online Banking vs.~E-Voting |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
83 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
84 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
85 |
\item online banking: if fraud occurred you try to identify who did what (somebody's account got zero)\bigskip |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
86 |
\item e-voting: some parts can be done electronically, but not the actual voting (final year project: online voting) |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
87 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
88 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
89 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
90 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
91 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
92 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
93 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
94 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
95 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
96 |
\tikzset{alt/.code args={<#1>#2#3#4}{% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
97 |
\alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
98 |
}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
99 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
100 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
101 |
\begin{frame}[t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
102 |
\frametitle{\begin{tabular}{c}3rd Lecture:\\ Buffer Overflow Attacks\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
103 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
104 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
105 |
\item the problem arises from the way C/C++ organises its function calls\\[-8mm]\mbox{} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
106 |
\end{itemize} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
107 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
108 |
\begin{center} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
109 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
110 |
%\draw[black!10,step=2mm] (0,0) grid (9,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
111 |
%\draw[black!10,thick,step=10mm] (0,0) grid (9,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
112 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
113 |
\node at (0.5,4.5) {\small\begin{tabular}{l}main\\[-2mm] prog.\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
114 |
\draw[line width=0mm, white, alt=<2->{fill=red}{fill=blue}] (0,2.5) rectangle (1,3.8); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
115 |
\draw[line width=0mm, white, alt=<9->{fill=red}{fill=blue}] (0,0.2) rectangle (1,0.5); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
116 |
\draw[line width=1mm, alt=<3->{fill=yellow}{fill=blue}] (0,2.0) rectangle (1,2.5); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
117 |
\draw[line width=1mm, alt=<6->{fill=red}{fill=blue}] (0,1.0) rectangle (1,2.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
118 |
\draw[line width=1mm, alt=<7->{fill=yellow}{fill=blue}] (0,0.5) rectangle (1,1.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
119 |
\draw[line width=1mm] (0,0) -- (0,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
120 |
\draw[line width=1mm] (1,0) -- (1,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
121 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
122 |
\node at (3.5,3.5) {\small\begin{tabular}{l}fact(n)\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
123 |
\draw[line width=1mm, alt=<{4-5,8}>{fill=red}{fill=blue}] (3,1.0) rectangle (4,3.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
124 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
125 |
\onslide<3-4>{\draw[->, line width=1mm,red] (1,2.3) to node [above,sloped,midway] {n=4} (3,3);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
126 |
\onslide<5>{\draw[<-, line width=1mm,red] (1,2.3) to node [above,sloped,midway] {res=24} (3,1);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
127 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
128 |
\onslide<7-8>{\draw[->, line width=1mm,red] (1,0.8) to node [above,sloped,midway] {n=3} (3,3);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
129 |
\onslide<9>{\draw[<-, line width=1mm,red] (1,0.8) to node [above,sloped,midway] {res=6} (3,1);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
130 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
131 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
132 |
\node at (7.75,3.9) {\small\begin{tabular}{l}stack\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
133 |
\draw[line width=1mm] (7,3.5) -- (7,0.5) -- (8.5,0.5) -- (8.5,3.5); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
134 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
135 |
\onslide<3,4,7,8>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
136 |
\node at (7.75, 0.8) {ret}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
137 |
\draw[line width=1mm] (7,1.1) -- (8.5,1.1); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
138 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
139 |
\onslide<3>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
140 |
\node at (7.75, 1.4) {4}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
141 |
\draw[line width=1mm] (7,1.7) -- (8.5,1.7); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
142 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
143 |
\onslide<7>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
144 |
\node at (7.75, 1.4) {3}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
145 |
\draw[line width=1mm] (7,1.7) -- (8.5,1.7); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
146 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
147 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
148 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
149 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
150 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
151 |
\end{tikzpicture} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
152 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
153 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
154 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
155 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
156 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
157 |
\begin{frame}[t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
158 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
159 |
\begin{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
160 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
161 |
%\draw[black!10,step=2mm] (0,0) grid (9,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
162 |
%\draw[black!10,thick,step=10mm] (0,0) grid (9,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
163 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
164 |
\node at (0.5,4.5) {\small\begin{tabular}{l}main\\[-2mm] prog.\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
165 |
\draw[line width=0mm, white, alt=<2->{fill=red}{fill=blue}] (0,2.5) rectangle (1,3.8); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
166 |
\draw[line width=1mm, white, fill=blue] (0,1.0) rectangle (1,2.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
167 |
\draw[line width=1mm, alt=<3->{fill=yellow}{fill=blue}] (0,2.0) rectangle (1,2.5); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
168 |
\draw[line width=1mm] (0,0) -- (0,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
169 |
\draw[line width=1mm] (1,0) -- (1,4); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
170 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
171 |
\node at (3.5,3.5) {\small\begin{tabular}{l}fact(n)\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
172 |
\draw[line width=0mm, alt=<{4-}>{red, fill=red}{blue, fill=blue}] (3,2.8) rectangle (4,3.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
173 |
\draw[line width=0mm, alt=<{5-}>{red, fill=red}{blue, fill=blue}] (3,2.8) rectangle (4,2.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
174 |
\draw[line width=0mm, alt=<{7-}>{red, fill=red}{blue, fill=blue}] (3,2.0) rectangle (4,1.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
175 |
\draw[line width=1mm] (3,1.0) rectangle (4,3.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
176 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
177 |
\onslide<3->{\draw[->, line width=1mm,red] (1,2.3) to node [above,sloped,midway] {n=4} (3,3);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
178 |
\onslide<5->{\draw[<-, line width=2mm,red] (4,2) to node [above,sloped,midway] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
179 |
{\begin{tabular}{l}user\\[-1mm] input\end{tabular}} (6,2);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
180 |
\onslide<8->{\draw[<-, line width=1mm,red] (1,-2) to (3,1);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
181 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
182 |
\node at (7.75,3.9) {\small\begin{tabular}{l}stack\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
183 |
\draw[line width=1mm] (7,3.5) -- (7,0.5) -- (8.5,0.5) -- (8.5,3.5); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
184 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
185 |
\onslide<3->{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
186 |
\draw[line width=1mm,alt=<6->{fill=red}{fill=white}] (7,0.5) rectangle (8.5,1.1); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
187 |
\node at (7.75, 0.8) {\alt<6->{@a\#}{ret}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
188 |
\draw[line width=1mm,alt=<6->{fill=red}{fill=white}] (7,1.1) rectangle (8.5,1.7); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
189 |
\node at (7.75, 1.4) {\alt<6->{!?w;}4}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
190 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
191 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
192 |
\onslide<4->{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
193 |
\draw[line width=1mm,fill=red] (7,1.7) rectangle (8.5,3.0); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
194 |
\node[white] at (7.75, 2.4) {buffer}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
195 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
196 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
197 |
\end{tikzpicture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
198 |
\end{center} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
199 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
200 |
\end{frame}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
201 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
202 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
203 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
204 |
\mode<presentation>{ |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
205 |
\begin{frame}[t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
206 |
\frametitle{\begin{tabular}{c}3rd Lecture:\\ Unix Access Control\end{tabular}} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
207 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
208 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
209 |
\item privileges are specified by file access permissions (``everything is a file'') |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
210 |
\end{itemize}\medskip |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
211 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
212 |
\begin{center} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
213 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
214 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
215 |
\draw[line width=1mm] (-.3, 0) rectangle (1.5,2); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
216 |
\draw (4.7,1) node {Internet}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
217 |
\draw (-2.7,1.7) node {\footnotesize Application}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
218 |
\draw (0.6,1.7) node {\footnotesize Interface}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
219 |
\draw (0.6,-0.4) node {\footnotesize \begin{tabular}{c}unprivileged\\[-1mm] process\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
220 |
\draw (-2.7,-0.4) node {\footnotesize \begin{tabular}{c}privileged\\[-1mm] process\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
221 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
222 |
\draw[line width=1mm] (-1.8, 0) rectangle (-3.6,2); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
223 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
224 |
\draw[white] (1.7,1) node (X) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
225 |
\draw[white] (3.7,1) node (Y) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
226 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
227 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
228 |
\draw[red, <->, line width = 1mm] (-0.6,1) -- (-1.6,1); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
229 |
\end{tikzpicture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
230 |
\end{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
231 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
232 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
233 |
\item the idea is make the attack surface smaller and |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
234 |
mitigate the consequences of an attack |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
235 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
236 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
237 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
238 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
239 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
240 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
241 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
242 |
\frametitle{\begin{tabular}{c}3rd Lecture:\\ Unix Access Control\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
243 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
244 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
245 |
\item when a file with setuid is executed, the resulting process will assume the |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
246 |
UID given to the owner of the file |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
247 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
248 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
249 |
\small\tt |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
250 |
\begin{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
251 |
\begin{verbatim} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
252 |
$ ls -ld . * */* |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
253 |
drwxr-xr-x 1 ping staff 32768 Apr 2 2010 . |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
254 |
-rw----r-- 1 ping students 31359 Jul 24 2011 manual.txt |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
255 |
-r--rw--w- 1 bob students 4359 Jul 24 2011 report.txt |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
256 |
-rwsr--r-x 1 bob students 141359 Jun 1 2013 microedit |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
257 |
dr--r-xr-x 1 bob staff 32768 Jul 23 2011 src |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
258 |
-rw-r--r-- 1 bob staff 81359 Feb 28 2012 src/code.c |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
259 |
-r--rw---- 1 emma students 959 Jan 23 2012 src/code.h |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
260 |
\end{verbatim} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
261 |
\end{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
262 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
263 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
264 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
265 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
266 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
267 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
268 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
269 |
\begin{frame}[c] |
154
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
270 |
\frametitle{\begin{tabular}{c}8th Lecture: Privacy\end{tabular}} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
271 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
272 |
\begin{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
273 |
\item differential privacy for annonymizing research data |
154
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
274 |
|
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
275 |
\begin{center} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
276 |
User\;\;\;\; |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
277 |
\begin{tabular}{c} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
278 |
tell me \bl{$f(x)$} $\Rightarrow$\\ |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
279 |
$\Leftarrow$ \bl{$f(x) + \text{noise}$} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
280 |
\end{tabular} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
281 |
\;\;\;\;\begin{tabular}{@{}c} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
282 |
Database\\ |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
283 |
\bl{$x_1, \ldots, x_n$} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
284 |
\end{tabular} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
285 |
\end{center} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
286 |
|
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
287 |
\item \bl{$f(x)$} can be released, if \bl{$f$} is insensitive to |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
288 |
individual entries \bl{$x_1, \ldots, x_n$}\\ |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
289 |
\item The intuition: whatever is learned from the dataset would be learned regardless of whether |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
290 |
\bl{$x_i$} participates\bigskip\pause |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
291 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
292 |
\item Tor webservice |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
293 |
\end{itemize} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
294 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
295 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
296 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
297 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
298 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
299 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
300 |
\mode<presentation>{ |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
301 |
\begin{frame}[c] |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
302 |
\frametitle{\begin{tabular}{c}9th Lecture:\\ Privacy\end{tabular}} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
303 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
304 |
\begin{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
305 |
\item zero-knowledge proofs |
154
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
306 |
\item requires NP problems, for example graph isomorphisms\bigskip\pause |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
307 |
\item random number generators |
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
308 |
\end{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
309 |
|
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
310 |
|
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
311 |
\end{frame}} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
312 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
313 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
314 |
\end{document} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
315 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
316 |
%%% Local Variables: |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
317 |
%%% mode: latex |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
318 |
%%% TeX-master: t |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
319 |
%%% End: |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
320 |