M
M
Max Khrichtchatyi2014-07-06 13:41:36
API
Max Khrichtchatyi, 2014-07-06 13:41:36

How to implement controlled API access from a JS & HTML application?

To begin with, there is an API with authorization checks, tokens and other parsley.
There is also a desktop and mobile application written on cross-platform frameworks like PhoneGap, these applications interact with our API (https). The problem is that such applications are very easy to tear apart and look at the logic of working with the API. How to make sure that only our applications can work with our API?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-07-06
@j0shu4b0y

No way. You can try to enter something like RSA with keys for the application, and exchange some kind of signature in the headers, etc. As for "tearing" - any sniffer will show you how to communicate with a third-party apishka.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question