The nuts and bolts of it is that by simply adding the
Security
component, it will automatically add a hash to all your forms and if someone tries modifying your form, it won't work.
And you can implment it as easy as this: Edit
/app/app_controller.php
and change the var $components
line to include Security
like this: var $components = array('Auth', 'Security', 'Session');
No comments:
Post a Comment