On Mon, Oct 5, 2009 at 11:27, Web2py-SuperFan <mwkan...@gmail.com> wrote: > > Hi all, > > I'm implementing a comments and wiki feature on my web2py app. Is > there any best practices or strategies you've used or would recommend > on preventing spam or porn posts onto the site. I'm looking for some > automated prevention as I'm afraid the amount of posts will be way too > much for human monitoring. Its a social site. > > Thanks for all your pointers.
If you don't have a high traffic in your site (so people won't create specialized bots for your site) you can create your form with plus X random fields (all these with random names, in blank, and hidden via CSS/JavaScript). In form validation if some 'user' fill these hidden fields you will know that this 'user' is really a bot, so you can ignore this comment (and even block IP address etc.). -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---