필터 지우기
필터 지우기

How to get the time between two key presses on keyboard while typing?

조회 수: 4 (최근 30일)
Mehran Mustafa
Mehran Mustafa 2017년 10월 25일
댓글: Walter Roberson 2017년 10월 25일
I am trying to develop a program to get the keystroke dynamics data from different users. My objective is to record the the total time to write a word, the time between two key presses, and the time between the press and release of a key. I do not know if this can be done via MATLAB. Can anyone please point me in the right direction?

답변 (2개)

Jan
Jan 2017년 10월 25일
Di you want to record this during the user types in an uicontrol - edit field? Or do you want to scan the keys while other programs are active? The later would be a keyboard sniffer and such programs are used for illegal attacks usually. Therefore I will not support a solution.
Note that such data are specific for persons and that you can recognize somebody, while he is using an anonymous internet access point. Microsoft was accused to run such recordings in the beta versions of Win10. In the official releases this feature should have been removed.
  댓글 수: 2
Mehran Mustafa
Mehran Mustafa 2017년 10월 25일
Thank you for your concern, but I am not looking to scan the keys. I am gathering timing data of a user from the keyboard. All I need to record is the time it takes for a particular user to press and release a key, the time between releasing first key and pressing the second key. This is keystroke dynamics biometric and is being used for securing passwords. This is a project I'm doing for Neural Network. I can do the ANN part, but gathering these parameters is a problem.
Walter Roberson
Walter Roberson 2017년 10월 25일
Some of the volunteers are reluctant to work on biometrics routines, because of various commercial and human rights abuses.
There was a paper last year (I think it was) that showed that given roughly 4 easily found but not personally-identifying pieces of information about a person (for example, which suburb they lived in), and ability to time key responses, that individuals could be tracked with a better than 95% success rate, even if they were blocking cookies and blocking javascript.
For example if a dissident is posting anonymously from a library and the dissident's key timings can be measured, and the dissident also posts (for example) Amazon reviews publicly (going about normal every day life) and the key timings for those can be measured, then the timings and very general location can be matched to identify the individual.
I summarize this by saying that if you write a biometrics program that works, then the program will be used for human rights abuses (unless something better is already available), and so the only way to avoid having your biometrics program used for human rights abuses is to deliberately make be a bad program.

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2017년 10월 25일

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by