Secure Your REST API
stormpath.com
Secure Your REST API
1–10 of 80 posts
Re: Secure Your REST API
#2Re: Secure Your REST API
#3Re: Secure Your REST API
#4Re: Secure Your REST API
#5Please stop using the term UUID when you mean 'random alphanumeric string'. Because UUIDs have a standardized format (it's not just a random string): http://en.wikipedia.org/wiki/Universally_unique_identifier
That being said, I have a few other issues with their wording as well. They should just say "we have a custom HMAC-based authentication scheme for our REST API". Also, it took me about 3 days to realize HMAC over SSL/TLS is about as secure and easy as you can get for most any language -- If you can send HTTP requests, you can probably do HMAC. You can add further safety by making expiring private keys for HMAC and other things, although my use cases are based on long running (weeklong+) batch computations, and not end users. (i.e. initial distribution of an expiring private key for HMAC over SSL, reauthentication schemes, etc...
Re: Secure Your REST API
#6Re: Secure Your REST API
#7Does anyone know of a good reason not to use TLS with client-side certificates (and you as the CA) for API authentication?
Re: Secure Your REST API
#8Re: Secure Your REST API
#9Please stop using the term UUID when you mean 'random alphanumeric string'. Because UUIDs have a standardized format (it's not just a random string): http://en.wikipedia.org/wiki/Universally_unique_identifier
UUID v4 is, in fact, random and "alphanumeric" in the sense that it's hex. That being said, I have a few other issues with their wording as well. They should just say "we have a custom HMAC-based authentication scheme for our REST API". Also, it took me about 3 days to realize HMAC over SSL/TLS is about as secure and easy as you can get for most any language -- If you can send HTTP requests, you can probably do HMAC.…
Re: Secure Your REST API
#10Shoots down Basic auth without SSL, without mentioning Digest auth, weird.