spring-angular2-starter icon indicating copy to clipboard operation
spring-angular2-starter copied to clipboard

API abuse protection

Open herasimau opened this issue 9 years ago • 5 comments

Can't add new post on live demo

herasimau avatar Aug 24 '16 15:08 herasimau

when press refresh javascipt crashes

herasimau avatar Aug 24 '16 18:08 herasimau

It's your browser fault - it's working for me :)

There are ~7000 posts with text "How to avoid this"?

Raw data size is 1.5 MB but browser tab memory usage in chome is about 667MB

It looks like request for better handling of data -> pagination and something like csrf tokens or rate limiting

kucharzyk avatar Aug 24 '16 19:08 kucharzyk

Demo server is now clean and running.

I'll changed issue name. API should be protected

kucharzyk avatar Aug 24 '16 19:08 kucharzyk

Maybe use 'Pageable' (org.springframework.data.domain) as DTO in table/lists. (Sorry if this type of comment is unwanted, please tell me).

billbarni avatar Aug 29 '16 19:08 billbarni

Pagination is "must have" feature and will be implemented (using Pageable).

All comments are wanted so thanks for your comment

kucharzyk avatar Aug 29 '16 19:08 kucharzyk