Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/esarafianou/browser-storage
- Owner: esarafianou
- License: mit
- Created: 2020-11-03T13:40:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-11T16:42:35.000Z (about 4 years ago)
- Last Synced: 2024-11-06T08:35:37.263Z (3 months ago)
- Topics: browser-storage, in-memory, localstorage, sessionstorage, xss
- Language: HTML
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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