Friday 16 March 2007 4:18:49 pm - 3 replies
Hi folks,
I've a guestbook at one ez site installed. Anonymous ppl are allowed to post content. Unfortunately a spammer has spotted my guestbook. (The world is bad ... ![]()
Has anyone developed a "ez spam protection" for a simple guestbook so far? I don't want to invent the wheel for a 2nd time ![]()
Friday 16 March 2007 9:53:56 pm
Hi
Maybe you can use http://ez.no/community/contribs/datatypes/datatype_ezcaptcha
or http://ez.no/community/contribs/datatypes/antispam .
I haven't tried them and I don't know whether they work with the newer eZpublish versions, but they might at least give you a hint on how to achieve spam protection.
Claudia
Saturday 17 March 2007 12:51:00 pm
You might want to try using the texttoimage template operator - where you generate a random text string in the template, display it as an image, and pass it to the next template. If the user doesn't enter the displayed image value (the random text), you can discard their post. You would have to add a text input to pass the entered value to the next template, and use ezhttp to get that value.
I have never done this - but I think it would work.
You must be logged in to post messages in this topic!