Best practice: How to prevent leeching? #144
-
problemIn my eyes, PMTiles have a a small disadvantage: you can leeche the complete file archive and thus get all the data in one swoop. alternativesWith MVT (or PNG/WMS/WMTS in terms of raster), this is much more difficult because thousands of queries have to be sent to the server. This can be filtered out reasonably well by rate limiting. assumptionLet's assume that the PMTiles contain data that is properitary and you want to prevent leeching. questionHow do you go about it? Limit the size of the range? In NGINX you would probably have to tinker something in LUA here, right? hintThe argument that PMTiles are not suitable for properitary data is understandable, but should not stand in the way of this discussion. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Some solutions for AWS and cloudflare can be found here (by the author): https://protomaps.com/docs/cdn It requires extra work to implement. |
Beta Was this translation helpful? Give feedback.
Some solutions for AWS and cloudflare can be found here (by the author):
https://protomaps.com/docs/cdn
It requires extra work to implement.