Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 721 Bytes

File metadata and controls

20 lines (16 loc) · 721 Bytes

synchronizer-token-pattern-nodejs

Prevention of CSRF using Synchronizer Token Pattern implemented in Node.js

Prerequisites

Node.js should be installed to the machine (better if the version is the latest)

Steps to run the application

  1. Clone or download the repository
  2. Open command prompt in the containing folder
  3. Type npm install to install the node modules
  4. Type npm start or node index.js to start the application
  5. Navigate to http://localhost:4000/ via a web browser to view the application

Note

Username and Password are admin

Blog Post

To learn about CSRF and Synchronizer Token Pattern visit,
http://hirunimirando.blogspot.com/2018/10/synchronizer-token-pattern-nodejs.html