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

Add allowlist and denylist #9

Closed
Tracked by #14
mochaaP opened this issue Nov 22, 2021 · 2 comments
Closed
Tracked by #14

Add allowlist and denylist #9

mochaaP opened this issue Nov 22, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@mochaaP
Copy link
Member

mochaaP commented Nov 22, 2021

Allow & deny certain

  • MIME types
  • User/repo name
  • File name

(with optional regex support) to avoid abusing the service

@mochaaP mochaaP mentioned this issue Nov 22, 2021
5 tasks
@mochaaP mochaaP added the enhancement New feature or request label Nov 22, 2021
@mochaaP mochaaP added this to the v1.0.0 milestone Nov 22, 2021
@mochaaP
Copy link
Member Author

mochaaP commented Nov 23, 2021

https://www.npmjs.com/package/file-type also magic bytes to avoid possible bypassing

@mochaaP
Copy link
Member Author

mochaaP commented Jan 19, 2024

Solved in b43d2d9

@mochaaP mochaaP closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant