Cross Site Request Forgery(CSRF) Protection using Double Submit Cookies Pattern in PHP

Installation and Running Application

You'll need PHP in your working machine to run this application.

Download and install either

  • xampp
  • wampp

to run the application in your local machine.

Clone the repo or download the zip file and put it inside htdocs folder.

Navigate to localhost/CSRF-Protection-Using-Double-Submit-Cookies-Pattern-PHP in the browser.

Blog Post Link: https://saugataryal.wordpress.com/2018/10/01/csrf-mitigation-using-double-submit-cookies-pattern/