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
MaartenBreddels
What would you like to do? We do not implement the whole protocol, only enough to support the comm messages (for the widgets).
dguerrero
dguerreroOP3w ago
I would like to make sure that nobody can access to the kernel through the client, as a security measure
MaartenBreddels
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?
Monty Python
Monty Python2w ago
solara/server/server.py line 188
def process_kernel_messages(kernel: Kernel, msg: Dict) -> bool:
def process_kernel_messages(kernel: Kernel, msg: Dict) -> bool:
Want results from more Discord servers?
Add your server