I need to identify a user to validate some reports.
The idea is:
User clicks a button and at this time I check if it has the credentials that will be a USB token.
It does not have to be at the eCPF or eCNPJ level, it's a simple check to see if the user is physically tokened.
I will not use digital certificate first because the guy would have to buy the certificate and perhaps install it on the machine, and how it is about remote and lay users is out of the question.
Just a simple check of a USB device that was previously configured in the array
How to access a USB device via javascript with the clear permission of the user, I would open a screen to select the signature, but I have to detect if part of a USB, this is the critical part, I thought if it would be possible get the USB serial, and compare if it is registered in the base of the matrix.
Any ideas would be welcome.