ArtifexSoftware / mupdf.js

JavaScript bindings for MuPDF
https://mupdfjs.readthedocs.io
GNU Affero General Public License v3.0
371 stars 22 forks source link

REST server should rate limit fetches to third party server #71

Open ccxvii opened 5 months ago

ccxvii commented 5 months ago

We do not want our example server to be able to be used as a DDOS proxy. For each API request a user does, we issue a fetch to the third party server in the URL. This can be used to launch a DDOS attack using our REST server's bandwidth.

Here are a few possible solutions: