~/talk

Securing Your HTTP API with Hawk

Talkat PHP Tour Luxembourg 2015 · 2015-05-12..05-13· [security, api-design]
links:none on file
slides:none on file

Hawk is an HTTP authentication scheme that adds a message authentication code to sign requests and responses, with client-generated nonce + timestamp replay protection and a clock-skew sync so servers return their time when needed. Implementations exist for PHP, Node, Objective‑C and more; optional payload hashing and a pre-signed "buit" URL for GET/HEAD are supported. Keys must be available in plaintext for HMAC, host header and reverse‑proxy setups need care, and there is no formal spec—reference implementations serve as the de facto protocol.

AI-written summary · about

  1. 0:00Introduction to Hawk
  2. 0:39Authentication challenges
  3. 3:35Securing requests and responses
  4. 6:58Alternative solutions
  5. 9:01Origins and implementations
  6. 12:26Authentication vs authorization
  7. 13:28Handling replay attacks
  8. 17:29The Hawk protocol mechanics
  9. 21:48Payload and response validation
  10. 25:01Single-use URI authorization
  11. 29:23Practical considerations
  12. 33:10Review and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.