This repository contains the source code of a web application that protects itself from CSRF attacks using the Synchronizer Token Pattern.
Clone the stp folder and move it to htdocs in XAMPP. Access using localhost/stp/
Username: admin Password: token
Read More:
- Cross-Site Request Forgery (CSRF) - https://himashikarunathilake.medium.com/cross-site-request-forgery-csrf-6730d4b91fff (OR https://mysnowfrostpersonal.wordpress.com/2019/10/11/cross-site-request-forgery-csrf/)
- Synchronizer Token Pattern (STP) - https://himashikarunathilake.medium.com/synchronizer-token-pattern-stp-16bd7dbcb354 (OR https://mysnowfrostpersonal.wordpress.com/2019/10/11/synchronizer-token-pattern-stp/)