Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

280
Views
Deshabilitar la capacidad de descarga en Jupyterhub

Soy nuevo en la configuración de un Jupyterhub. Seguimos la documentación para instalar jupyterhub en kubernetes a través de helm. He estado leyendo que no hay ninguna función en jupyterhub para deshabilitar la función de descargar archivos en jupyternonotebooks lanzados. Vi en algunos foros que esto es posible a través de nginx para enrutar todos los "/archivos" a un agujero negro. Sin embargo, no funcionó. A continuación se muestra mi configuración.

timón config.yaml

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

servicio k8.yaml

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

entrada K8

 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 answers
Answer question

0

Desde v3.1.0, puede deshabilitar las descargas usando una extensión de jupyter lab:

 # 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

problema original de github: https://github.com/jupyterlab/jupyterlab/issues/5274

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!