disable user

Hi
is it possible to use, and how, the parameters $CLIENT_IP$ and (or) $CONNECTION_ID$ to disconnect a user?
I need this to periodically disconnect a specific user from the device

#2

You can only disconnect a user programmatically via the client API https://www.virtualhere.com/client_api

So run the client call

GET CLIENT STATE

Its ok if you run the client and the server on the same machine in order to do this entirely from the server

then parse that to get the state of the system then just call STOP USING,<address>

that will disconnect the other user from the device

#3

both the client api to specify a password for the client certificate?

#4

No, you cant do that from the API, you must use a client certificate that doesn't have a password.

#5

It would be good to implement authorization in new versions of VirtualHere USB Server when the client connects to the server for the first time, that is, even before the device is displayed on the client.

#6

Its already supported, the only way to do that is to run the client as a GUI and have a client certificate with a password. https://www.virtualhere.com/ssl_setup

#7

yes, I use the SSL password, but as you wrote above, this does not work with api