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

Rate limits to prevent excessive use #48

Open
anssiko opened this issue Oct 24, 2024 · 0 comments
Open

Rate limits to prevent excessive use #48

anssiko opened this issue Oct 24, 2024 · 0 comments

Comments

@anssiko
Copy link
Member

anssiko commented Oct 24, 2024

From w3c/security-request#71:

Limit API Usage
Global: A global rate limit should be implemented to restrict the number of vibration requests made within a certain period (e.g., per minute or hour), preventing excessive use.

Session-Based: To prevent prolonged abuse, set session-based limits on the total vibration duration or number of vibrations that can occur during a single-user session.

Site-based: per site and subdomains

Threats and Attacks:

Draining Battery/User’s Resources DoS.

This proposal was discussed at TPAC 2024, conclusion:

We're proposing to collect data from real-world users to understand what specific values to use for global rate limit that'd restrict the number of vibration requests made within a certain period. We will propose this in a future update to the specification when we have a large number of samples available to make an informed decision.

This issue is to gather data that's help make an informed decision on the limits, including feedback from web developers and users to understand use cases that may be affected by the limits.

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