Home
/
Guides
/
Admin
/
File download disabling

File download disabling

For security and compliance purposes, Coder site managers may choose to disable the downloading of files from Coder's built-in IDEs:

File actions download option

To do so, update your deployment's workspace template policy to include the following definition:

kubernetes:
    env:
        policy: append
        value:
        - key: "CS_DISABLE_FILE_DOWNLOADS"
            # To enable, set to "true" or "1"
            value: "true"

This change will take effect after the user rebuilds their workspaces.

See an opportunity to improve our docs? Make an edit.