I am newbie to android development. I am using android studio
for developing an application. Things i have done
DB
with two ta
To secure your APIs, you need a mechanism to detect that the request to the api is made from a trusted source. Many frameworks come with this feature by default.
However you can just use JSON Web Tokens (jwt) with PHP to add authorization to your api requests
Learn about token based authentication from this page.
Check out this simple tutorial on how to secure your PHP api endpoints with JWT.
If you need even more security you might want to add OAuth provider service to your API. check out this post on how to write OAuth provider in PHP