TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why do web APIs tend to use pre-shared keys for client auth instead of pubkeys?

2 pointsby zhxshenover 2 years ago

1 comment

jqpabc123over 2 years ago
Why don&#x27;t APIs support IP address authentication?<p>For APIs focused on server based apps, this should work as well as anything else.<p>It&#x27;s not possible to duplicate an IP --- the communication gets broken. If the server gets compromised --- well, any pre-shared keys are likewise compromised so the result is the same.<p>There are a few services that support this but not very many.