is it possible to create a USB 2FA in php?
I was wondering if it is possible to create a usb 2FA in php? Or is it even possible to detect usb devices in php?
It's possible only for the server where PHP is launched, but you should specify platform and technical details of your task. If we talk about Linux OS, you can scan /dev/sdX devices, mount them and read the data. The same logic for other OS.