Browser - Storage (Client Side Data)

Browser - Storage (Client Side Data)

About

This page is about client side data (ie stateless session) in the browser.

Data Store

Browser Native

Library

In-browser databases that wrap browser storage capabilities:

Format

Security

Secure or sensitive data should not be stored persistently in browser data stores as they should be treated as insecure storage.

  • Valid Data: name, email, phone number
  • Not valid Data: credentials, credit card numbers.

Because the Web Storage mechanisms are APIs, they can be accessed from injected scripts, making it less secure than cookies with the httponly flag applied.

Documentation / Reference







Share this page:
Follow us:
Task Runner