Add text for HTML5 Web Storage
This commit is contained in:
parent
0b2d4d8c03
commit
795d659699
@ -530,7 +530,25 @@ have not implemented Global Storage.
|
|||||||
|
|
||||||
Local Storage does, however, obey the same-origin policy by only allowing the
|
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
|
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}
|
\subsection{HTML5 Indexed Database API}
|
||||||
\label{subsec:html5 indexed database api}
|
\label{subsec:html5 indexed database api}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user