August 2013
Intermediate to advanced
360 pages
10h 47m
English
Consider a pay-for web service such as Amazon’s S3 storage service. This service needs to authenticate
requests to store and retrieve data so that only the paying clients have access to the service and that, moreover,
a particular client has privileged access to its paid-for storage. In the RESTful version of S3, Amazon uses a customization
of keyed HMAC to authenticate client requests. Amazon allows the authentication
credential to be in either the query string (which is part of the HTTP headers) or in another header key/value pair
with Authorization as the key. In either case, the basic approach is the same:
Read now
Unlock full access