Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HMAC Authentication REST digest = base 6 4 encode ( hmac ( sha 2 5 6 , secret, GET + / users /

HMAC Authentication REST
digest = base64encode(hmac("sha256", "secret",
"GET+/users/username/account"))
GET/users/username/account HTTP/1.1
Host:
example.org
Authentication: hmac username:[digest]
Which of the following statements about the snippet above is/are false?
Pick ONE OR MORE options
It is the most secure way to transmit credentials in HTTP headers for authentication and authorization in
REST API's when using GET.
A hacker listening for the above request will never be able to use the credentials to access any other
resource on the server.
The request can be made more secure by adding the 'Nonce' and 'Date' fields to the digest string.
Using the user's password instead of the text 'secret' will make the request more secure.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions