Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security: malicious user could waste resources #18

Open
7uxifer opened this issue May 25, 2020 · 0 comments
Open

Security: malicious user could waste resources #18

7uxifer opened this issue May 25, 2020 · 0 comments

Comments

@7uxifer
Copy link

7uxifer commented May 25, 2020

As there is no upper bound on the size of an image, a user could create millions of huge images with a simple Postman script.
I'd suggest at least the option to say don't scale an image larger than the original, (or some configurable value) and possibly a granularity so images aren't created that are 300px, 301px, 302px...600px for each of your hosted images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant