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
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,329 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.