PHP的Web应用程序指纹验证 [英] Fingerprint authentication for php web app

查看:1543
本文介绍了PHP的Web应用程序指纹验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要实现一个PHP应用程序的认证,但使用指纹作为凭证的一部分。

I need to implement authentication in a php app but using fingerprint as part of credentials.

所以,真诚的我有点丢在这里。

So, sincerely I'm kind of lost here.

1)我需要的产品(阅读器)的JavaScript SDK?我见过一些使用ActiveX,但显然这只是工作的IE浏览器。我要在这里一个跨浏览器的解决方案。

1) Do I need a product (reader) with javascript SDK? I've seen some using ActiveX but obviously this will work just for IE. I would like a cross-browser solution here.

2)在服务器端,我想我会在本机调用一些C / C ++ / Java的库从我的PHP code。是不是?

2) On server side, I suppose I'll natively call some C/C++/Java libs from my php code. Is it right?

正如你所看到的,任何纸张/方向,你可以给我将AP preciated。

As you can see, any paper/orientation you could give me would be appreciated.

推荐答案

Jaison,你不能这样做和PHP不要在同一个句子的归属。

Jaison, "you cannot do it" and "PHP" don't belong in the same sentence.

Berserkpi,你的可以的PHP中做到这一点,而只是它的一部分。我不知道的硬件,但我可以概括项目的参数。

Berserkpi, you can do this in PHP, but only parts of it. I don't know about the hardware but I can generalize the parameters of your project.

中药指纹图谱是要一定要在某种客户端机器来完成。这意味着接通了类似的计算机,可能是通过一个USB或其他串行连接的指纹读取装置。

Fingerprinting is going to have to be done on some sort of client machine. That means a fingerprint-reading device hooked up to something like a computer, probably through a USB or other serial connection.

我不能告诉你,指纹是怎么回事工作,但你需要得到提交您的指纹进行身份验证的计算机上运行的程序。这些指纹将被发送到服务器,可能通过一个POST请求,你已经建立了一个PHP API。这将是最困难的部分。

I can't tell you how that fingerprinting is going to work, but you'll need to get a program running on the machine that submits your fingerprints for authentication. Those fingerprints are going to be sent to a server, probably through a POST request and a PHP API you've set up. This is going to be the toughest part.

艰难的部分是你需要这些版画是一致的 - 瓦特/ Web应用程序你不使用密码获取该种看起来像你的密码;或者用户可以认证或密码被拒绝。指纹,可能不是这种情况。

The tough part is that you need those prints to be consistant -- w/web apps you don't get in with a password that kinds of looks like your password; either the user can be authenticated or the password is rejected. With fingerprints that may not be the case.

不管是什么,只要它是一致的,你可以或多或少认为它像一个MD5哈希值。你匹配它您在数据库中存储哈希版本,如果它匹配您生成令牌(可能是另一个MD5)哈希是好的一个小时左右验证了她。

Whatever it is, so long as it's consistant you can consider it more or less like an MD5 hash. You match it against a hashed version you store in your database and if it matches you authenticate her by generating a token (maybe another MD5) hash that is good for an hour or so.

这篇关于PHP的Web应用程序指纹验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆