Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

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
Webmaster Talker

Posts: 611
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
 
 
Register now for full access!
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
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
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
Webmaster Talker

Posts: 611
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.19076 seconds with 12 queries