Hacker News new | ask | show | jobs
by JimDabell 1388 days ago
URLs are logged in all kinds of places, they end up everywhere. Authorization headers are not.
1 comments

that's a good point, although it wouldn't make a difference from the outside perspective.

it is however much easier to serve static content than evaluating headers. the benefit of significantly increased compatibility in how you can serve the content probably outweighs the risk of logging the secret in many cases, as static content serving is compatible with virtually anything, adding additional logic to be evaluated at runtime through other means than URL contents is not as widely supported.