I have a WEB application running on an internal server, to be accessed only via internal network, through a browser on Ubuntu machines.
My real need is to send a signal to the ports (either parallel, serial or USB) of the computers that are accessing the application through the browser controlled by this WEB application. I think of doing this by sending commands directly from the browser to Linux to run the applications responsible for this interaction with the hardware.
If there is not a direct way to do this, I could create an application that would be reading a database or a TXT file generated by the WEB application and when there was change, take the appropriate measures at the hardware level. >
What would be the best way for me to solve this problem?