Answer the question
In order to leave comments, you need to log in
How a secure mechanism for working with the REST API is achieved using MongoLab as an example
I want to figure out how to implement secure interaction with the REST API server, following the example of MongoLab cloud hosting.
When registering a new account, a certain apiKey is issued, which is substituted in all requests to this service:
https://api.mongolab.com/api/1/databases?apiKey=<api-key>
Answer the question
In order to leave comments, you need to log in
Probably not. Shine the key - at your peril and risk.
docs.mongolab.com/faq/#do_you_have_a_rest_api
As far as I understand, it is recommended to use drivers.
Personally, I would use their API for personal admins, etc., where only I will have access.
Domain binding.
When receiving an identifier, the user specifies the domain on which this identifier will be used. During any actions, check from which domain the request is coming from.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question