zerohero has asked for the wisdom of the Perl Monks concerning the following question:

I would like to use the "mini CPAN" approach to deployment for private packages. That is, to have modules which are for clients hosted on a machine on the internet that is running mini CPAN. Is there an easy way to have authentication employed? e.g. Some way to authenticate and then have cpan> download the private client packages over HTTPS, and then continue downloading the "normal" public perl modules from a public CPAN site.

The optimal setup would be to do "install Bundle::ClientApp", and then have cpan find the private packages on my site, and the public packages on one of the normal CPAN mirrors.

Replies are listed 'Best First'.
Re: Authenticated MiniCPAN?
by jasonk (Parson) on Feb 20, 2009 at 03:08 UTC

    If you just protect the repository with regular old Basic (htaccess) authentication, you could specify a username and password as part of the URL for CPAN, such as https://username:password@example.com/CPAN


    www.jasonkohles.com
    We're not surrounded, we're in a target-rich environment!