1
vote
1answer
561 views

Authenticating Users from Android with PHP Webservice

Im creating a simple Android Application,which requires reading and writing values to the cloud.I intent to use PHP for the webservice. But im little confused over the authentication scheme.I intent ...
5
votes
3answers
380 views

Are 500 responses or specific error codes more secure for REST services?

I am building a REST API to store security sensitive data for both my client and third-party partners. Each request is validated using an HMAC of certain data which is keyed on a temporary key ...
3
votes
3answers
985 views

HMAC What is secure manner to distribute shared secret between client and server?

I am looking at ways to secure http communication using HMAC. My understanding is that in this scenario the client and the server both know a secret. This means the secret must be first generated on ...
7
votes
2answers
352 views

An adequate message authentication code for REST

My REST service currently uses SCRAM authentication to issue tokens for callers and users. Tokens issued by the SCRAM exchange have an expiry time after which a repeated sign-in is required. We also ...