author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Mon, 27 Oct 2014 12:30:38 +0000 | |
changeset 261 | e7a31a247e5a |
parent 154 | 525c512629c7 |
child 339 | 0e78c809b17f |
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} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
\usepackage{proof} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
3 |
\usepackage{beamerthemeplaincu} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
\usepackage{mathpartir} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
\usepackage{isabelle} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
\usepackage{isabellesym} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
\usepackage[absolute,overlay]{textpos} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
\usepackage{ifthen} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
\usepackage{tikz} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
\usepackage{courier} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
\usepackage{listings} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
\usetikzlibrary{arrows} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
13 |
\usetikzlibrary{positioning} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
14 |
\usetikzlibrary{calc} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
15 |
\usepackage{graphicx} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
16 |
\usetikzlibrary{shapes} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
17 |
\usetikzlibrary{shadows} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
18 |
\usetikzlibrary{plotmarks} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
19 |
\setmonofont[Scale=MatchLowercase]{Consolas} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
20 |
\newfontfamily{\consolas}{Consolas} |
88
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 |
\isabellestyle{rm} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
23 |
\renewcommand{\isastyle}{\rm}% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
24 |
\renewcommand{\isastyleminor}{\rm}% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
25 |
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
26 |
\renewcommand{\isatagproof}{} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
27 |
\renewcommand{\endisatagproof}{} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
28 |
\renewcommand{\isamarkupcmt}[1]{#1} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
29 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
30 |
% Isabelle characters |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
31 |
\renewcommand{\isacharunderscore}{\_} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
32 |
\renewcommand{\isacharbar}{\isamath{\mid}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
33 |
\renewcommand{\isasymiota}{} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
34 |
\renewcommand{\isacharbraceleft}{\{} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
35 |
\renewcommand{\isacharbraceright}{\}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
36 |
\renewcommand{\isacharless}{$\langle$} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
37 |
\renewcommand{\isachargreater}{$\rangle$} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
38 |
\renewcommand{\isasymsharp}{\isamath{\#}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
39 |
\renewcommand{\isasymdots}{\isamath{...}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
40 |
\renewcommand{\isasymbullet}{\act} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
41 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
42 |
% beamer stuff |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
43 |
\renewcommand{\slidecaption}{APP 09, King's College London, 10 December 2013} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
44 |
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
45 |
\newcommand{\bl}[1]{\textcolor{blue}{#1}} |
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 |
\begin{document} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
48 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
49 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
50 |
\mode<presentation>{ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
51 |
\begin{frame}<1>[t] |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
52 |
\frametitle{% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
53 |
\begin{tabular}{@ {}c@ {}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
54 |
\\ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
55 |
\LARGE Access Control and \\[-3mm] |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
56 |
\LARGE Privacy Policies (10)\\[-6mm] |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
57 |
\end{tabular}}\bigskip\bigskip\bigskip |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
58 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
59 |
%\begin{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
60 |
%\includegraphics[scale=1.3]{pics/barrier.jpg} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
61 |
%\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
62 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
63 |
\normalsize |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
64 |
\begin{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
65 |
\begin{tabular}{ll} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
66 |
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
|
67 |
Office: & S1.27 (1st floor Strand Building)\\ |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
68 |
Slides: & KEATS (also homework is there)\\ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
69 |
\end{tabular} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
70 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
71 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
72 |
\end{frame}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
73 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
74 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
75 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
76 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
77 |
\mode<presentation>{ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
78 |
\begin{frame}[c] |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
79 |
\frametitle{\mbox{}\\[20mm]\huge Revision} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
80 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
81 |
\end{frame}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
82 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
83 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
84 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
85 |
\mode<presentation>{ |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
86 |
\begin{frame}[c] |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
87 |
\frametitle{1st Lecture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
88 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
89 |
\begin{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
90 |
\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
|
91 |
\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
|
92 |
\end{itemize} |
152
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 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
96 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
97 |
|
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 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
100 |
\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
|
101 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
102 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
103 |
\item Integrity |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
104 |
\item Ballot Secrecy |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
105 |
\item Voter Authentication |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
106 |
\item Enfranchisement |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
107 |
\item Availability |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
108 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
109 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
110 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
111 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
112 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
113 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
114 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
116 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
117 |
\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
|
118 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
119 |
Online Banking vs.~E-Voting |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
120 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
121 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
122 |
\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
|
123 |
\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
|
124 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
125 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
126 |
|
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 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
129 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
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 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
133 |
\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
|
134 |
\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
|
135 |
}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
136 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
137 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
138 |
\begin{frame}[t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
139 |
\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
|
140 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
141 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
142 |
\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
|
143 |
\end{itemize} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
144 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
145 |
\begin{center} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
146 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
147 |
%\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
|
148 |
%\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
|
149 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
150 |
\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
|
151 |
\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
|
152 |
\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
|
153 |
\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
|
154 |
\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
|
155 |
\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
|
156 |
\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
|
157 |
\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
|
158 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
159 |
\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
|
160 |
\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
|
161 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
162 |
\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
|
163 |
\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
|
164 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
165 |
\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
|
166 |
\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
|
167 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
168 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
169 |
\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
|
170 |
\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
|
171 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
172 |
\onslide<3,4,7,8>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
173 |
\node at (7.75, 0.8) {ret}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
174 |
\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
|
175 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
176 |
\onslide<3>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
177 |
\node at (7.75, 1.4) {4}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
178 |
\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
|
179 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
180 |
\onslide<7>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
181 |
\node at (7.75, 1.4) {3}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
182 |
\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
|
183 |
} |
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 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
186 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
187 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
188 |
\end{tikzpicture} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
189 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
190 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
191 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
192 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
193 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
194 |
\begin{frame}[t] |
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 |
\begin{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
197 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
198 |
%\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
|
199 |
%\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
|
200 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
201 |
\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
|
202 |
\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
|
203 |
\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
|
204 |
\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
|
205 |
\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
|
206 |
\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
|
207 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
208 |
\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
|
209 |
\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
|
210 |
\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
|
211 |
\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
|
212 |
\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
|
213 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
214 |
\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
|
215 |
\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
|
216 |
{\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
|
217 |
\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
|
218 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
219 |
\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
|
220 |
\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
|
221 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
222 |
\onslide<3->{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
223 |
\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
|
224 |
\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
|
225 |
\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
|
226 |
\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
|
227 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
228 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
229 |
\onslide<4->{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
230 |
\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
|
231 |
\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
|
232 |
} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
233 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
234 |
\end{tikzpicture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
235 |
\end{center} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
236 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
237 |
\end{frame}} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
238 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
239 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
240 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
241 |
\mode<presentation>{ |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
242 |
\begin{frame}[t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
243 |
\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
|
244 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
245 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
246 |
\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
|
247 |
\end{itemize}\medskip |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
248 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
249 |
\begin{center} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
250 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
251 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
252 |
\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
|
253 |
\draw (4.7,1) node {Internet}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
254 |
\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
|
255 |
\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
|
256 |
\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
|
257 |
\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
|
258 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
259 |
\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
|
260 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
261 |
\draw[white] (1.7,1) node (X) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
262 |
\draw[white] (3.7,1) node (Y) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
263 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
264 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
265 |
\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
|
266 |
\end{tikzpicture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
267 |
\end{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
268 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
269 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
270 |
\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
|
271 |
mitigate the consequences of an attack |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
272 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
273 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
274 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
275 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
276 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
277 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
278 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
279 |
\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
|
280 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
281 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
282 |
\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
|
283 |
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
|
284 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
285 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
286 |
\small\tt |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
287 |
\begin{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
288 |
\begin{verbatim} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
289 |
$ ls -ld . * */* |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
290 |
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
|
291 |
-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
|
292 |
-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
|
293 |
-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
|
294 |
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
|
295 |
-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
|
296 |
-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
|
297 |
\end{verbatim} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
298 |
\end{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
299 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
300 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
301 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
302 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
303 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
304 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
305 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
306 |
\frametitle{\begin{tabular}{c}4th Lecture:\\ Security Levels\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
307 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
308 |
Bell-LaPadula access model: |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
309 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
310 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
311 |
\item \alert{Read Rule}: A principal \bl{$P$} can read an object \bl{$O$} if and only if |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
312 |
\bl{$P$}'s security level is at least as high as \bl{$O$}'s. |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
313 |
\item \alert{Write Rule}: A principal \bl{$P$} can write an object \bl{$O$} if and only if |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
314 |
\bl{$O$}'s security level is at least as high as \bl{$P$}'s.\medskip |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
315 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
316 |
\item Meta-Rule: All principals in a system should have a sufficiently high security level |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
317 |
in order to access an object. |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
318 |
\end{itemize}\bigskip |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
319 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
320 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
321 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
322 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
323 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
324 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
325 |
\frametitle{\begin{tabular}{c}4th Lecture:\\ Security Levels\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
326 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
327 |
Biba (data integrity) |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
328 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
329 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
330 |
\item Biba: {\bf `no read down'} - {\bf `no write up'} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
331 |
\item \alert{Read Rule}: A principal \bl{$P$} can read an object \bl{$O$} if and only if |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
332 |
\bl{$P$}'s security level is lower or equal than \bl{$O$}'s. |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
333 |
\item \alert{Write Rule}: A principal \bl{$P$} can write an object \bl{$O$} if and only if |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
334 |
\bl{$O$}'s security level is lower or equal than \bl{$P$}'s. |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
335 |
\end{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
336 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
337 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
338 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
339 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
340 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
341 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
342 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
343 |
\frametitle{\begin{tabular}{c}4th Lecture:\\ Protocols\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
344 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
345 |
A mutual authentication protocol |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
346 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
347 |
\begin{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
348 |
\begin{tabular}{ll} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
349 |
\bl{$A \rightarrow B$:} & \bl{$N_a$}\\ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
350 |
\bl{$B \rightarrow A$:} & \bl{$\{N_a, N_b\}_{K_{ab}}$}\\ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
351 |
\bl{$A \rightarrow B$:} & \bl{$N_b$}\\ |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
352 |
\end{tabular} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
353 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
354 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
355 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
356 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
357 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
358 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
359 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
360 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
361 |
\frametitle{\begin{tabular}{c}5th Lecture:\\ Access Control Logic\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
362 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
363 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
364 |
\begin{itemize} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
365 |
\item formulas |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
366 |
\item judgements |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
367 |
\end{itemize}\pause |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
368 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
369 |
\begin{center} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
370 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
371 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
372 |
\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
|
373 |
\draw (-2.7,1) node {\begin{tabular}{l}access\\request\\ (\bl{$F$})\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
374 |
\draw (4.2,1) node {\begin{tabular}{l}granted/\\not granted\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
375 |
\draw (0.6,1.2) node {\footnotesize \begin{tabular}{l}Access\\Control\\Checker\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
376 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
377 |
\draw[red, ->, line width = 2mm] (1.7,1) -- (2.7,1); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
378 |
\draw[red,<-, line width = 2mm] (-0.6,1) -- (-1.6,1); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
379 |
\draw[red, <-, line width = 3mm] (0.6,2.2) -- (0.6,3.2); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
380 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
381 |
\draw (0.6,4) node {\begin{tabular}{l}\large Access Policy (\bl{$\Gamma$})\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
382 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
383 |
\end{tikzpicture} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
384 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
385 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
386 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
387 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
388 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
389 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
390 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
391 |
\begin{frame}[fragile,t] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
392 |
\frametitle{\begin{tabular}{c}5th Lecture:\\ Access Control Logic\end{tabular}} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
393 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
394 |
\begin{center} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
395 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
396 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
397 |
\draw (0.0,0.0) node {\LARGE \bl{$\Gamma \vdash F$}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
398 |
\onslide<1->{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
399 |
\draw (-1,-0.3) node (X) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
400 |
\draw (-2.0,-2.0) node (Y) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
401 |
\draw (0.7,-3) node {\begin{tabular}{l}Gamma\\stands for a collection of formulas\\(``assumptions'')\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
402 |
\draw[red, ->, line width = 2mm] (Y) -- (X); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
403 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
404 |
\draw (1.2,-0.1) node (X1) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
405 |
\draw (2.8,-0.1) node (Y1) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
406 |
\draw (4.5,-0.1) node {\begin{tabular}{l}a single formula\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
407 |
\draw[red, ->, line width = 2mm] (Y1) -- (X1); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
408 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
409 |
\draw (-0.1,0.1) node (X2) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
410 |
\draw (0.5,1.5) node (Y2) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
411 |
\draw (1,1.8) node {\begin{tabular}{l}entails sign\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
412 |
\draw[red, ->, line width = 2mm] (Y2) -- (X2);} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
413 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
414 |
\end{tikzpicture} |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
415 |
\end{center} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
416 |
|
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
417 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
418 |
\end{frame} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
419 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
420 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
421 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
422 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
423 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
424 |
\begin{frame}[c] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
425 |
\frametitle{\begin{tabular}{c}5th Lecture:\\ Inference Rules\end{tabular}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
426 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
427 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
428 |
\begin{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
429 |
\begin{tikzpicture}[scale=1] |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
430 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
431 |
\draw (0.0,0.0) node |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
432 |
{\Large\bl{\infer{\Gamma \vdash F_1 \wedge F_2}{\Gamma \vdash F_1 & \Gamma \vdash F_2}}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
433 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
434 |
\draw (-0.1,-0.7) node (X) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
435 |
\draw (-0.1,-1.9) node (Y) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
436 |
\draw (-0.2,-2) node {\begin{tabular}{l}conclusion\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
437 |
\draw[red, ->, line width = 2mm] (Y) -- (X); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
438 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
439 |
\draw (-1,0.6) node (X2) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
440 |
\draw (0.0,1.6) node (Y2) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
441 |
\draw (0,1.8) node {\begin{tabular}{l}premisses\end{tabular}}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
442 |
\draw[red, ->, line width = 2mm] (Y2) -- (X2); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
443 |
\draw (1,0.6) node (X3) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
444 |
\draw (0.0,1.6) node (Y3) {}; |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
445 |
\draw[red, ->, line width = 2mm] (Y3) -- (X3); |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
446 |
\end{tikzpicture} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
447 |
\end{center} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
448 |
|
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
449 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
450 |
\end{frame}} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
451 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
452 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
453 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
454 |
\mode<presentation>{ |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
455 |
\begin{frame}[c] |
154
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
456 |
\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
|
457 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
458 |
\begin{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
459 |
\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
|
460 |
|
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
461 |
\begin{center} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
462 |
User\;\;\;\; |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
463 |
\begin{tabular}{c} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
464 |
tell me \bl{$f(x)$} $\Rightarrow$\\ |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
465 |
$\Leftarrow$ \bl{$f(x) + \text{noise}$} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
466 |
\end{tabular} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
467 |
\;\;\;\;\begin{tabular}{@{}c} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
468 |
Database\\ |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
469 |
\bl{$x_1, \ldots, x_n$} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
470 |
\end{tabular} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
471 |
\end{center} |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
472 |
|
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
473 |
\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
|
474 |
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
|
475 |
\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
|
476 |
\bl{$x_i$} participates\bigskip\pause |
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
477 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
478 |
\item Tor webservice |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
479 |
\end{itemize} |
152
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
480 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
481 |
|
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
482 |
\end{frame}} |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
483 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0c62ec6dc691
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
484 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
485 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
486 |
\mode<presentation>{ |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
487 |
\begin{frame}[c] |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
488 |
\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
|
489 |
|
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
490 |
\begin{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
491 |
\item zero-knowledge proofs |
154
525c512629c7
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
153
diff
changeset
|
492 |
\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
|
493 |
\item random number generators |
153
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
494 |
\end{itemize} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
495 |
|
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
496 |
|
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
497 |
\end{frame}} |
af8fff37dd1c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
152
diff
changeset
|
498 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
88
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
499 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
500 |
\end{document} |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
501 |
|
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
502 |
%%% Local Variables: |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
503 |
%%% mode: latex |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
504 |
%%% TeX-master: t |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
505 |
%%% End: |
a30f60a08939
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
506 |