php

PHP XSRF Protection

This week I was in a training course which included how XSRF attacks work and how they can be relatively easily defended against. I did a quick Google search for libraries which provide XSRF protection in a really simple way and came up empty. So I wrote one. This class provides a simple method of protecting form submission from common Cross Site Request Forgery (XSRF) attacks.

Read more