Coder Social home page Coder Social logo

Comments (6)

fschulze avatar fschulze commented on May 24, 2024 1

@chrishas35 I created devpi-lockdown.

from devpi.

devpi-bot avatar devpi-bot commented on May 24, 2024

Original comment by @hpk42

ASFAIK pip/easy_install only support authentication by specifying username/password encoded into the URL. It's probably not very hard to support that. The idea would be to add ACLs to indexes, i.e. allowing certain users READ, WRITE, or READ/WRITE access. We could then pass auth information to the pip command that "devpi install" generates.

from devpi.

devpi-bot avatar devpi-bot commented on May 24, 2024

Original comment by pendletongp

Is this feature on the radar?

from devpi.

devpi-bot avatar devpi-bot commented on May 24, 2024

Original comment by @fschulze

There is experimental support for basic authentication in devpi-client by using a web server like nginx in front of the devpi-server instance. For now those credentials aren't shared with devpi-server though. There are still some issues like https://bitbucket.org/hpk42/devpi/issue/135/basic-auth-doesnt-work-with-https-if-no and https://bitbucket.org/hpk42/devpi/issue/75/use-x-devpi-auth-header-instead-of#comment-11450541

An alternative is the experimental support for client side certificates: https://bitbucket.org/hpk42/devpi/issue/74/add-option-to-devpi-client-to-send-ssl

from devpi.

devpi-bot avatar devpi-bot commented on May 24, 2024

Original comment by pendletongp

If it is assumed that a server sits in front of devpi, a wsgi authentication module could be used.

For nginx see wsgi_pass_authorization at http://wiki.nginx.org/NgxWSGIModule

For apache see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/apache-auth/#authentication-with-mod-wsgi (didn't see this well documented in the apache docs so I linked to the django docs)

It would probably be fairly simple to implement read access for owner only now

from devpi.

fschulze avatar fschulze commented on May 24, 2024

Besides devpi-lockdown we don't intend to add further support for this feature.

from devpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.