File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ These features are new in v2 and were not included in v1:
129
129
- Error reporting in JSON with corresponding HTTP status
130
130
- Support for basic authentication and via auth provider (JWT)
131
131
- Support for basic firewall functionality
132
+ - Prevent database scraping using list limits
132
133
133
134
### Dropped features
134
135
@@ -157,7 +158,7 @@ You can enable the following middleware using the "middlewares" config parameter
157
158
- "validation": Return input validation errors for custom rules
158
159
- "sanitation": Apply input sanitation on create and update
159
160
- "multiTenancy": Restricts tenants access in a multi-tenant scenario
160
- - "pageLimits": Restricts list operations to prevent high load and scraping
161
+ - "pageLimits": Restricts list operations to prevent database scraping
161
162
- "customization": Provides handlers for request and response customization
162
163
163
164
The "middlewares" config parameter is a comma separated list of enabled middlewares.
@@ -725,7 +726,7 @@ If your tenants are identified by the "customer_id" column you can use the follo
725
726
This construct adds a filter requiring "customer_id" to be "12" to every operation (except for "create").
726
727
It also sets the column "customer_id" on "create" to "12" and removes the column from any other write operation.
727
728
728
- ### Prevent high load and scraping
729
+ ### Prevent database scraping
729
730
730
731
You may use the "pageLimits" middleware to limit the page number and the number records returned from a list operation.
731
732
If you want to allow no more than 10 pages with a maximum of 25 records each, you can specify:
You can’t perform that action at this time.
0 commit comments