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

API whitelist #2053

Closed
edgarcosta opened this issue May 22, 2017 · 2 comments
Closed

API whitelist #2053

edgarcosta opened this issue May 22, 2017 · 2 comments
Labels
api LMFDB api or api2 interface feature request Feature request

Comments

@edgarcosta
Copy link
Member

Hello,

Should we restrict the API queries to indexed keys?
Not many people use the API, but a bad script with a misspelled key on a big collection, might bring the mongodb server to halt.
For example, just like in #1599 or https://jira.mongodb.org/browse/SERVER-24833

Cheers,
Edgar

@JohnCremona
Copy link
Member

That sounds sensible -- but it would be useful to see a log of such failed requests, since some might be sensible (not typos) and a hint that a new index is worth adding.

@edgarcosta
Copy link
Member Author

Great. Could you label it as a feature request?

I think this would be Step 0 for a possible interface for Sage.

@JohnCremona JohnCremona added the feature request Feature request label May 23, 2017
@AndrewVSutherland AndrewVSutherland added the api LMFDB api or api2 interface label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api LMFDB api or api2 interface feature request Feature request
Projects
None yet
Development

No branches or pull requests

3 participants