From 795d65969971d106bff95b1738e48e9429623683 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Thu, 27 Feb 2020 15:27:44 +0100 Subject: [PATCH] Add text for HTML5 Web Storage --- chapters/methods.tex | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/chapters/methods.tex b/chapters/methods.tex index 7019c3c..82bd759 100644 --- a/chapters/methods.tex +++ b/chapters/methods.tex @@ -530,7 +530,25 @@ have not implemented Global Storage. Local Storage does, however, obey the same-origin policy by only allowing the originating domain access to its name-value pairs. Every website has their own -separate storage area which maintains a clear separation of concerns. +separate storage area which maintains a clear separation of concerns. Local +Storage lends itself for different use cases. Especially applications that +should function even when no internet connection exists can use Local Storage to +enable that functionality. Coupled with file-based \glspl{API}, which are +generally not limited in storage (except by the available disk space), offering +the full range of features in offline-mode is feasible. + +The third category of HTML5 Web Storage is similar to Local Storage, but +requires that the stored data be deleted after a session is closed. While +content that is persisted by Local Storage, must be deleted explicitly by the +user, Session Storage has the intended function of providing non-persistent +storage. + +HTML5 Web Storage can be used for tracking in the same way that cookies are +used: by storing unique identifiers which are read on subsequent visits. +\citeauthor{ayensonFlashCookiesPrivacy2011} +\cite{ayensonFlashCookiesPrivacy2011} found that 17 of the top 100 web sites +used HTML5 Web Storage with some of them using it for cookie respawing (see +section~\ref{subsec:evercookie}). \subsection{HTML5 Indexed Database API} \label{subsec:html5 indexed database api}