is there a way for an user to communicate with the kernel through the client?
I'm just wondering if that's possible, because I remember I could do something like that when I used voila...
4 Replies
What would you like to do? We do not implement the whole protocol, only enough to support the comm messages (for the widgets).
I would like to make sure that nobody can access to the kernel through the client, as a security measure
Maybe the code is explaining more: https://github.com/widgetti/solara/blob/76195fdb3ecfb1d566e3d820be96818724172b9e/solara/server/server.py#L188
You can see that only comm_open/msg/close, comm_info_request, shutdown_request and kernel_info_request are supported in our virtual kernel. That means no remote execution is possible, not even via misconfiguration.
Does that answer you question?
solara/server/server.py
line 188