decrypto-org / blockchain-course

An interactive course on blockchain science and engineering
MIT License
14 stars 11 forks source link

DoS protection #37

Open dionyziz opened 5 years ago

dionyziz commented 5 years ago

Add a limit to how many times a student can submit per time interval.

cnasikas commented 5 years ago

Any suggestions on how to design that feature ?

cnasikas commented 5 years ago

Never mind. Let's use a library implementing it.

EDIT: Or move the responsibility to the http server (like nginx) that it should be on front of nodejs and proxy the requests.