diff options
author | lbr <lbr@FreeBSD.org> | 2007-06-19 20:34:00 +0800 |
---|---|---|
committer | lbr <lbr@FreeBSD.org> | 2007-06-19 20:34:00 +0800 |
commit | 5d2569cfdfb6a7b7e0f06d68cf5f4ad41f3a1830 (patch) | |
tree | d7ce35d3ef26d907757068ec1f1b875e242dae21 /CVSROOT | |
parent | 1d75ae5408375951899c586c8e35be309a2228d6 (diff) | |
download | freebsd-ports-gnome-5d2569cfdfb6a7b7e0f06d68cf5f4ad41f3a1830.tar.gz freebsd-ports-gnome-5d2569cfdfb6a7b7e0f06d68cf5f4ad41f3a1830.tar.zst freebsd-ports-gnome-5d2569cfdfb6a7b7e0f06d68cf5f4ad41f3a1830.zip |
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.a
spx
Diffstat (limited to 'CVSROOT')
0 files changed, 0 insertions, 0 deletions