Restrict to folder
hi, is there any chance to restrict code-server to a specific folder ? Users can open root via Url parameter.
11 Replies
<#1326106946821951488>
Category
Help needed
Product
code-server
Platform
N/A
Logs
Please post any relevant logs/error messages.
What operating system are you running code-server on?
hey @support - osr - plastic, you can't really do that but your best bet would be to run
code-server
as a user that can only access specific foldersright, thank you; any chance to pass a VFS / FS implementation instead ? not quite sure about the overhead to maintain such 'hack'.
not really no
the separate user isn't going be a hard thing to maintain honestly
right, thank you - will try anyway, i guess monkey patching node:fs and related could do
while you could do that, i'm wondering what your broader goal is?
making code-server suitable for a broader audience 🙂
just learned about vs code extension remote workspaces, seems to do the job but yet ...
I'd need all the rings and bells, extensions, file managment, ... I am aware about Monaco, since day one
thanks, will keep digging 🙂
sounds good, closing this issue but feel free to ask any questions
@Phorcys closed the thread.