Security cheat sheet

Secure data storage in the browser

Secure data storage in a browser is quite a challenge. This cheat sheet explores the security properties of data storage mechanisms in the browser. It offers origin-based isolation as an alternative over the use of localStorage or sessionStorage. The cheat sheet also covers how to encrypt data for online or offline use. Also check out the code examples and live demo.

When subscribing, you can choose to only receive cheat sheet updates, and nothing else. If you prefer to just download the cheat sheet, you can do that here.

This security cheat sheet is created by Pragmatic Web Security.
Check out our other cheat sheets on modern web security best practices.