Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
mauth #1
Defeating Form 'bots
Although I've had forms on my site for several years, have recently been
receiving too many forms filled out by robots (according to my domain host).
They suggested a way of defeating them by including a hidden field; then, when
the bot fills in the hidden field, it would signal that the form should NOT be
sent.
Does anyone know how to do this reverse logic? I can insert a hidden field,
but cannot find how to direct behavior if it is filled in.
Any thoughts appreciated.
mauth Guest
-
Spry Region Defeating Me
I purchased the entire set of Adobe Creative Suite 3 Total Training Videos and have walked through the 2 DVDs of Dreamweaver CS3 lessons. I also... -
How to identify spiders and bots
Hello, I'm thinking of this too. I've made a component function wich determines bots by the type: <cffunction name="isBot" hint="?????????? ??... -
authenticate win32 form client with form based authentication web services
(Type your message here) -------------------------------- From: kitchai yong Hi, Can you tell me how i authenticate the win32 form client... -
Defeating OS buffering?
I'm trying to use Perl to automate a specific test process, but OS buffering is defeating some of the main utility of it. I run a program like... -
Hiding data from screen scrapers and bots
I was hoping someone here would know something about screen scrapers, spiders, bots. Perhaps it's a stupid question, but here it goes anyway... ... -
danilocelic AdobeCommunityExpert #2
Re: Defeating Form 'bots
mauth wrote:
It would depend on what server language you have available, and what type of form method you're using (get or post). Essentially what you'd do is to check for a value in the hidden field and if present then perform some action, such as redirecting to a success/confirmation page even though the redirect is done prior to any other form processing.> Although I've had forms on my site for several years, have recently been
> receiving too many forms filled out by robots (according to my domain host).
> They suggested a way of defeating them by including a hidden field; then, when
> the bot fills in the hidden field, it would signal that the form should NOT be
> sent.
>
> Does anyone know how to do this reverse logic? I can insert a hidden field,
> but cannot find how to direct behavior if it is filled in.
>
> Any thoughts appreciated.
>
I'd suggest asking in the Dreamweaver application dev forum including the server language your using as well that type of form method you're using:
[url]http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=263&entercat=y[/url]
FWIW: WebAssist (my employer) has a solution pack that has several anti-spam options (including a honeypot, which is what the hidden field value check is commonly called) for form processing:
[url]http://www.webassist.com/professional/products/productdetails.asp?PID=257[/url]
Take the feature tour (link at the top of the right hand column)
--
Danilo Celic
| [url]http://blog.extensioneering.com/[/url]
| WebAssist Extensioneer
| Adobe Community Expert
danilocelic AdobeCommunityExpert Guest
-
Joe Makowiec #3
Re: Defeating Form 'bots
On 28 Jan 2009 in macromedia.exchange.extensions.dreamweaver, mauth
wrote:
Actually, best practice seems to be to use two hidden fields, one with> Although I've had forms on my site for several years, have recently
> been receiving too many forms filled out by robots (according to my
> domain host). They suggested a way of defeating them by including a
> hidden field; then, when the bot fills in the hidden field, it would
> signal that the form should NOT be sent.
>
> Does anyone know how to do this reverse logic? I can insert a
> hidden field,
> but cannot find how to direct behavior if it is filled in.
>
> Any thoughts appreciated.
an initial value, and one without. It's the rare bot which can ignore
both fields. Check for one field to be blank, and the other to have
the initial value. And hide them using CSS, not by making them
"hidden" fields:
<style type="text/css">
..important {
display : none ;
}
</style>
<div class="important">
<p>Please don't change the next two fields.</p>
<input type="text" name="address2" id="address2" value="xyzzy">
<input type="text" name="address3" id="address3" value="">
</div>
Bots tend to like fields with names like 'address'. The text in the
paragraph is for those few rare human beings who have a non-CSS capable
browser. If you're not worried about them, you can leave it out.
In the logic for processing the form, you'd do something like:
if (address2 == "xyzzy" and address3 == "") {
/* OK to send */
} else {
/* probably have a bot */
}
--
Joe Makowiec
[url]http://makowiec.net/[/url]
Email: [url]http://makowiec.net/contact.php[/url]
Joe Makowiec Guest



Reply With Quote

