Reply
is there a way to detect on a password form a hack attempt, or pressing submit alot
Old 11-05-2009, 02:27 PM is there a way to detect on a password form a hack attempt, or pressing submit alot
Ultra Talker

Posts: 454
Trades: 0
hi, is there a way to detect on a password form a hack attempt, or pressing submit alot? i was thinking i could write a script that detects how many times the submit button was pressed on my form. other than that i cant think of a way to detect hack attempts. any help greatly appreciated. thank you. derek.
silverglade is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 11-05-2009, 02:49 PM Re: is there a way to detect on a password form a hack attempt, or pressing submit al
chrishirst's Avatar
Super Moderator

Posts: 22,260
Location: Blackpool. UK
Trades: 0
Check the IP that the submission is from ($_SERVER['REMOTE_ADDR']) and store it in a database or a session variable and limit the number of times it can be requested from a single IP.

Or you can store the time that each request was made from any IP and check the time of each subsequent requests and make sure it is more than XX seconds.
I do this with comments on the CMS I built. It's known a "flood time" in CMS/Forum management parlance, so the system cannot get "flooded" with requests from a single source.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-05-2009, 05:26 PM Re: is there a way to detect on a password form a hack attempt, or pressing submit al
Ultra Talker

Posts: 454
Trades: 0
ok thank you, i dont know how to do that in code yet, hehe, but thank you for telling me how to do it. derek
silverglade is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to is there a way to detect on a password form a hack attempt, or pressing submit alot
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.19855 seconds with 13 queries