How to remove/disable download button on code server? #5886
-
For data security, my organization requires to prohibit downloading files from server. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I was surprised we don't have notes in the docs on this. Apologies! Here are the docs for that: --disable-file-downloads Disable file downloads from Code. This can also be set with CS_DISABLE_FILE_DOWNLOADS set to 'true' or '1'. This is a flag you can pass to |
Beta Was this translation helpful? Give feedback.
-
How can i use it with the docker? |
Beta Was this translation helpful? Give feedback.
-
But its not working here i added in sudo vi /etc/coder.d/coder.env e.g. https://coder.example.comCODER_ACCESS_URL=http://13.21.177.12 and i run this command sudo systemctl daemon-reexec Now if i go for coder and open in code-server and i click any file and click Download option it is downloading . and also it is sending the request like so please tell me how to resolve this if i use code-server or vscode desktop if i click download it need to be give 403 error or it dont need to be download please give me the solution. |
Beta Was this translation helpful? Give feedback.
I was surprised we don't have notes in the docs on this. Apologies! Here are the docs for that:
This is a flag you can pass to
code-server
on startup.