You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say, your mod is for isolation admin from guests. Leaving aside all magnificent features like nodes, checkpoint, lora and workflow isolation I can dream on about, there's one feature that should be rather simple to implement. Isolate input\output\temp folders.
The idea is simple: admin can use <ComfyUI>\input, <ComfyUI>\output and <ComfyUI>\temp the usual way. For each guest a set of folders with their session_id is created, and all files are put into this folders.
Why? Despite giving some sort of isolation, guest mode, in fact, does not isolate user space. So, one can access any input or output file with raw request. But this sort of access is limited by built-in toolset in folder_path.py. And it doesn't need much changes for rather high level of privacy.
Of course, there will still be many flaws and holes like VHS Load Path, but it is rather solid starting point.
The text was updated successfully, but these errors were encountered:
With that being said, it's possible to override every other path. And to use symlinks to give access to needed files. Still, rather big list of changes for now, better take one step at the time.
Hey!
Let's say, your mod is for isolation admin from guests. Leaving aside all magnificent features like nodes, checkpoint, lora and workflow isolation I can dream on about, there's one feature that should be rather simple to implement. Isolate input\output\temp folders.
The idea is simple: admin can use
<ComfyUI>\input
,<ComfyUI>\output
and<ComfyUI>\temp
the usual way. For each guest a set of folders with their session_id is created, and all files are put into this folders.Why? Despite giving some sort of isolation, guest mode, in fact, does not isolate user space. So, one can access any input or output file with raw request. But this sort of access is limited by built-in toolset in
folder_path.py
. And it doesn't need much changes for rather high level of privacy.Of course, there will still be many flaws and holes like
VHS Load Path
, but it is rather solid starting point.The text was updated successfully, but these errors were encountered: