serial-port-json-server icon indicating copy to clipboard operation
serial-port-json-server copied to clipboard

Serial-port-json-server password protection?

Open feistjo opened this issue 6 years ago • 1 comments

Is there a way to implement security for the server? I need it to only be accessable with a password, as my WiFi network is not secure (I am doing this at a university).

feistjo avatar Jun 21 '18 16:06 feistjo

You'd have to perhaps do something like IP address filtering at your network level on your computer to limit it. The notion is that you'd solve authentication at a router/firewall layer instead of in SPJS. You could possibly add a command line switch and pass in an IP address filter list too. You could possibly also change the websocket URL from the /ws to some kind of password like path but you'd have to do that as a command line switch too. Changing all the UI out there to support password would be hard.

On Thu, Jun 21, 2018 at 9:08 AM feistjo [email protected] wrote:

Is there a way to implement security for the server? I need it to only be accessable with a password, as my WiFi network is not secure (I am doing this at a university).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/serial-port-json-server/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbYN1hljn_frVJCDNhHWeNhzObBr5ks5t-8UWgaJpZM4UyXO0 .

chilipeppr avatar Jun 21 '18 19:06 chilipeppr