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

Protect against DOS'ing _local #499

yaronyg opened this issue Jan 27, 2016 · 0 comments

Protect against DOS'ing _local #499

yaronyg opened this issue Jan 27, 2016 · 0 comments


Copy link

@yaronyg yaronyg commented Jan 27, 2016

A bad but authorized peer could try to create lots and lots of data inside of _local. This will be tracked by the quota manager but I'm not even sure at this point if we have a good way of figuring out what is in _local since it doesn't officially support an enumeration API. We would need to introduce one to PouchDB and then we would need to also associated with each _local entry what authenticated identity created the entry. That way we could clear out entries belonging to peers we no longer want to support. We can also detect peers who have an excessive number of entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.