Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/esarafianou/browser-storage

Sample applications showcasing browser storage nuances. It shows the differences between Local and Session and demonstrates different in-memory storage implementations and their insecurities against XSS.
https://github.com/esarafianou/browser-storage

browser-storage in-memory localstorage sessionstorage xss

Last synced: about 1 month ago
JSON representation

Sample applications showcasing browser storage nuances. It shows the differences between Local and Session and demonstrates different in-memory storage implementations and their insecurities against XSS.

Awesome Lists containing this project

README

        

# Browser Storage Security

This repo includes two sample applications showcasing browser storage nuances.

## How to use

1. Clone the repo: `[email protected]:esarafianou/browser-storage.git`
2. Install the dependencies:
```
cd browser-storage
npm install
```

### Local vs Session Storage

The application walks you through the differences between Local and Session Storage

1. `cd localvsSessionStorage`
2. Run `node server.js`
3. Visit http://localhost:4000
4. Follow the instructions presented there

### In-memory storage

This applcation has a DOM-based XSS and demonstrates different in-memory
storage implementations and their insecurities against XSS.

1. `cd inMemory`
2. Run `node server.js`
3. Visit http://localhost:3000