Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Is using 'Cookies' impractical for 'Contact Us' forms?

by newbie00 (Beadle)
on Jul 07, 2006 at 07:51 UTC ( #559734=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Is using 'Cookies' impractical for 'Contact Us' forms?
in thread Is using 'Cookies' impractical for 'Contact Us' forms?

Thanks folks.

How do you do 'IP-based throttling'?

I'm trying to find some type of preventative measure because as I peruse the web, I see blogs spammed, etc.

I prefer to put something in place up front since I don't have alot of extra time...


Comment on Re^4: Is using 'Cookies' impractical for 'Contact Us' forms?
Re^5: Is using 'Cookies' impractical for 'Contact Us' forms?
by gellyfish (Monsignor) on Jul 07, 2006 at 08:10 UTC

    How do you do 'IP-based throttling'?

    You record the time of the last request from each IP address and when a new request is made you check against this record, if the last request from the IP was made within some period of your choosing then you refuse to process it.

    Of course this may disadvantage users who might find themselves behind a proxy which is shared among a large number of other potential users.

    /J\

      Thanks for the procedure, gellyfish.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://559734]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-10-22 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (118 votes), past polls