Talk With an Expert

The Risks of Client-Side Data Storage

The Risks of Client-Side Data Storage (PDF, 2.23MB)Published: 16 May, 2011
Created by:
Edwin Tump

Ever since the introduction of cookies as the HTTP state management mechanism, websites store data on the systems of their end users. The original idea behind cookies was that web applications would now be able to relate HTTP requests to previous requests. By storing a unique session identifier on both the client (in the form of a small text file, the cookie) and the server, the stateless HTTP protocol suddenly became stateful. Cookie usage has changed over time and now web applications not only use this mechanism for session fixation but also to e.g. track users, create web applications with offline capabilities and speed up the performance of web applications by reducing server load and limiting the data that must be exchanged between client and server.