Securing php api to use in android application

前端 未结 7 791
余生分开走
余生分开走 2021-01-31 18:40

I am newbie to android development. I am using android studio for developing an application. Things i have done

  1. Created a DB with two ta
7条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-31 19:07

    You can choose you Authentication for PHP here:

    http://pear.php.net/packages.php?catpid=1&catname=Authentication

    I think that Basic or Digest Auth (+ https:// SSL with self signed certificate) will be good choose for you Rest-Service (PHP RESTful JSON API).

    For Android application I think the best choose for RestClient library is:

    http://square.github.io/retrofit/

    (I recommend you to keep all source code in one Language only -Java. You can easy create Java Rest Service and add Spring Security Authentication)

提交回复
热议问题