Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

281
Visualizações
Disable download capability in Jupyterhub

I am new to setting up a Jupyterhub. We followed the documentation to install jupyterhub in kubernetes via helm. I have been reading that there is no feature in jupyterhub to disable the feature of download files in jupyternotebooks launched. I saw in some forums that this is possible via nginx to route all "/files" to a blackhole. However, it did not work. Below is my configuration.

helm config.yaml

ingress:
  enabled: true
  host:
    - myhost.example.com

k8 Service.yaml

apiVersion: v1
kind: Service
metadata:
  name: default-http-backend
spec:
  selector:
    app: default-http-backend
  ports:
    - protocol: TCP
      port: 80

K8 ingress

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: jupyterhub-ingress
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/use-regex: "true"

spec:
  rules:
    - host: myhost.example.com
      http:
        paths:
          - path: /user/(*.)/files/
            backend:
              serviceName: default-http-backend
              servicePort: 80
          - path: /
            backend:
              serviceName: proxy-public
              servicePort: 80
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Since v3.1.0 you can disable downloads using a jupyter labextension:

# disable downloads from File > Download
jupyter labextension disable @jupyterlab/docmanager-extension:download
# disable downloads from the context menu in the file browser
jupyter labextension disable @jupyterlab/filebrowser-extension:download

original github issue: https://github.com/jupyterlab/jupyterlab/issues/5274

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda