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

Prevent Sample Hack #1

Open
petioptrv opened this issue Nov 20, 2023 · 0 comments
Open

Prevent Sample Hack #1

petioptrv opened this issue Nov 20, 2023 · 0 comments
Labels

Comments

@petioptrv
Copy link
Owner

Why

One way of hacking the website is by continuously re-creating subscriptions and requesting a sample.

What

  • Add a check on the backend which allows the user to only request up to X amount of samples per day (daily samples counter and last-sample-request timestamp).
  • Adapt the can-request-sample endpoint to consider this counter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant