Here, i've built a script that gets the time a user accessed the login page and stores it in a session with the user's i.p address and when next the same user accesses the login page, if the time difference is less than 5 seconds, the script wil display a message telin the user to wait for 5 seconds more before logging in again. Does this algorithm help prevent or reduce dos attacks? Thanks in advance
Olagsfark
0
Newbie Poster
Recommended Answers
Jump to PostNot really, they target mostly your IP not your login script.
Jump to PostA typical denial of service attack will try to over subscribe the server. One approach is to start a TCP connection and not complete it. By opening thousands of these connections, the web server's resources are consumed to a point where the server cannot service clients. This type of attack …
All 7 Replies
Szabi Zsoldos
26
Learner and helper guy
Olagsfark
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Banderson
29
Junior Poster in Training
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Olagsfark
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.