Index of /ports_www/p5-Catalyst-Plugin-FormCanary
Name Last modified Size
Parent Directory -
Makefile 31-Aug-2009 12:33 810
distinfo 28-May-2011 14:15 169
pkg-descr 19-Jun-2007 16:34 746
pkg-plist 19-Jun-2007 16:34 368
FormCanary will examine your outgoing HTML and add a canary value to
each form. When the form is submitted, the value of the canary is com-
pared against one saved in the session at page generation time. If the
canary that's sent doesn't match the one in the session (or there is no
canary at all), the request is halted.
There is no way to get params into your application without a correct
canary. This is good for preventing "cross-site request attacks".
This module is compatible with FormBuilder. Just drop it into your use
line and have secure submit-once-only forms. Yay.
Inspired by:
http://www.25hoursaday.com/weblog/2007/06/05/WhatRubyOnRailsCanLearnFromASPNET.aspx
WWW: http://search.cpan.org/dist/Catalyst-Plugin-FormCanary/