TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 zhxshen超过 2 年前

1 comment

jqpabc123超过 2 年前
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.