Discussion:
[Wt-interest] Detect "suspictious" activity to verify the user is a human
Aarón Bueno Villares
2016-10-14 19:00:39 UTC
Permalink
I have developed a little class to manage the google recatpcha
verification. In some places, to solve a recaptcha challenge is mandatory
(like send a contact form), but in order places, I want to show that
recaptcha only when necessary.

So, my idea is calculate the frecuency of "request" made on a session to
determine if the user is human or not. It's worthy to consider the
possibility a human being solves a recaptcha, and then, insert javascript
code to do automatic tasks (without interfering with allowed web spiders of
course, but that it's a problem of mine).

So, depending on the situation, I want to show a popup window to solve a
recaptcha if the actitivy is suspictious.

Is there a way to "count" the number of requests arriving to a session
process (dedicated process mode in wthttpd)?

For example, a virtual function I can override in a derived class to
measure frequency? Or any other way?

Best regards,
Marco Kinski
2016-10-15 14:59:47 UTC
Permalink
Hi Aaron,
[snip]
Is there a way to "count" the number of requests arriving to a session
process (dedicated process mode in wthttpd)?
from reading the docs, overriding WApplication::notify is what you are
looking for.

https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a4a6f167bea94aefa8ba24f914c2fbee5

Regards, marco
Aarón Bueno Villares
2016-10-15 15:48:21 UTC
Permalink
Exactly, that was what I was looking for. Thanks.
Post by Marco Kinski
Hi Aaron,
[snip]
Is there a way to "count" the number of requests arriving to a session
process (dedicated process mode in wthttpd)?
from reading the docs, overriding WApplication::notify is what you are
looking for.
https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_
1WApplication.html#a4a6f167bea94aefa8ba24f914c2fbee5
Regards, marco
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
Loading...