This application discloses a
USB-KEY device and
authentication method, relating to the field of
information security technology. The
USB-KEY device is configured to: trigger a pop-up prompt window on the
client when inserted into the
client's
USB port; after receiving a user confirmation command, cause the
client to load and run a permission
verification and registration program; the permission
verification and registration program is configured to read the user ID specified by the USB-KEY and send it to the
server for
verification; after successful verification on the
server, cause the client to refresh the first page to a second page within the same
web application, the second page additionally displaying the USB-KEY permission verification menu function; and during periodic
polling, if the
server does not continue to grant permissions, cause the client to
restrict the use of relevant menu functions and output a prompt to try again after permission verification. Using the USB-KEY device and
authentication method provided in this application can simplify the client installation and maintenance process, optimize user experience, and reduce hardware and maintenance costs.