简体   繁体   中英

How do I authorise requests to my GAE REST server?

What's the best technology for to authorise request made by my app/website to my server?

I want only my website and app to be able to communicate with my GAE server.

Are you familiar with the GAE Endpoints service? IMO, the two big advantages of it are that it simplifies:

  • the provision of web services to multiple clients type, including Android, web, and iOS,
  • the use of OATH2 for client authorization (either Google User authorization, or just app authorization).

I mention it because both of these seem to apply to your situation.

Note though that endpoints is still in preview, and they really mean it. It was released more then a year ago and it has been a bumpy road.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM