title: Prevent Spam on RESTful JSON Webservice
body: <p>I have a webservice implemented in grails to deal with POSTs from a GWT client. If the user logges in he also could access as well the webservice without GWT just over the browser.</p>
  
  <p>My question is now how can I secure it in a way that its not possible to spam my webservice with e.g. 1000 new entries just by stress my webservice with a specific posts(maybe over a loop) when logged in?</p>
  
  <p>Same is also for Android clients or if I grant other developers to my webservice and they could POST thousands of data into my webservice.</p>
  
  <p>Is there already a mechanism I can use?</p>
  
  <p>Thanks for your help</p>