SPB Git

Repository Public MIT Research preview

S20-F04-securite-utilisabilite.tex 2.5 KB 31 lines latex

1% S20-F04 — Le compromis entre sécurité et utilisabilité, mesuré.2% Idée : chaque couche ajoutée fait baisser les attaques qui passent ET monter les refus de tâches3% légitimes. Mais le coût se règle : mêmes couches, autres réglages, et le coût retombe sans rouvrir4% d'attaque ; tout verrouiller, à l'inverse, refuse presque tout. Données : S20-F04-donnees.tex.5\input{S20-F04-donnees.tex}%6\begin{tikzpicture}7  \begin{axis}[atlas axis, name=courbe, width=84mm, height=50mm, xmin=-.4, xmax=8.4, ymin=0, ymax=10.5,8      xtick={0,...,8}, ytick={0,3,6,9}, ymajorgrids, axis x line*=bottom, axis y line*=left,9      xticklabels/.expand once=\AtlasFigCoutCouches,10      xticklabel style={rotate=38, anchor=north east, font=\AtlasSizeTiny, inner sep=1pt},11      title={Couches ajoutées une à une}, clip=false]12    \edef\atlasplot{\noexpand\addplot[atlasHazard, line width=1.3pt, mark=square*, mark size=1.5pt] coordinates {\AtlasFigCoutAttaques};}\atlasplot13    \edef\atlasplot{\noexpand\addplot[atlasUncertain, line width=1.3pt, mark=triangle*, mark size=2pt, dash pattern=on 4pt off 2pt] coordinates {\AtlasFigCoutRefus};}\atlasplot14    \node[atlas note, text=atlasHazard, anchor=south west] at (axis cs:.25,9.1) {attaques qui passent, sur \AtlasFigCoutNbAttaques};15    \node[atlas note, text=atlasUncertain, anchor=south east] at (axis cs:8.45,9.1) {tâches légitimes};16    \node[atlas note, text=atlasUncertain, anchor=south east] at (axis cs:8.45,7.75) {refusées, sur \AtlasFigCoutNbTaches};17  \end{axis}18  \begin{axis}[atlas axis, at={($(courbe.south east)+(27mm,0)$)}, anchor=south west, width=48mm, height=50mm,19      xbar, xmin=0, xmax=21, bar width=3.2mm, axis x line*=bottom, axis y line*=left, y axis line style={draw=none},20      ytick style={draw=none}, ytick=data, y dir=reverse, xmajorgrids, xtick={0,8,16},21      symbolic y coords/.expand once=\AtlasFigCoutConfigs, enlarge y limits={abs=3.4mm},22      yticklabel style={font=\AtlasSizeTiny, text=atlasFg},23      nodes near coords, nodes near coords style={text=atlasFg, font=\AtlasTabularFont\AtlasSizeTiny, anchor=west},24      title={Cinq configurations : refus sur \AtlasFigCoutNbTaches}, clip=false]25    \edef\atlasplot{\noexpand\addplot[atlas bar uncertain] coordinates {\AtlasFigCoutRefusConfigs};}\atlasplot26    \newcommand{\AtlasFigCoutAttaque}[3]{%27      \node[atlas note, anchor=west, text=\ifnum#2>0 atlasHazard\else atlasValid\fi, xshift=5.5mm] at (axis cs:#3,#1) {#2 att.};}28    \AtlasFigCoutAttaquesConfigs29  \end{axis}30\end{tikzpicture}31
Files main
Menu

Theme