Lock down Cloud Endpoints API to only work with specific Android App -


i'm trying lock down cloud endpoints api android app can use it, however, not want use oauth2+google accounts that. reason not want require users have google account login app. example, snapchat uses google app engine, not require have google email use app - create own user name , password.

i have read several posts offering suggestions:

how restrict google app engine endpoints api access android applications?

authenticate "app" google cloud endpoints not "user"

how protect api built using google cloud endpoints?

but wasn't able find satisfactory answer. read, considering having "token" parameter cloud endpoints api method own 64 character long random string. server-side, compare passed in token string stored on server in server code. if match, bingo! have access run method. if don't, error.

a potential problem above approach try decompile apk, token stored in pain text inside android code, , make calls api.

i reading parse.com potentially has problem, special token can decompiled in apk. solve problem offering acl's (access control lists).

but want use google cloud endpoints , not parse. right now, limitation of having have google account annoying... there way around people have found?

build api accept applications signed specific key.

i believe sample showed how implemented https://cloud.google.com/cloud/samples/mbs not viable link there various mirrors on internet


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -