I have an API in node js that i use as source of a mobile app. Is there some way to keep the data available only to my app and not for other apps?
Thanks!
I have an API in node js that i use as source of a mobile app. Is there some way to keep the data available only to my app and not for other apps?
Thanks!
Take a look at this. See if you can use the user agent to restrict the access to your app only.
Of course it is easy for someone to modify the user agent and make a request. If you are concerned about this you might need better form of authentication.