billhsu / jUART

Cross platform browser plugin for serial port communication from JavaScript
202 stars 76 forks source link

JUart and security #22

Open Gregwar opened 9 years ago

Gregwar commented 9 years ago

Hello, What about the security? I mean, accessing serial ports is not allowed by js because of the sandboxing, so I think there could be some bad uses of this fearure

Gregwar commented 9 years ago

I'm thinking of a prompt that would require the user to allow js accessing the serial device for instance

gmkarl commented 9 years ago

My experience, with default settings in Safari and Firefox, is that whenever I try to use jUART my browser prompts me itself if I want to allow it.