Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

access control for restricting mobile device use only #27

Open
tenmalin opened this issue Apr 8, 2015 · 0 comments
Open

access control for restricting mobile device use only #27

tenmalin opened this issue Apr 8, 2015 · 0 comments

Comments

@tenmalin
Copy link
Collaborator

tenmalin commented Apr 8, 2015

For messaging service scripts, we could use an additional authentication mechanism for the server to identify legitimate mobile devices which have been installed apps. The authentication should be lightweight and compatible with old version of app users.

A easy way to implement this authentication mechanism is installing pre-shared secret key S for distributed apps. Device will generate a random nonce N (16 bytes or 32 bytes), and sign N with S to produce access token T, sending along with request for verification. The server can easily verify this message with minimal computation, only 1 MAC operation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants