您将如何实现匿名身份验证?

发布于 2025-01-03 23:37:34 字数 163 浏览 1 评论 0原文

我正在构建一个基于网络的应用程序,以安全、隐私和匿名为中心。该应用程序的关键原则之一是用户可以匿名存储敏感数据。

因此,我希望完全外包系统身份验证,最好使用 OAuth 或 OpenID。

这可能吗?我想避免在我这边存储电子邮件地址或任何其他类型的用户识别信息。

I'm building a web-based app centered around security, privacy, and anonymity. One of the key principals of the app is that users can store sensitive data anonymously.

As a result, I expect to outsource system authentication entirely, preferably using OAuth or OpenID.

Is this even possible? I'd like to avoid storing email addresses or any other kind of user-identifying information on my side.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏日落 2025-01-10 23:37:34

几年前,我的一个朋友正在研究这个问题。他的想法是将电子邮件地址和拇指或指纹散列成一个独特的图像(生物识别数据只是一串比特流,理论上与“123456”等人工输入密码相比是相当独特的)。

然后,该图像可以使用他们自己的密码或 Bitlocker 存储在该人的设备上,甚至可以打印出来并物理锁定。当向网络摄像头显示或上传时,图像将成为关键,有点像二维码的反转。

当然,图像创建将是潜在的跟踪点。但如果这完全是在内存中完成的,或者是使用免费且广泛分布的密钥生成工具完成的,那么您可能会受到一些法律保护,以免被迫透露原始用户的数据或身份。
(这一切都掩盖了广泛使用生物识别扫描仪和安全连接的需要)

编辑:

生物识别数据流每次采集时都略有不同。如果按原样散列这样的流,则不存在“密码恢复”,它可能永远不会相同。大多数降维都会使其安全性大大降低,并且仍然可能留下无法复制的机会。

A friend of mine was working on this a few years ago. His idea was to hash an email address and a thumb or fingerprint into a unique image (biometric data is just a stream of bits, and in theory a fairly unique one compared to a human-input password like "123456").

That image could then be stored on that person's devices using their own password or bitlocker, or even printed out and locked away physically. The image would be the key when shown to a webcam or uploaded, sort of a reversal of QR codes.

Of course, the image-creation would be the potential tracking point. But if that was done entirely in memory or with a free and widely-distributed key generation tool then you would probably have some legal-protection from being compelled to reveal original users' data or identities.
(this all glosses over the need for wide use of biometric scanners and secure connections all around)

Edit:

Biometric data streams are slightly different each time they're taken. There is no "password recovery" if you hash a stream like this as-is, it will likely never be the same. Most dimensionality-reduction would make it far less secure, and might still leave a chance that it couldn't be reproduced.

霊感 2025-01-10 23:37:34

首先,OAuth 是一个完全不同的东西,独立于您的项目范围。

我想这取决于你对“匿名”的定义。如果您使用 OpenID,您将保存用户的 OpenID URL。换句话说,您的系统将与用户的 OpenID 一样匿名。

本质上更匿名的解决方案可能是简单地让用户输入任意字符串来识别自己的身份。返回的用户只需再次输入相同的字符串即可。如果您想显示用户的“身份”,您可以通过哈希函数运行该字符串。无需注册(与 4chan 的安全旅行代码不同)。

To begin with, OAuth is a completely different thing, separate from your project's scope.

I guess it depends on your definition of "anonymous". If you use OpenID, you would be saving your users' OpenID URLs. In other words, your system would be precisely as anonymous as your users' OpenIDs.

A more intrinsically anonymous solution might be to simply let your users enter an arbitrary string to identify themselves. Returning users would simply type in that same string again. If you want to display a user's "identity", you could run that string through a hash function. No registration required (and not unlike 4chan's secure tripcodes).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文