Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Autocomplete API shouldn't allow search by email address #175

Open
jace opened this issue Mar 11, 2016 · 0 comments
Open

Autocomplete API shouldn't allow search by email address #175

jace opened this issue Mar 11, 2016 · 0 comments

Comments

@jace
Copy link
Member

jace commented Mar 11, 2016

The search by email feature can be abused to discover user accounts and should not be allowed. However, because it also an extremely convenient feature when checking for a colleague's account on Hasjob, it should be:

  1. Allowed for trusted apps calling the API
  2. Allowed for users calling the endpoint via a client app's front-end, with a rate limit

For a use case like Hasjob, a rate limit of 10 users retrieved per hour (and not 10 API calls) seems appropriate. This is critical because the autocomplete API works on keystrokes, so a single query can result in multiple calls.

One caveat is that constructing teams within Lastuser will be affected as more than 10 users may be put together at once.

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

No branches or pull requests

1 participant