Welcome Guest, Not a member yet? Register   Sign In
CSRF protection implementation in Codeigniter 2.0.2
#1

[eluser]Unknown[/eluser]
Hello All

Any one have an idea how to implement CSRF protection in CI 2.0.2.I am aware of we have to enable $config['csrf_protection'] = TRUE; and we need to genertae tokens and need to store in cookies.

I have no idea about second part (How can we generate tokens and store in cookie and know there is no malicious user is not going to use the pages).

please share any examples or code




Theme © iAndrew 2016 - Forum software by © MyBB