Hacker News new | ask | show | jobs
by BoppreH 5426 days ago
Quit hint: it's too easy to make a DOS by quickly drawing hundreds of lines in the same spot. It doesn't take more than two minutes and regular writing or drawing is too slow and ends up erased before finished.

Maybe limit the number of lines an user can draw during a certain time?

1 comments

Thanks :) Yeah, we limit the length of line to try to avoid scribblers. We thought of rate-limiting the number of lines too, and adjusting the limit, so the first time you hit the limit you're stopped for 1 seconds, next time for 2 seconds, then 4, 8, 16 and so on.

Would probably work quite well.

PS is your hostname 'bd222edited for privacy.com.br' ?

Yep, that would be me. Sorry if I broke something, it started as an attempt to remove the random lines obscuring the drawings and text. When I noticed the fade out effect on the lines, I had already erased everything D:
yeah no worries, I just wanted to check that it wasn't someone trying to attack the site :)