[drupal-devel] simple and effective comment spam prevention
exists and works
Adrian Rossouw
adrian at bryght.com
Sun Oct 2 12:36:59 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02 Oct 2005, at 2:22 PM, Jeremy Andrews wrote:
> Yes. The best solution I have come up with is to track token
> use, preventing token re-use. I had a nearly working patch a
> while ago (it tracked the last n-used tokens), but ran out of
> time. It had some issues telling previews and submits apart,
> as well as with handling followup edits. When it becomes
> necessary, I will surely dust it off again.
Why not add a count variable to the token generation, and have a db
table / variable keeping
track of how many times you have used the token (ie: successful
submission).
- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFDP9RXgegMqdGlkasRAgCHAKDEJJBVAQjOfH+SvSeSmogi/7KwmwCeLayL
N8Kbuz7xq1A/XRRtutjInNo=
=Zu5l
-----END PGP SIGNATURE-----
More information about the drupal-devel
mailing list