Protecting Forms from CSRF with PHP – Secure PHP Authentication System from Scratch Ep. 2



Protecting Forms from CSRF with PHP – Secure PHP Authentication System from Scratch Ep. 2

Protecting Forms from CSRF with PHP - Secure PHP Authentication System from Scratch Ep. 2

In this episode we are going to look at how to protect our login system from CSRF. I briefly explain what CSRF is and how it works along with how to use CSRF tokens to protect against this attack. This method can be used on any php form to keep it safe from Cross Site Request Forgery.

CSRF Computerphile Video: https://www.youtube.com/watch?v=vRBihr41JTo

Code: https://github.com/Code-Break0/SecureAuthSystem

Comments are closed.