Grails - Limit an IP Address' Upload Rate -


i creating grails application , i'm trying figure out best way prevent user spamming posts on server. have infinite number of forms can leave comments. don't want them have ability send million comments. know there exists way mock "server lag" data rate slows down. within grails framework, there way set maximum post size limit/rate?

i tried looking possibility of setting via tomcat properties wasn't having luck there own research.

thanks much!!!

if understand question correctly, want restrict size of post provided user. if yes, can add maxsize constraint in domain class (or command object if used).

if looking prevent form re-submission can use formtokens prevent duplicate submission.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -