Basic HTTP Authentication

4

I have a question about basic authentication. The problem is that I have a webservice with slim framework and I would like only my application to access the routes that I created without user or password. How can I do this? All my routes are available through the browser, such as blocking access through the browser.

    
asked by anonymous 16.03.2018 / 19:56

1 answer

1

You can use the #, certificate fixing or certificate pinning . The Android developer documentation explains how the concept works.

Copying from the other answer,

  

You will ensure that Android clients will only connect to the server you specify, and that your application server will only accept connections from clients authorized by the certificate.

    
16.03.2018 / 21:02