@@ -31,10 +31,6 @@ There are also proof-of-concept ports of this script that only support basic RES
3131 - PostGIS 2.0 or higher for spatial features in PostgreSQL 9.1 or higher
3232 - SQL Server 2012 or higher (2017 for Linux support)
3333
34- ## Known issues
35-
36- - Seeing integers as strings? Make sure to enable the ` nd_pdo_mysql ` extension and disable ` pdo_mysql ` .
37-
3834## Installation
3935
4036This is a single file application! Upload "` api.php ` " somewhere and enjoy!
@@ -133,6 +129,7 @@ These features are new in v2 and were not included in v1:
133129 - Error reporting in JSON with corresponding HTTP status
134130 - Support for basic authentication and via auth provider (JWT)
135131 - Support for basic firewall functionality
132+ - Prevent database scraping using list limits
136133
137134### Dropped features
138135
@@ -161,7 +158,7 @@ You can enable the following middleware using the "middlewares" config parameter
161158- "validation": Return input validation errors for custom rules
162159- "sanitation": Apply input sanitation on create and update
163160- "multiTenancy": Restricts tenants access in a multi-tenant scenario
164- - "pageLimits": Restricts list operations to prevent high load and scraping
161+ - "pageLimits": Restricts list operations to prevent database scraping
165162- "customization": Provides handlers for request and response customization
166163
167164The "middlewares" config parameter is a comma separated list of enabled middlewares.
@@ -729,7 +726,7 @@ If your tenants are identified by the "customer_id" column you can use the follo
729726This construct adds a filter requiring "customer_id" to be "12" to every operation (except for "create").
730727It also sets the column "customer_id" on "create" to "12" and removes the column from any other write operation.
731728
732- ### Prevent high load and scraping
729+ ### Prevent database scraping
733730
734731You may use the "pageLimits" middleware to limit the page number and the number records returned from a list operation.
735732If you want to allow no more than 10 pages with a maximum of 25 records each, you can specify:
0 commit comments